mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01: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. Built from https://develop.svn.wordpress.org/trunk@55595 git-svn-id: http://core.svn.wordpress.org/trunk@55107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7ef3ffdd3
commit
79d6ac7fd7
@ -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;
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55594';
|
||||
$wp_version = '6.3-alpha-55595';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user