Docs: Clarify the ::hide_process_failed() return value in plugin and theme installer.

Follow-up to [48390].

Props sakibmd, jrf, patelmohip, akmelias.
Fixes #57680.

git-svn-id: https://develop.svn.wordpress.org/trunk@55595 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-03-27 15:09:09 +00:00
parent 6b7504f2ae
commit 36e994b88c
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error object.
* @return bool
* @return bool True if the error should be hidden, false otherwise.
*/
public function hide_process_failed( $wp_error ) {
if (

View File

@ -66,7 +66,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error object.
* @return bool
* @return bool True if the error should be hidden, false otherwise.
*/
public function hide_process_failed( $wp_error ) {
if (

View File

@ -270,7 +270,7 @@ class WP_Upgrader_Skin {
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error object.
* @return bool
* @return bool True if the error should be hidden, false otherwise.
*/
public function hide_process_failed( $wp_error ) {
return false;