Changeset 63640
- Timestamp:
- 09/16/2026 05:45:47 PM (24 hours ago)
- Location:
- trunk/tests/phpunit/tests/functions
- Files:
-
- 2 edited
-
forceSslAdmin.php (modified) (1 diff)
-
wpTimezoneChoice.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/forceSslAdmin.php
r60137 r63640 15 15 // Reset the `$forced` static variable before each test. 16 16 force_ssl_admin( false ); 17 } 18 19 public function tear_down() { 20 // Restore the boot-time value set by wp_ssl_constants(). 21 force_ssl_admin( FORCE_SSL_ADMIN ); 22 23 parent::tear_down(); 17 24 } 18 25 -
trunk/tests/phpunit/tests/functions/wpTimezoneChoice.php
r62156 r63640 11 11 12 12 /** 13 * Restores the current locale a fter each test runs.13 * Restores the current locale and the timezone translations after each test runs. 14 14 */ 15 15 public function tear_down(): void { 16 16 restore_current_locale(); 17 wp_timezone_choice( '', get_locale() ); 18 17 19 parent::tear_down(); 18 20 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)