equal
deleted
inserted
replaced
211 * Loads the translations, changes the global `$wp_locale` object and updates |
211 * Loads the translations, changes the global `$wp_locale` object and updates |
212 * all post type labels. |
212 * all post type labels. |
213 * |
213 * |
214 * @since 4.7.0 |
214 * @since 4.7.0 |
215 * |
215 * |
216 * @global WP_Locale $wp_locale The WordPress date and time locale object. |
216 * @global WP_Locale $wp_locale WordPress date and time locale object. |
217 * |
217 * |
218 * @param string $locale The locale to change to. |
218 * @param string $locale The locale to change to. |
219 */ |
219 */ |
220 private function change_locale( $locale ) { |
220 private function change_locale( $locale ) { |
221 // Reset translation availability information. |
221 // Reset translation availability information. |