Changeset 43486 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 07/17/2018 04:03:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r43478 r43486 1006 1006 } 1007 1007 1008 /** 1009 * Add options for the privacy requests screens. 1010 * 1011 * @since 4.9.8 1012 * @access private 1013 */ 1014 function _wp_privacy_requests_screen_options() { 1015 $args = array( 1016 'option' => str_replace( 'tools_page_', '', get_current_screen()->id ) . '_requests_per_page', 1017 ); 1018 add_screen_option( 'per_page', $args ); 1019 } 1020 1008 1021 // TODO: move the following classes in new files. 1009 1022 if ( ! class_exists( 'WP_List_Table' ) ) { … … 1223 1236 1224 1237 $this->items = array(); 1225 $posts_per_page = 20;1238 $posts_per_page = $this->get_items_per_page( $this->request_type . '_requests_per_page' ); 1226 1239 $args = array( 1227 1240 'post_type' => $this->post_type,
Note: See TracChangeset
for help on using the changeset viewer.