Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r45926 r47122  
    9494auth_redirect();
    9595
    96 // Schedule trash collection
     96// Schedule trash collection.
    9797if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) {
    9898    wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' );
    9999}
    100100
    101 // Schedule Transient cleanup.
     101// Schedule transient cleanup.
    102102if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
    103103    wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
     
    183183        // Back-compat for plugins using add_management_page().
    184184        if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook( $plugin_page, 'tools.php' ) ) {
    185             // There could be plugin specific params on the URL, so we need the whole query string
     185            // There could be plugin specific params on the URL, so we need the whole query string.
    186186            if ( ! empty( $_SERVER['QUERY_STRING'] ) ) {
    187187                $query_string = $_SERVER['QUERY_STRING'];
     
    348348    include( ABSPATH . 'wp-admin/admin-footer.php' );
    349349
    350     // Make sure rules are flushed
     350    // Make sure rules are flushed.
    351351    flush_rewrite_rules( false );
    352352
Note: See TracChangeset for help on using the changeset viewer.