Make WordPress Core


Ignore:
Timestamp:
09/14/2015 08:28:29 PM (9 years ago)
Author:
wonderboymusic
Message:

In WP_List_Table, make a new public method, ->get_primary_column(), and revert [34101] due to BC issues.

Fixes #33854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r34101 r34128  
    889889    }
    890890
     891    public function get_primary_column() {
     892        return $this->get_primary_column_name();
     893    }
     894
    891895    /**
    892896     * Gets the name of the primary column.
     
    897901     * @return string The name of the primary column.
    898902     */
    899     public function get_primary_column_name() {
     903    protected function get_primary_column_name() {
    900904        $columns = $this->get_columns();
    901905        $default = $this->get_default_primary_column_name();
Note: See TracChangeset for help on using the changeset viewer.