WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (21 months 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-plugin-install-list-table.php

    r46341 r47122  
    9696        $per_page = 36;
    9797
    98         // These are the tabs which are shown on the page
     98        // These are the tabs which are shown on the page.
    9999        $tabs = array();
    100100
     
    472472            }
    473473
    474             // Display the group heading if there is one
     474            // Display the group heading if there is one.
    475475            if ( isset( $plugin['group'] ) && $plugin['group'] != $group ) {
    476476                if ( isset( $this->groups[ $plugin['group'] ] ) ) {
     
    483483                }
    484484
    485                 // Starting a new group, close off the divs of the last one
     485                // Starting a new group, close off the divs of the last one.
    486486                if ( ! empty( $group ) ) {
    487487                    echo '</div></div>';
     
    489489
    490490                echo '<div class="plugin-group"><h3>' . esc_html( $group_name ) . '</h3>';
    491                 // needs an extra wrapping div for nth-child selectors to work
     491                // Needs an extra wrapping div for nth-child selectors to work.
    492492                echo '<div class="plugin-items">';
    493493
     
    769769        }
    770770
    771         // Close off the group divs of the last one
     771        // Close off the group divs of the last one.
    772772        if ( ! empty( $group ) ) {
    773773            echo '</div></div>';
Note: See TracChangeset for help on using the changeset viewer.