Changeset 13100
- Timestamp:
- 01/10/2024 02:02:13 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r13083 r13100 1024 1024 } 1025 1025 1026 // Run the checks. 1026 // Run the checks, using US English. 1027 $locale_switched = switch_to_locale( 'en_US' ); 1027 1028 $result = run_themechecks_against_theme( $this->theme, $this->theme_slug ); 1029 if ( $locale_switched ) { 1030 restore_previous_locale(); 1031 } 1028 1032 1029 1033 // Display the errors.
Note: See TracChangeset
for help on using the changeset viewer.