WordPress.org

Support

Support » Plugins and Hacks » [Resolved] admin submenu double query string

[Resolved] admin submenu double query string

  • I have been doing some major hacking of a plugin postMASH to move its submenu item into a postype created with More Fields plugin. Morefields give you a new post type admin panel with query string link of ?post_type=[whatever].

    In editing the add_submenu_page() function in the postMASH plugin, I can get it to show up in the new post type panel but the link now has a double query string with two question marks:

    ?post_type=[whatever]?page=[whatever]

    what I need to do is somehow change the second ‘?’ to an ‘&’ ampersand and then the link works as expected. I have been searching like crazy and even updated to 3.0.1 from 2.9.2 thinking that updates to the More Fields plugin or to the Admin Menu Editor plugin would help but alas, they did not.

    if anyone has every dealt with this I would appreciate all input, it is so close to working.

Viewing 1 replies (of 1 total)
  • once upgraded to 3.0.1 and the new More Fields plugin with integration for native post types, moving the submenu with add_submenu_page worked perfectly.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] admin submenu double query string’ is closed to new replies.