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

Fixes #33854.


git-svn-id: https://develop.svn.wordpress.org/trunk@34128 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-09-14 20:28:29 +00:00
parent ea610e66d4
commit ab7ca361dd
3 changed files with 7 additions and 3 deletions

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'.
*/
public function get_primary_column_name() {
protected function get_primary_column_name() {
return 'name';
}
}