Changeset 14604
- Timestamp:
- 11/13/2025 02:04:39 AM (9 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/inc/locales.php
r14457 r14604 46 46 require_once GLOTPRESS_LOCALES_PATH; 47 47 $locale = GP_Locales::by_field( 'wp_locale', $_GET['locale'] ); 48 if ( $locale ) {48 if ( $locale && 'en_US' !== $locale->wp_locale ) { 49 49 $locale_data = get_extended_locale_data( $locale ); 50 50 include PLUGIN_DIR . '/views/locale-details.php'; 51 51 } else { 52 status_header( 404 ); 52 53 printf( 53 54 '<div class="callout callout-warning"><p>%s</p><p><a href="%s">%s</a></p></div>',
Note: See TracChangeset for help on using the changeset viewer.