WordPress.org

Ready to get started?Download WordPress

Forums

1.5.2 Bug: Switching Between Page and Post Editing (7 posts)

  1. John Blackbourn
    Member
    Posted 8 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.

  2. MichaelH
    Member
    Posted 8 years ago #

    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)!
    ********************

  3. Mark (podz)
    Support Maven
    Posted 8 years ago #

    @johnbillion - this has indeed been reported before so it should already be in trac.

  4. John Blackbourn
    Member
    Posted 8 years ago #

    You're right podz, here it is.

  5. Nicki Faulk
    Member
    Posted 8 years ago #

    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.

  6. And as you may have noticed via the ticket, it's fixed in the next version of WordPress. :)

  7. paulfynch
    Member
    Posted 8 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';

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags