Changeset 55929 for trunk/src/wp-content/themes/twentyten/functions.php
- Timestamp:
- 06/16/2023 01:03:00 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r55420 r55929 129 129 * Make theme available for translation. 130 130 * Translations can be filed in the /languages/ directory. 131 * 132 * Manual loading of text domain is not required after the introduction of 133 * just in time translation loading in WordPress version 4.6. 134 * 135 * @ticket 58318 131 136 */ 132 load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 137 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 138 load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 139 } 133 140 134 141 // This theme uses wp_nav_menu() in one location.
Note: See TracChangeset
for help on using the changeset viewer.