Make WordPress Core


Ignore:
Timestamp:
09/24/2015 09:01:10 PM (11 years ago)
Author:
johnbillion
Message:

Use WP_TESTS_DOMAIN where it should be used in tests in place of hard-coded uses of example.org.

Also corrects a test value in the data provider for Tests_Sanitize_Option::test_sanitize_option() which was only consequentially passing.

Fixes #34000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/option/sanitize-option.php

    r33907 r34519  
    4141                        array( 'siteurl', 'http://example.org/subdir', 'http://example.org/subdir' ),
    4242                        array( 'siteurl', get_option( 'siteurl' ), '' ),
    43                         array( 'home', 'http://example.org', 'example.org' ),
     43                        array( 'home', 'http://example.org', 'http://example.org' ),
    4444                        array( 'home', 'https://example.org', 'https://example.org' ),
    4545                        array( 'home', 'http://localhost:8000', 'http://localhost:8000' ),
Note: See TracChangeset for help on using the changeset viewer.