Make WordPress Core


Ignore:
Timestamp:
07/09/2023 08:05:43 PM (3 years 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.

Follow-up to [56174], [56175].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56018 r56176  
    166166
    167167        if ( $parsed_args['checked_ontop'] ) {
    168                 // Post-process $categories rather than adding an exclude to the get_terms() query
    169                 // to keep the query the same across all posts (for any query cache).
     168                /*
     169                 * Post-process $categories rather than adding an exclude to the get_terms() query
     170                 * to keep the query the same across all posts (for any query cache).
     171                 */
    170172                $checked_categories = array();
    171173                $keys               = array_keys( $categories );
    … …  
    13021304        printf( '<div id="%s-sortables" class="meta-box-sortables">', esc_attr( $context ) );
    13031305
    1304         // Grab the ones the user has manually sorted.
    1305         // Pull them out of their previous context/priority and into the one the user chose.
     1306        /*
     1307         * Grab the ones the user has manually sorted.
     1308         * Pull them out of their previous context/priority and into the one the user chose.
     1309         */
    13061310        $sorted = get_user_option( "meta-box-order_$page" );
    13071311
Note: See TracChangeset for help on using the changeset viewer.