- Timestamp:
- 10/23/2015 05:13:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r35241 r35368 250 250 unset($stati['trash']); 251 251 252 $link = 'edit-comments.php';252 $link = admin_url( 'edit-comments.php' ); 253 253 if ( !empty($comment_type) && 'all' != $comment_type ) 254 254 $link = add_query_arg( 'comment_type', $comment_type, $link ); … … 700 700 $author_ip = get_comment_author_IP( $comment ); 701 701 if ( $author_ip ) { 702 $author_ip_url = add_query_arg( array( 's' => $author_ip, 'mode' => 'detail' ), 'edit-comments.php');702 $author_ip_url = add_query_arg( array( 's' => $author_ip, 'mode' => 'detail' ), admin_url( 'edit-comments.php' ) ); 703 703 if ( 'spam' === $comment_status ) { 704 704 $author_ip_url = add_query_arg( 'comment_status', 'spam', $author_ip_url );
Note: See TracChangeset
for help on using the changeset viewer.