bizarre code in my wp-admin/nav_menus.php
-
I am having an incredible amount of trouble with my WP dashboard. Navigations menus wont load, I cannot edit or create a new post, my html tab in the editing page does not work, the logout dropdown does not come up, I cannot access my widgets in the widget page and there are other issues.
after deactivating all my plug ins without success, deleted my plug-ins without it correcting the problem, contacting my hosting company who has no idea, I have been reading through the forums all day.
I read in one forum post about changing code in the nav_menu.php, and I decided to look at my code. there I found the following code at line 22-23:
wp_die( __( ‘Cheatin’ uh?’ ) and at lines 18-19:
if ( ! current_theme_supports( ‘menus’ ) && ! current_theme_supports( ‘widgets’ ) )
wp_die( __( ‘Your theme does not support navigation menus or widgets.’ ) );does this look right, or does this appear to be a hack?
- The topic ‘bizarre code in my wp-admin/nav_menus.php’ is closed to new replies.