Changeset 47198 for trunk/src/wp-admin/comment.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r47122 r47198 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once ( dirname( __FILE__ ) . '/admin.php' );10 require_once __DIR__ . '/admin.php'; 11 11 12 12 $parent_file = 'edit-comments.php'; … … 59 59 60 60 wp_enqueue_script( 'comment' ); 61 require_once ( ABSPATH . 'wp-admin/admin-header.php' );61 require_once ABSPATH . 'wp-admin/admin-header.php'; 62 62 63 63 $comment_id = absint( $_GET['c'] ); … … 78 78 $comment = get_comment_to_edit( $comment_id ); 79 79 80 include( ABSPATH . 'wp-admin/edit-form-comment.php' );80 require ABSPATH . 'wp-admin/edit-form-comment.php'; 81 81 82 82 break; … … 107 107 } 108 108 109 require_once ( ABSPATH . 'wp-admin/admin-header.php' );109 require_once ABSPATH . 'wp-admin/admin-header.php'; 110 110 111 111 $formaction = $action . 'comment'; … … 358 358 } // End switch. 359 359 360 include( ABSPATH . 'wp-admin/admin-footer.php' );360 require_once ABSPATH . 'wp-admin/admin-footer.php';
Note: See TracChangeset
for help on using the changeset viewer.