Make WordPress Core


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

Docs: Miscellaneous DocBlock corrections for plugin and theme updates.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.