Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ferdinand.bardamu

    (@ferdinandbardamu)

    Apparently I was loading a cached version as this edit does indeed throw PHP errors.

    Moderator bcworkz

    (@bcworkz)

    While there’s much code above the test cookie set, it’s nearly all contained within function declarations and is not executed prior to the test cookie set. What little is left must be done before the test cookie set. Additionally, the vast majority of installations have no problem with this arrangement, so the problem is more likely a communications issue with your server or a plugins conflict.

    Also, it’s a very bad practice to edit core code. It’s your server and you can do what you want, but please don’t suggest others do likewise. However, your desire to share an apparent solution is appreciated even if it was misguided and ultimately wrong 🙂

    Cheers

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

The topic ‘Why not set the wp-login.php TEST_COOKIE earlier?’ is closed to new replies.