Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 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/includes/class-wp-comments-list-table.php

    r47088 r47122  
    101101            $number = (int) $_REQUEST['number'];
    102102        } else {
    103             $number = $comments_per_page + min( 8, $comments_per_page ); // Grab a few extra
     103            $number = $comments_per_page + min( 8, $comments_per_page ); // Grab a few extra.
    104104        }
    105105
     
    223223                'All <span class="count">(%s)</span>',
    224224                'comments'
    225             ), // singular not used
     225            ), // Singular not used.
    226226
    227227            /* translators: %s: Number of comments. */
     
    747747            ( ( ( 'approve' === $action || 'unapprove' === $action ) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | ';
    748748
    749             // Reply and quickedit need a hide-if-no-js span when not added with ajax
     749            // Reply and quickedit need a hide-if-no-js span when not added with ajax.
    750750            if ( ( 'reply' === $action || 'quickedit' === $action ) && ! wp_doing_ajax() ) {
    751751                $action .= ' hide-if-no-js';
Note: See TracChangeset for help on using the changeset viewer.