John Blackbourn (johnbillion)
Member
Posted 6 years ago #
Just found this in a brand new installation of 1.5.2. To reproduce this bug:
* Go into your admin panel.
* Click on the 'Manage' top level menu.
* Then click on the 'Pages' sub-menu.
* Then click on the 'Write' top level menu.
You'll see the wrong sub-menu is then highlighted: 'Write Page' is highlighted but in fact you are on the 'Write Post' menu (at post.php).
Anyone else confirm this?
Note: It also occurs in 1.5.
Might want to report this at http://trac.wordpress.org/report. Your forum login should work there.
********************
Welcome to the WordPress Support Forums!
Please help keep the Forums successful by reading:
Using the Support Forums
Also, remember the WordPress Codex and it's FAQ pages.
And, thank you, for letting us know if this information proves useful (or not)!
********************
@johnbillion - this has indeed been reported before so it should already be in trac.
John Blackbourn (johnbillion)
Member
Posted 6 years ago #
You're right podz, here it is.
Glad I'm not the only one seeing this. I don't remember it prior to 1.5x, but then again I only posted posts and rarely used pages at the time.
And as you may have noticed via the ticket, it's fixed in the next version of WordPress. :)
paulfynch
Member
Posted 6 years ago #
For those of you still using 1.5.2 and want to fix it, change line 26 (?close) in /wp-admin/post.php to this, and it will fix it:
// Fix submenu highlighting for pages.
if ((false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php'))&&($_SERVER['QUERY_STRING']!='')) $submenu_file = 'page-new.php';