Changeset 25616 for trunk/src/wp-admin/comment.php
- Timestamp:
- 09/25/2013 12:17:40 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/comment.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r25282 r25616 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $parent_file = 'edit-comments.php'; … … 37 37 function comment_footer_die( $msg ) { 38 38 echo "<div class='wrap'><p>$msg</p></div>"; 39 include( './admin-footer.php');39 include( ABSPATH . 'wp-admin/admin-footer.php' ); 40 40 die; 41 41 } … … 61 61 62 62 wp_enqueue_script('comment'); 63 require_once( './admin-header.php');63 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 64 64 65 65 $comment_id = absint( $_GET['c'] ); … … 76 76 $comment = get_comment_to_edit( $comment_id ); 77 77 78 include( './edit-form-comment.php');78 include( ABSPATH . 'wp-admin/edit-form-comment.php' ); 79 79 80 80 break; … … 105 105 } 106 106 107 require_once( './admin-header.php');107 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 108 108 109 109 $formaction = $action . 'comment'; … … 301 301 } // end switch 302 302 303 include( './admin-footer.php');303 include( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset
for help on using the changeset viewer.