Support » Plugin: Admin Page Framework » In page tabs adding post_type=post to URL causing page not to load

  • Resolved rexreed


    I have a particular Menu page structure where the Settings is set to be a submenu off an existing menu.

    The main Admin Page menu loads fine with the initial page having in-page tabs.
    However, I am unable to navigate to the tabs since the tab URL for some reason appends “post_type=post” to the page URL, which causes the WordPress admin to fail with “Cannot load page”.

    Is there a way to disable the addition of the post_type=post to the automatically generated URL to navigate to the proper in-page tab? I find that when I remove the extra &post_type=post from the URL, the tab loads fine.

    Is there something in how I setup the menu and submenu structure?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft



    I’m not sure if I understand your problem but you might want to try adding a line like this in your setUp() method.

        $this->oProp->aDisallowedQueryKeys[] = 'post_type';

    If this doesn’t help, you need to post a simple example that illustrates the problem somewhere so that I can see the problem.

    Thread Starter rexreed


    Thanks – that fixed it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.