Make WordPress Core

Changeset 34101


Ignore:
Timestamp:
09/14/2015 01:11:44 AM (11 years ago)
Author:
wonderboymusic
Message:

Make WP_List_Table::get_primary_column_name() public in list table classes that have it.

Fixes #33854.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

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

    r34077 r34101  
    897897         * @return string The name of the primary column.
    898898         */
    899         protected function get_primary_column_name() {
     899        public function get_primary_column_name() {
    900900                $columns = $this->get_columns();
    901901                $default = $this->get_default_primary_column_name();
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r33193 r34101  
    253253         * @return string Unalterable name of the primary column name, in this case, 'name'.
    254254         */
    255         protected function get_primary_column_name() {
     255        public function get_primary_column_name() {
    256256                return 'name';
    257257        }
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r33196 r34101  
    725725         * @return string Unalterable name for the primary column, in this case, 'name'.
    726726         */
    727         protected function get_primary_column_name() {
     727        public function get_primary_column_name() {
    728728                return 'name';
    729729        }
Note: See TracChangeset for help on using the changeset viewer.