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-list-table.php

    r47058 r47122  
    452452             * @param string[] $actions An array of the available bulk actions.
    453453             */
    454             $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
     454            $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    455455            $two            = '';
    456456        } else {
     
    10051005        $default = $this->get_default_primary_column_name();
    10061006
    1007         // If the primary column doesn't exist fall back to the
    1008         // first non-checkbox column.
     1007        // If the primary column doesn't exist,
     1008        // fall back to the first non-checkbox column.
    10091009        if ( ! isset( $columns[ $default ] ) ) {
    10101010            $default = WP_List_Table::get_default_primary_column_name();
     
    10361036     */
    10371037    protected function get_column_info() {
    1038         // $_column_headers is already set / cached
     1038        // $_column_headers is already set / cached.
    10391039        if ( isset( $this->_column_headers ) && is_array( $this->_column_headers ) ) {
    10401040            // Back-compat for list tables that have been manually setting $_column_headers for horse reasons.
Note: See TracChangeset for help on using the changeset viewer.