• edigest

    (@edigest)


    Since the v2.0 days, WP sites with a lot of pages and/or child posts exhibit a significant delay when opening a page for editing or creating a new page. I’ve seen complaints that this delay can be several minutes.

    On some otherwise high-end hosting (RackSpace CloudSites, e.g.,) because of a time-limit on process — the load-balancer has a limit of 30-seconds — opening a post for editing can time out with the White Screen of Death.

    There is a fairly simple ‘hack’ that fixes this (see below).

    I would like to know what problems this hack might cause if anyone familiar with WP code can weigh in.

    In ~/wp-includes/post.php on about line 3232, bypass the page ID check if it is a parent page:

    [Code moderated]

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Never, ever, encourage others to edit core WordPress files.

    Thread Starter edigest

    (@edigest)

    I’m not encouraging anyone to do anything. I’m asking a question.

    This is a problem that has existed for a long time; there are many references to people struggling with it right in these forums.

    Can I infer from your response that this is going to continue to be a problem with no chance of discussing it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post.php hack’ is closed to new replies.