mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-21 00:02:44 +00:00
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:
parent
6b7504f2ae
commit
36e994b88c
@ -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 (
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user