From 06f6f249bcdc4d68c790dccbaf067f8220920e60 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Jul 2017 13:34:07 +0000 Subject: [PATCH] Docs: Add `@access` entries for `WP_Upgrader_Skin::set_upgrader()`, `::request_filesystem_credentials()`, and `::decrement_update_count()`. See #41383. git-svn-id: https://develop.svn.wordpress.org/trunk@41108 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader-skin.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/includes/class-wp-upgrader-skin.php b/src/wp-admin/includes/class-wp-upgrader-skin.php index 0a095c38c1..f3e44bf601 100644 --- a/src/wp-admin/includes/class-wp-upgrader-skin.php +++ b/src/wp-admin/includes/class-wp-upgrader-skin.php @@ -40,6 +40,8 @@ class WP_Upgrader_Skin { } /** + * @access public + * * @param WP_Upgrader $upgrader */ public function set_upgrader(&$upgrader) { @@ -72,6 +74,7 @@ class WP_Upgrader_Skin { * * @since 2.8.0 * @since 4.6.0 The `$context` parameter default changed from `false` to an empty string. + * @access public * * @see request_filesystem_credentials() * @@ -176,6 +179,7 @@ class WP_Upgrader_Skin { * Output JavaScript that calls function to decrement the update counts. * * @since 3.9.0 + * @access protected * * @param string $type Type of update count to decrement. Likely values include 'plugin', * 'theme', 'translation', etc.