Docs: Add missing @since tags for WP_Upgrader_Skin methods.

See #51800.
Built from https://develop.svn.wordpress.org/trunk@49675


git-svn-id: http://core.svn.wordpress.org/trunk@49398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-11-21 12:08:05 +00:00
parent 7ded4af960
commit 5ab5b3e73b
4 changed files with 19 additions and 8 deletions

View File

@ -65,7 +65,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
*
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error.
* @param WP_Error $wp_error WP_Error object.
* @return bool
*/
public function hide_process_failed( $wp_error ) {
@ -325,8 +325,8 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
);
/**
* Filters the list of action links available following a single plugin installation
* failure when overwriting is allowed.
* Filters the list of action links available following a single plugin installation failure
* when overwriting is allowed.
*
* @since 5.5.0
*

View File

@ -65,7 +65,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
*
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error.
* @param WP_Error $wp_error WP_Error object.
* @return bool
*/
public function hide_process_failed( $wp_error ) {
@ -360,8 +360,8 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
);
/**
* Filters the list of action links available following a single theme installation
* failure when overwriting is allowed.
* Filters the list of action links available following a single theme installation failure
* when overwriting is allowed.
*
* @since 5.5.0
*

View File

@ -81,6 +81,8 @@ class WP_Upgrader_Skin {
}
/**
* @since 2.8.0
*
* @param WP_Upgrader $upgrader
*/
public function set_upgrader( &$upgrader ) {
@ -91,6 +93,7 @@ class WP_Upgrader_Skin {
}
/**
* @since 3.0.0
*/
public function add_strings() {
}
@ -137,6 +140,7 @@ class WP_Upgrader_Skin {
}
/**
* @since 2.8.0
*/
public function header() {
if ( $this->done_header ) {
@ -148,6 +152,7 @@ class WP_Upgrader_Skin {
}
/**
* @since 2.8.0
*/
public function footer() {
if ( $this->done_footer ) {
@ -158,6 +163,8 @@ class WP_Upgrader_Skin {
}
/**
* @since 2.8.0
*
* @param string|WP_Error $errors
*/
public function error( $errors ) {
@ -178,6 +185,8 @@ class WP_Upgrader_Skin {
}
/**
* @since 2.8.0
*
* @param string $string
* @param mixed ...$args Optional text replacements.
*/
@ -244,10 +253,12 @@ class WP_Upgrader_Skin {
}
/**
* @since 3.0.0
*/
public function bulk_header() {}
/**
* @since 3.0.0
*/
public function bulk_footer() {}
@ -256,7 +267,7 @@ class WP_Upgrader_Skin {
*
* @since 5.5.0
*
* @param WP_Error $wp_error WP_Error
* @param WP_Error $wp_error WP_Error object.
* @return bool
*/
public function hide_process_failed( $wp_error ) {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49674';
$wp_version = '5.7-alpha-49675';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.