Make WordPress Core


Ignore:
Timestamp:
03/19/2010 09:15:00 PM (15 years ago)
Author:
nacin
Message:

Remove unnecessary ternary operators such as (expr) ? true : false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r13761 r13769  
    4242
    4343    if ( '' === $secure_cookie )
    44         $secure_cookie = is_ssl() ? true : false;
     44        $secure_cookie = is_ssl();
    4545
    4646    global $auth_secure_cookie; // XXX ugly hack to pass this to wp_authenticate_cookie
Note: See TracChangeset for help on using the changeset viewer.