Support » Fixing WordPress » Using GET, When You Need to POST?

  • I am using the Appearance Menus editor (werrry naisse).

    I have a big, honkin’ menu, and I’m using the rather piggy Suffusion theme.

    Whenever I submit a menu, it takes forever and a day, and ends with the following message splashed across the top of the screen:

    “Request-URI Too Large

    The requested URL’s length exceeds the capacity limit for this server.”

    That tells me that GET is being used, when POST should be used. I know, because the exact same thing happened when I was designing my plugin.

    Now, this may well be a Suffusion issue, but it may also be a WP issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Could be 🙂 Time for troubleshooting!

    How big a menu are we talking? Can you list how many items in it?

    Have you tested with another theme? I can fire up my testbed and see if I can repro it on a vanilla WordPress site to see.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    You couldn’t have just counted it all up? 😉 48 menu items is probably pretty inefficient, and not the best way about it. At that high a number, you’re going to have people not reading down the line so much, I suspect.

    But.

    Yeah, you have a limit. It’s in part because the menu info passed through the URL is going borky, but also you’ll hit a PHP limit eventually if this is still accurate: http://wpquestions.com/question/show/id/1640

    This may also be related to http://core.trac.wordpress.org/ticket/14134

    Well, I believe in providing full disclosure. ;D

    You are absolutely correct, from a usability point of view. I’m on it. The menu will shrink. I just need to figure the best way to organize it. I have already made a bunch of pages into series posts (There’s a lot of info, and it needs to be made more accessible).

    In any case, that doesn’t mean this isn’t a bug (or shouldn’t be documented more completely).

    With POST, you can have some damn big transfers. I use it for the BMLT options, which can be big.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Suggest it on trac.wordpress.org? Or comment in that ticket I linked to. It may help ’em out 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using GET, When You Need to POST?’ is closed to new replies.