Changeset 7473
- Timestamp:
- 10/24/2013 12:15:01 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-admin.php
r7472 r7473 965 965 'plural' => 'activities', 966 966 'singular' => 'activity', 967 'screen' => get_current_screen(), 967 968 ) ); 968 969 } … … 974 975 */ 975 976 function prepare_items() { 976 $screen = get_current_screen();977 977 978 978 // Option defaults … … 987 987 988 988 // Set per page from the screen options 989 $per_page = $this->get_items_per_page( str_replace( '-', '_', "{$ screen->id}_per_page" ) );989 $per_page = $this->get_items_per_page( str_replace( '-', '_', "{$this->screen->id}_per_page" ) ); 990 990 991 991 // Check if we're on the "Spam" view
Note: See TracChangeset
for help on using the changeset viewer.