Make WordPress Core

Changeset 48446


Ignore:
Timestamp:
07/12/2020 01:17:51 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections for plugin and theme updates.

See #49572.

Location:
trunk/src/wp-admin/includes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r48445 r48446  
    44674467         * Plugin is already at the latest version.
    44684468         *
    4469          * This may also be the return value If the `update_plugins` site transient is empty,
     4469         * This may also be the return value if the `update_plugins` site transient is empty,
    44704470         * e.g. when you update two plugins in quick succession before the transient repopulates.
    44714471         *
  • trunk/src/wp-admin/includes/class-plugin-installer-skin.php

    r48417 r48446  
    233233
    234234        /**
    235          * Filters the compare table output for overwrite a plugin package on upload.
     235         * Filters the compare table output for overwriting a plugin package on upload.
    236236         *
    237237         * @since 5.5.0
    238238         *
    239          * @param string   $table                The output table with Name, Version, Author, RequiresWP and RequiresPHP info.
    240          * @param array    $current_plugin_data Array with current plugin data.
    241          * @param array    $new_plugin_data      Array with uploaded plugin data.
     239         * @param string $table               The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
     240         * @param array  $current_plugin_data Array with current plugin data.
     241         * @param array  $new_plugin_data     Array with uploaded plugin data.
    242242         */
    243243        echo apply_filters( 'install_plugin_ovewrite_comparison', $table, $current_plugin_data, $this->upgrader->new_plugin_data );
  • trunk/src/wp-admin/includes/class-plugin-upgrader.php

    r48445 r48446  
    248248        wp_clean_plugins_cache( $parsed_args['clear_update_cache'] );
    249249
    250         // Ensure any future auto-update failures trigger a failure email by removing the last
    251         // failure notification from the list when plugins update successfully.
     250        // Ensure any future auto-update failures trigger a failure email by removing
     251        // the last failure notification from the list when plugins update successfully.
    252252        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    253253
     
    380380        remove_filter( 'upgrader_clear_destination', array( $this, 'delete_old_plugin' ) );
    381381
    382         // Ensure any future auto-update failures trigger a failure email by removing the last
    383         // failure notification from the list when plugins update successfully.
     382        // Ensure any future auto-update failures trigger a failure email by removing
     383        // the last failure notification from the list when plugins update successfully.
    384384        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    385385
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r48417 r48446  
    268268
    269269        /**
    270          * Filters the compare table output for overwrite a theme package on upload.
     270         * Filters the compare table output for overwriting a theme package on upload.
    271271         *
    272272         * @since 5.5.0
    273273         *
    274          * @param string   $table               The output table with Name, Version, Author, RequiresWP and RequiresPHP info.
    275          * @param array    $current_theme_data Array with current theme data.
    276          * @param array    $new_theme_data      Array with uploaded theme data.
     274         * @param string $table              The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
     275         * @param array  $current_theme_data Array with current theme data.
     276         * @param array  $new_theme_data     Array with uploaded theme data.
    277277         */
    278278        echo apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $this->upgrader->new_theme_data );
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r48445 r48446  
    353353        wp_clean_themes_cache( $parsed_args['clear_update_cache'] );
    354354
    355         // Ensure any future auto-update failures trigger a failure email by removing the last
    356         // failure notification from the list when themes update successfully.
     355        // Ensure any future auto-update failures trigger a failure email by removing
     356        // the last failure notification from the list when themes update successfully.
    357357        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    358358
     
    489489        remove_filter( 'upgrader_clear_destination', array( $this, 'delete_old_theme' ) );
    490490
    491         // Ensure any future auto-update failures trigger a failure email by removing the last
    492         // failure notification from the list when themes update successfully.
     491        // Ensure any future auto-update failures trigger a failure email by removing
     492        // the last failure notification from the list when themes update successfully.
    493493        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    494494
Note: See TracChangeset for help on using the changeset viewer.