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/includes/class-wp-privacy-requests-table.php

    r46662 r47122  
    7474     */
    7575    protected function get_sortable_columns() {
    76         // The initial sorting is by 'Requested' (post_date) and descending.
    77         // With initial sorting, the first click on 'Requested' should be ascending.
    78         // With 'Requester' sorting active, the next click on 'Requested' should be descending.
     76        /*
     77         * The initial sorting is by 'Requested' (post_date) and descending.
     78         * With initial sorting, the first click on 'Requested' should be ascending.
     79         * With 'Requester' sorting active, the next click on 'Requested' should be descending.
     80         */
    7981        $desc_first = isset( $_GET['orderby'] );
    8082
     
    147149        $total_requests = absint( array_sum( (array) $counts ) );
    148150
    149         // Normalized admin URL
     151        // Normalized admin URL.
    150152        $admin_url = $this->get_admin_url();
    151153
Note: See TracChangeset for help on using the changeset viewer.