WordPress.org

Make WordPress Core

Changeset 16226


Ignore:
Timestamp:
11/06/2010 09:49:23 PM (9 years ago)
Author:
scribu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-list-table.php

    r16205 r16226  
    205205    function views() {
    206206        $views = $this->get_views();
    207         $views = apply_filters( 'views_' . $this->screen->base, $views );
     207        $views = apply_filters( 'views_' . $this->screen->id, $views );
    208208
    209209        if ( empty( $views ) )
     
    241241        if ( is_null( $this->_actions ) ) {
    242242            $this->_actions = $this->get_bulk_actions();
    243             $this->_actions = apply_filters( 'bulk_actions-' . $this->screen->base, $this->_actions );
     243            $this->_actions = apply_filters( 'bulk_actions-' . $this->screen->id, $this->_actions );
    244244            $two = '';
    245245        }
Note: See TracChangeset for help on using the changeset viewer.