Ticket #45465: 45465.patch
File 45465.patch, 517 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/l10n.php
889 889 global $wp_scripts; 890 890 891 891 $path = untrailingslashit( $path ); 892 $locale = is_admin() ? get_locale() : get_user_locale();892 $locale = determine_locale(); 893 893 894 894 // If a path was given and the handle file exists simply return it. 895 895 $file_base = $domain === 'default' ? $locale : $domain . '-' . $locale;