From bf75eebfa75e1900f8863114321a5a859d51730c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Apr 2014 20:02:15 +0000 Subject: [PATCH] Add missing parameter descriptions to the PHPDocs for `WP_Upgrader_Skin::decrement_update_count()` and `Bulk_Upgrader_Skin::decrement_update_count()`. See #27700. Built from https://develop.svn.wordpress.org/trunk@27996 git-svn-id: http://core.svn.wordpress.org/trunk@27826 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader-skins.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wp-admin/includes/class-wp-upgrader-skins.php b/wp-admin/includes/class-wp-upgrader-skins.php index def73abbe6..18712c846d 100644 --- a/wp-admin/includes/class-wp-upgrader-skins.php +++ b/wp-admin/includes/class-wp-upgrader-skins.php @@ -96,6 +96,9 @@ class WP_Upgrader_Skin { * Output JavaScript that calls function to decrement the update counts. * * @since 3.9.0 + * + * @param string $type Type of update count to decrement. Likely values include 'plugin', + * 'theme', 'translation', etc. */ protected function decrement_update_count( $type ) { if ( ! $this->result || is_wp_error( $this->result ) || 'up_to_date' === $this->result ) { @@ -276,6 +279,9 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { * Output JavaScript that sends message to parent window to decrement the update counts. * * @since 3.9.0 + * + * @param string $type Type of update count to decrement. Likely values include 'plugin', + * 'theme', 'translation', etc. */ protected function decrement_update_count( $type ) { if ( ! $this->result || is_wp_error( $this->result ) || 'up_to_date' === $this->result ) {