Make WordPress Core


Ignore:
Timestamp:
07/09/2023 07:50:52 PM (17 months ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r55911 r56174  
    352352        wp_clean_themes_cache( $parsed_args['clear_update_cache'] );
    353353
    354         // Ensure any future auto-update failures trigger a failure email by removing
    355         // the last failure notification from the list when themes update successfully.
     354        /*
     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.
     357         */
    356358        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    357359
     
    493495        remove_filter( 'upgrader_clear_destination', array( $this, 'delete_old_theme' ) );
    494496
    495         // Ensure any future auto-update failures trigger a failure email by removing
    496         // the last failure notification from the list when themes update successfully.
     497        /*
     498         * Ensure any future auto-update failures trigger a failure email by removing
     499         * the last failure notification from the list when themes update successfully.
     500         */
    497501        $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() );
    498502
Note: See TracChangeset for help on using the changeset viewer.