menu arrow missing
-
I’m having the same issue. I also tried reinstalling WordPress, deleting all plugins, and using a default theme.
It turns out that the reason I can’t see the arrows is because the body tag of the page has no class attribute. This is causing the arrows not to appear along with other subtle CSS issues. It turns out that the body tags on all my WordPress pages are missing the class attribute. I’m not sure why yet. Reinstalling WordPress didn’t fix it.
Geez…what class would you add? I’m holding up business because I can’t change my menus.
I manually edited /wp-admin/admin-header.php and added “<body>” in front of the body tag on line 173. Obviously this is just a bandaid but WordPress is now creating a body tag with the right class attribute and I can see the arrows again.
Thanks – I’ll try the same!
That did it – thanks!
Check the first line of your wp-config.php file. There might be a lot of blank spaces followed by injected php there.
I’ve found I’ve got the same issue today. I’ve tried FF, IE and Chrome on two different Windows 7 machines and the arrows are missing. I’ve just tried using Safari on my iPad and the arrows are there. This is a similar problem I’ve found on the websites I’ve tried.
When comparing the wp-config.php file and the wp-config-sample.php file the live one has a whole pile of characters under the few blank lines you mention. Could this be the problem? If so, what has caused it and how to fix it?
Unfortunately this means your installation of WordPress has been hacked. Check the following files too and delete everything after
<?phpon the first line:index.php
wp-config.php
wp-admin/includes/template.php
wp-admin/index.php
wp-admin/network/index.php
wp-admin/user/index.php
wp-content/index.php
wp-content/plugins/index.php
wp-content/themes/index.php
wp-includes/functions.php
wp-includes/template.php
wp-includes/theme-compat/header.phpAfter doing this you’ll need to change the permissions on the WordPress files so that this won’t happen again.
Thanks Gweeks. I’ve now found similar issues regarding the injected php in other WP sites I’m running. Looks like I’m in for a bit of a clean up.
So this recent upgrade caused the missing arrows again. I went into all the files you listed and removed junk that appeared in some of them, but the arrows were still missing. I added the <body> tag at line 173 and they are back.
nortonnj, I would check all those files for the injected php again and remove it if it’s back. You’ll also need to change the permissions of the affected files so that they can’t be modified. Otherwise the injected php will keep returning.
What should I change it to? It’s currently 644
I’m not that familiar with unix permissions but I think 444 would prevent the code from getting injected again. See http://codex.ww.wp.xz.cn/Changing_File_Permissions
The topic ‘menu arrow missing’ is closed to new replies.