mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
59bffc3071
commit
f21ccd3113
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user