Changeset 55929 for trunk/src/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 06/16/2023 01:03:00 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r55476 r55929 80 80 * a find and replace to change 'twentyeleven' to the name 81 81 * of your theme in all the template files. 82 * 83 * Manual loading of text domain is not required after the introduction of 84 * just in time translation loading in WordPress version 4.6. 85 * 86 * @ticket 58318 82 87 */ 83 load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' ); 88 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 89 load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' ); 90 } 84 91 85 92 // This theme styles the visual editor with editor-style.css to match the theme style.
Note: See TracChangeset
for help on using the changeset viewer.