Forums

WP Super Cache
Fix for WP 3.1.3 Cookies (3 posts)

  1. loones
    Member
    Posted 11 months ago #

    It appears that WordPress 3.1.3 has changed the name of the login cookie, and it is now wordpress_[UID]

    This confuses wp_super_cache in wp-cache-phase1.php at line 318:

    if ( preg_match( "/^wp-postpass|^wordpress_logged_in|^comment_author_/", $key ) ) {

    which can easily be changed to:

    if ( preg_match( "/^wp-postpass|^wordpress_|^comment_author_/", $key ) ) {

    to fix the problem.

  2. MACscr
    Member
    Posted 11 months ago #

    can someone else confirm this issue and fix?

  3. Donncha O Caoimh
    Member
    Posted 11 months ago #

    I'm running 3.1.3 and the wordpress_logged_in* cookie is still set so there shouldn't be any need to change that. Did you change the LOGGED_IN_COOKIE constant?

Reply

You must log in to post.

About this Plugin

About this Topic