Use screen id instead of base, to be consistent with older filters. See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-11-06 21:49:23 +00:00
parent 94839a3f17
commit 939cb492bb

View File

@ -204,7 +204,7 @@ class WP_List_Table {
*/
function views() {
$views = $this->get_views();
$views = apply_filters( 'views_' . $this->screen->base, $views );
$views = apply_filters( 'views_' . $this->screen->id, $views );
if ( empty( $views ) )
return;
@ -240,7 +240,7 @@ class WP_List_Table {
if ( is_null( $this->_actions ) ) {
$this->_actions = $this->get_bulk_actions();
$this->_actions = apply_filters( 'bulk_actions-' . $this->screen->base, $this->_actions );
$this->_actions = apply_filters( 'bulk_actions-' . $this->screen->id, $this->_actions );
$two = '';
}
else {