mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add missing parameter descriptions to the PHPDocs for WP_Upgrader_Skin::decrement_update_count() and Bulk_Upgrader_Skin::decrement_update_count().
See #27700. git-svn-id: https://develop.svn.wordpress.org/trunk@27996 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user