Changeset 15512 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 08/20/2010 11:18:41 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/default-list-tables.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15509 r15512 1930 1930 1931 1931 function WP_Comments_Table() { 1932 global $mode; 1933 1934 $mode = ( empty( $_REQUEST['mode'] ) ) ? 'detail' : $_REQUEST['mode']; 1935 1936 if ( get_option('show_avatars') && 'single' != $mode ) 1937 add_filter( 'comment_author', 'floated_admin_avatar' ); 1938 1932 1939 parent::WP_List_Table( array( 1933 1940 'screen' => 'edit-comments', … … 1942 1949 1943 1950 function prepare_items() { 1944 global $post_id, $comment_status, $ mode, $search;1951 global $post_id, $comment_status, $search; 1945 1952 1946 1953 $post_id = isset( $_REQUEST['p'] ) ? absint( $_REQUEST['p'] ) : 0; 1947 1948 $mode = ( empty( $_REQUEST['mode'] ) ) ? 'detail' : $_REQUEST['mode'];1949 1954 1950 1955 $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all';
Note: See TracChangeset
for help on using the changeset viewer.