77 */
88
99/** Load WordPress Bootstrap */
10- require_once ('admin.php ' );
10+ require_once ('./ admin.php ' );
1111
1212$ parent_file = 'edit-comments.php ' ;
1313$ submenu_file = 'edit-comments.php ' ;
3636 */
3737function comment_footer_die ( $ msg ) {
3838 echo "<div class='wrap'><p> $ msg</p></div> " ;
39- include ('admin-footer.php ' );
39+ include ('./ admin-footer.php ' );
4040 die;
4141}
4242
@@ -46,7 +46,7 @@ function comment_footer_die( $msg ) {
4646 $ title = __ ('Edit Comment ' );
4747
4848 wp_enqueue_script ('comment ' );
49- require_once ('admin-header.php ' );
49+ require_once ('./ admin-header.php ' );
5050
5151 $ comment_id = absint ( $ _GET ['c ' ] );
5252
@@ -61,7 +61,7 @@ function comment_footer_die( $msg ) {
6161
6262 $ comment = get_comment_to_edit ( $ comment_id );
6363
64- include ('edit-form-comment.php ' );
64+ include ('./ edit-form-comment.php ' );
6565
6666 break ;
6767
@@ -88,7 +88,7 @@ function comment_footer_die( $msg ) {
8888 die ();
8989 }
9090
91- require_once ('admin-header.php ' );
91+ require_once ('./ admin-header.php ' );
9292
9393 $ formaction = $ action . 'comment ' ;
9494 $ nonce_action = 'approve ' == $ action ? 'approve-comment_ ' : 'delete-comment_ ' ;
@@ -276,6 +276,6 @@ function comment_footer_die( $msg ) {
276276
277277} // end switch
278278
279- include ('admin-footer.php ' );
279+ include ('./ admin-footer.php ' );
280280
281281?>
0 commit comments