Changeset 38654 for trunk/tests/phpunit/tests/canonical/https.php
- Timestamp:
- 09/26/2016 05:01:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/https.php
r30277 r38654 8 8 class Tests_Canonical_HTTPS extends WP_Canonical_UnitTestCase { 9 9 function setUp() { 10 global $wp_rewrite;11 12 10 parent::setUp(); 13 11 14 $ wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );12 $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); 15 13 create_initial_taxonomies(); 16 $wp_rewrite->flush_rules();17 $wp_rewrite->init();18 14 19 15 $this->http = set_url_scheme( home_url( 'sample-page/' ), 'http' );
Note: See TracChangeset
for help on using the changeset viewer.