Make WP_List_Table::get_primary_column_name()
public in list table classes that have it.
Fixes #33854. git-svn-id: https://develop.svn.wordpress.org/trunk@34101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5d0bc76040
commit
5a93988ca3
@ -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();
|
||||
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user