Make WordPress Core

Changeset 8069 for trunk/wp-settings.php


Ignore:
Timestamp:
06/11/2008 05:25:55 PM (17 years ago)
Author:
ryan
Message:

Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r8068 r8069  
    335335/**
    336336 * It is possible to define this in wp-config.php
     337 * @since 2.6
     338 */
     339if ( !defined('LOGGED_IN_COOKIE') )
     340    define('LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH);
     341
     342/**
     343 * It is possible to define this in wp-config.php
    337344 * @since 2.3.0
    338345 */
     
    360367if ( !defined('COOKIE_DOMAIN') )
    361368    define('COOKIE_DOMAIN', false);
    362    
     369
     370/**
     371 * It is possible to define this in wp-config.php
     372 * @since 2.6
     373 */
     374if ( !defined('FORCE_SSL_ADMIN') )
     375    define('FORCE_SSL_ADMIN', false);
     376force_ssl_admin(FORCE_SSL_ADMIN);
     377
     378/**
     379 * It is possible to define this in wp-config.php
     380 * @since 2.6
     381 */
     382if ( !defined('FORCE_SSL_LOGIN') )
     383    define('FORCE_SSL_LOGIN', false);
     384force_ssl_login(FORCE_SSL_LOGIN);
     385
    363386/**
    364387 * It is possible to define this in wp-config.php
Note: See TracChangeset for help on using the changeset viewer.