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

Fixes #33854.

Built from https://develop.svn.wordpress.org/trunk@34101


git-svn-id: http://core.svn.wordpress.org/trunk@34069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-14 01:12:25 +00:00
parent 5077d917a3
commit ae6a3aee7f
4 changed files with 4 additions and 4 deletions

View File

@ -896,7 +896,7 @@ class WP_List_Table {
*
* @return string The name of the primary column.
*/
protected function get_primary_column_name() {
public function get_primary_column_name() {
$columns = $this->get_columns();
$default = $this->get_default_primary_column_name();

View File

@ -252,7 +252,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
*
* @return string Unalterable name of the primary column name, in this case, 'name'.
*/
protected function get_primary_column_name() {
public function get_primary_column_name() {
return 'name';
}

View File

@ -724,7 +724,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
*
* @return string Unalterable name for the primary column, in this case, 'name'.
*/
protected function get_primary_column_name() {
public function get_primary_column_name() {
return 'name';
}
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34100';
$wp_version = '4.4-alpha-34101';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.