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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-11-06 21:49:23 +00:00
parent 59bffc3071
commit f21ccd3113

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 {