WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2014 03:58:41 AM (8 years ago)
Author:
nacin
Message:

Forcing SSL logins now forces SSL for the entire admin, with no middle ground.

fixes #10267.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/url.php

    r25389 r28609  
    22
    33// tests for link-template.php and related URL functions
     4/**
     5 * @group url
     6 */
    47class Tests_URL extends WP_UnitTestCase {
    58    var $_old_server;
     
    265268
    266269            force_ssl_login( true );
    267             $this->assertEquals( $http_links[ $i ], set_url_scheme( $link, 'admin' ) );
     270            $this->assertEquals( $https_links[ $i ], set_url_scheme( $link, 'admin' ) );
    268271            $this->assertEquals( $https_links[ $i ], set_url_scheme( $link, 'login_post' ) );
    269             $this->assertEquals( $http_links[ $i ], set_url_scheme( $link, 'login' ) );
     272            $this->assertEquals( $https_links[ $i ], set_url_scheme( $link, 'login' ) );
    270273            $this->assertEquals( $https_links[ $i ], set_url_scheme( $link, 'rpc' ) );
    271274
Note: See TracChangeset for help on using the changeset viewer.