WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Menu Editor plugin stops working in WP v3.3 beta 2 (6 posts)

  1. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Page Menu Editor plugin appears to be broken in 3.3 beta2

    This plugin allows you to customise the title attribute and menu label of each page link in wp_list_pages() or wp_page_menu().

    I have it on a site I'm building on WP v3.21 and also on a cloned version of exactly the same site with v3.3 b2. The plugin works fine on the site using v3.21, however any menu label setting in the v3.3 b2 installation has no effect.

  2. Pingged Otto. He mentioned something about pages this evening.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 2 years ago #

    Don't think that would have anything to do with the pagename query_var, actually. I'm more concerned about custom rewrite rules by plugins potentially being broken. Title and menu labels wouldn't be relevant to that.

  4. jason_lane
    Member
    Posted 2 years ago #

    The plugin is using a regex to modify the links produced by wp_list_pages(). Part of the regex pattern looks for title="([^\"]+)" however in WP 3.3b2 the title attribute has been left out of the links (in the Walker_Page class), and therefore the plugin's regex is not able to match.

    Is the omission of the title attribute intentional in 3.3b2?

  5. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Thanks for taking the time to post Ipstenu & Otto, and thanks Jason for identifying the cause.

    My easy (lazy) workaround is to use a custom menu instead -- which as I'm using a Genesis child theme is probably the best way to proceed anyway.

    I believe the menu label & title functions from the Page Menu Editor plugin have also been incorporated into All in one SEO pack, so that may have the same problem.

  6. Sarah Anderson
    Member
    Posted 2 years ago #

    I've updated the plugin to reflect this for 3.3, keeping the original regex intact for older versions

Topic Closed

This topic has been closed to new replies.

About this Topic