Changeset 15508 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 08/18/2010 10:26:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15504 r15508 1942 1942 1943 1943 function prepare_items() { 1944 global $post_id, $comment_status, $mode ;1944 global $post_id, $comment_status, $mode, $search; 1945 1945 1946 1946 $post_id = isset( $_REQUEST['p'] ) ? absint( $_REQUEST['p'] ) : 0; … … 1956 1956 $search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : ''; 1957 1957 1958 if ( isset( $_POST[' num'] ) )1959 $comments_per_page = $_POST[' num'];1958 if ( isset( $_POST['per_page'] ) ) 1959 $comments_per_page = $_POST['per_page']; 1960 1960 else 1961 1961 $comments_per_page = (int) get_user_option( 'edit_comments_per_page' );
Note: See TracChangeset
for help on using the changeset viewer.