Changeset 55929
- Timestamp:
- 06/16/2023 01:03:00 PM (16 months ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 11 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. -
trunk/src/wp-content/themes/twentyfifteen/functions.php
r55861 r55929 58 58 * Translations can be filed at WordPress.org. See: https://translate.wordpress.org/projects/wp-themes/twentyfifteen 59 59 * If you're building a theme based on twentyfifteen, use a find and replace 60 * to change 'twentyfifteen' to the name of your theme in all the template files 61 */ 62 load_theme_textdomain( 'twentyfifteen' ); 60 * to change 'twentyfifteen' to the name of your theme in all the template files. 61 * 62 * Manual loading of text domain is not required after the introduction of 63 * just in time translation loading in WordPress version 4.6. 64 * 65 * @ticket 58318 66 */ 67 68 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 69 load_theme_textdomain( 'twentyfifteen' ); 70 } 63 71 64 72 // Add default posts and comments RSS feed links to head. -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r55861 r55929 65 65 * replace to change 'twentyfourteen' to the name of your theme in all 66 66 * template files. 67 * 68 * Manual loading of text domain is not required after the introduction of 69 * just in time translation loading in WordPress version 4.6. 70 * 71 * @ticket 58318 67 72 */ 68 load_theme_textdomain( 'twentyfourteen' ); 73 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 74 load_theme_textdomain( 'twentyfourteen' ); 75 } 69 76 70 77 /* -
trunk/src/wp-content/themes/twentynineteen/functions.php
r55861 r55929 27 27 */ 28 28 function twentynineteen_setup() { 29 /*30 * Make theme available for translation.31 * Translations can be filed in the /languages/ directory.32 * If you're building a theme based on Twenty Nineteen, use a find and replace33 * to change 'twentynineteen' to the name of your theme in all the template files.34 */35 load_theme_textdomain( 'twentynineteen', get_template_directory() . '/languages' );36 29 37 30 // Add default posts and comments RSS feed links to head. -
trunk/src/wp-content/themes/twentyseventeen/functions.php
r55861 r55929 26 26 */ 27 27 function twentyseventeen_setup() { 28 /*29 * Make theme available for translation.30 * Translations can be filed at WordPress.org. See: https://translate.wordpress.org/projects/wp-themes/twentyseventeen31 * If you're building a theme based on Twenty Seventeen, use a find and replace32 * to change 'twentyseventeen' to the name of your theme in all the template files.33 */34 load_theme_textdomain( 'twentyseventeen' );35 28 36 29 // Add default posts and comments RSS feed links to head. -
trunk/src/wp-content/themes/twentysixteen/functions.php
r55861 r55929 50 50 * Translations can be filed at WordPress.org. See: https://translate.wordpress.org/projects/wp-themes/twentysixteen 51 51 * If you're building a theme based on Twenty Sixteen, use a find and replace 52 * to change 'twentysixteen' to the name of your theme in all the template files 53 */ 54 load_theme_textdomain( 'twentysixteen' ); 52 * to change 'twentysixteen' to the name of your theme in all the template files. 53 * 54 * Manual loading of text domain is not required after the introduction of 55 * just in time translation loading in WordPress version 4.6. 56 * 57 * @ticket 58318 58 */ 59 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 60 load_theme_textdomain( 'twentysixteen' ); 61 } 55 62 56 63 // Add default posts and comments RSS feed links to head. -
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. -
trunk/src/wp-content/themes/twentythirteen/functions.php
r55861 r55929 76 76 * replace to change 'twentythirteen' to the name of your theme in all 77 77 * template files. 78 */ 79 load_theme_textdomain( 'twentythirteen' ); 78 * 79 * Manual loading of text domain is not required after the introduction of 80 * just in time translation loading in WordPress version 4.6. 81 * 82 * @ticket 58318 83 */ 84 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 85 load_theme_textdomain( 'twentythirteen' ); 86 } 80 87 81 88 /* -
trunk/src/wp-content/themes/twentytwelve/functions.php
r55476 r55929 52 52 * If you're building a theme based on Twenty Twelve, use a find and replace 53 53 * to change 'twentytwelve' to the name of your theme in all the template files. 54 */ 55 load_theme_textdomain( 'twentytwelve' ); 54 * 55 * Manual loading of text domain is not required after the introduction of 56 * just in time translation loading in WordPress version 4.6. 57 * 58 * @ticket 58318 59 */ 60 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 61 load_theme_textdomain( 'twentytwelve' ); 62 } 56 63 57 64 // This theme styles the visual editor with editor-style.css to match the theme style. -
trunk/src/wp-content/themes/twentytwenty/functions.php
r55861 r55929 112 112 ); 113 113 114 /*115 * Make theme available for translation.116 * Translations can be filed in the /languages/ directory.117 * If you're building a theme based on Twenty Twenty, use a find and replace118 * to change 'twentytwenty' to the name of your theme in all the template files.119 */120 load_theme_textdomain( 'twentytwenty' );121 122 114 // Add support for full and wide align images. 123 115 add_theme_support( 'align-wide' ); -
trunk/src/wp-content/themes/twentytwentyone/functions.php
r55861 r55929 28 28 */ 29 29 function twenty_twenty_one_setup() { 30 /*31 * Make theme available for translation.32 * Translations can be filed in the /languages/ directory.33 * If you're building a theme based on Twenty Twenty-One, use a find and replace34 * to change 'twentytwentyone' to the name of your theme in all the template files.35 */36 load_theme_textdomain( 'twentytwentyone', get_template_directory() . '/languages' );37 30 38 31 // Add default posts and comments RSS feed links to head.
Note: See TracChangeset
for help on using the changeset viewer.