Changeset 13770 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 03/19/2010 09:29:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r13247 r13770 96 96 wp_redirect( $redirect_to ); 97 97 exit; 98 } elseif ( isset($_GET['_wp_http_referer']) &&! empty($_GET['_wp_http_referer']) ) {98 } elseif ( ! empty($_GET['_wp_http_referer']) ) { 99 99 wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) ); 100 100 exit; … … 108 108 require_once('admin-header.php'); 109 109 110 $mode = ( ! isset($_GET['mode']) ||empty($_GET['mode']) ) ? 'detail' : esc_attr($_GET['mode']);110 $mode = ( empty($_GET['mode']) ) ? 'detail' : esc_attr($_GET['mode']); 111 111 112 112 $comment_status = isset($_REQUEST['comment_status']) ? $_REQUEST['comment_status'] : 'all';
Note: See TracChangeset
for help on using the changeset viewer.