Changeset 53874 for trunk/tests/phpunit/tests/l10n/loadTextdomain.php
- Timestamp:
- 08/11/2022 12:37:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/loadTextdomain.php
r53866 r53874 25 25 add_filter( 'plugin_locale', array( $this, 'store_locale' ) ); 26 26 add_filter( 'theme_locale', array( $this, 'store_locale' ) ); 27 28 /** @var WP_Textdomain_Registry $wp_textdomain_registry */ 29 global $wp_textdomain_registry; 30 31 $wp_textdomain_registry->reset(); 32 } 33 34 public function tear_down() { 35 36 /** @var WP_Textdomain_Registry $wp_textdomain_registry */ 37 global $wp_textdomain_registry; 38 39 $wp_textdomain_registry->reset(); 40 41 parent::tear_down(); 27 42 } 28 43
Note: See TracChangeset
for help on using the changeset viewer.