Changeset 59244
- Timestamp:
- 10/17/2024 12:35:01 AM (2 months ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r58718 r59244 658 658 659 659 /** 660 * Block Patterns. 661 * 662 * @since Twenty Fifteen 3.0 663 */ 664 require get_template_directory() . '/inc/block-patterns.php'; 660 * Register block patterns and pattern categories. 661 * 662 * @since Twenty Fifteen 3.9 663 */ 664 function twentyfifteen_register_block_patterns() { 665 require get_template_directory() . '/inc/block-patterns.php'; 666 } 667 668 add_action( 'init', 'twentyfifteen_register_block_patterns' ); -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r58718 r59244 729 729 require get_template_directory() . '/inc/customizer.php'; 730 730 731 // Add support for block patterns. 732 require get_template_directory() . '/inc/block-patterns.php'; 731 /** 732 * Register block patterns and pattern categories. 733 * 734 * @since Twenty Fourteen 4.1 735 */ 736 function twentyfourteen_register_block_patterns() { 737 require get_template_directory() . '/inc/block-patterns.php'; 738 } 739 740 add_action( 'init', 'twentyfourteen_register_block_patterns' ); 733 741 734 742 /* -
trunk/src/wp-content/themes/twentynineteen/functions.php
r56935 r59244 385 385 386 386 /** 387 * Block Patterns. 388 */ 389 require get_template_directory() . '/inc/block-patterns.php'; 387 * Register block patterns and pattern categories. 388 * 389 * @since Twenty Nineteen 3.0 390 */ 391 function twentynineteen_register_block_patterns() { 392 require get_template_directory() . '/inc/block-patterns.php'; 393 } 394 395 add_action( 'init', 'twentynineteen_register_block_patterns' ); -
trunk/src/wp-content/themes/twentyseventeen/functions.php
r58718 r59244 738 738 739 739 /** 740 * Block Patterns. 741 */ 742 require get_template_directory() . '/inc/block-patterns.php'; 740 * Register block patterns and pattern categories. 741 * 742 * @since Twenty Seventeen 3.8 743 */ 744 function twentyseventeen_register_block_patterns() { 745 require get_template_directory() . '/inc/block-patterns.php'; 746 } 747 748 add_action( 'init', 'twentyseventeen_register_block_patterns' ); -
trunk/src/wp-content/themes/twentysixteen/functions.php
r58718 r59244 529 529 require get_template_directory() . '/inc/template-tags.php'; 530 530 531 /** 532 * Block Patterns. 533 */ 534 require get_template_directory() . '/inc/block-patterns.php'; 531 532 /** 533 * Register block patterns and pattern categories. 534 * 535 * @since Twenty Sixteen 3.4 536 */ 537 function twentysixteen_register_block_patterns() { 538 require get_template_directory() . '/inc/block-patterns.php'; 539 } 540 541 add_action( 'init', 'twentysixteen_register_block_patterns' ); 535 542 536 543 /** -
trunk/src/wp-content/themes/twentyten/functions.php
r59219 r59244 782 782 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); 783 783 784 // Block Patterns. 785 require get_template_directory() . '/block-patterns.php'; 784 /** 785 * Register block patterns and pattern categories. 786 * 787 * @since Twenty Ten 4.3 788 */ 789 function twentyten_register_block_patterns() { 790 require get_template_directory() . '/block-patterns.php'; 791 } 792 793 add_action( 'init', 'twentyten_register_block_patterns' ); 786 794 787 795 if ( ! function_exists( 'wp_body_open' ) ) : -
trunk/src/wp-content/themes/twentythirteen/functions.php
r58718 r59244 47 47 48 48 /** 49 * Block Patterns. 50 * 51 * @since Twenty Thirteen 3.4 52 */ 53 require get_template_directory() . '/inc/block-patterns.php'; 49 * Register block patterns and pattern categories. 50 * 51 * @since Twenty Thirteen 4.3 52 */ 53 function twentythirteen_register_block_patterns() { 54 require get_template_directory() . '/inc/block-patterns.php'; 55 } 56 57 add_action( 'init', 'twentythirteen_register_block_patterns' ); 54 58 55 59 /** -
trunk/src/wp-content/themes/twentytwelve/functions.php
r58718 r59244 141 141 142 142 /** 143 * Add block patterns. 144 */ 145 require get_template_directory() . '/inc/block-patterns.php'; 143 * Register block patterns and pattern categories. 144 * 145 * @since Twenty Twelve 4.4 146 */ 147 function twentytwelve_register_block_patterns() { 148 require get_template_directory() . '/inc/block-patterns.php'; 149 } 150 151 add_action( 'init', 'twentytwelve_register_block_patterns' ); 146 152 147 153 if ( ! function_exists( 'twentytwelve_get_font_url' ) ) : -
trunk/src/wp-content/themes/twentytwenty/functions.php
r57842 r59244 176 176 require get_template_directory() . '/inc/custom-css.php'; 177 177 178 // Block Patterns. 179 require get_template_directory() . '/inc/block-patterns.php'; 178 /** 179 * Register block patterns and pattern categories. 180 * 181 * @since Twenty Twenty 2.8 182 */ 183 function twentytwenty_register_block_patterns() { 184 require get_template_directory() . '/inc/block-patterns.php'; 185 } 186 187 add_action( 'init', 'twentytwenty_register_block_patterns' ); 180 188 181 189 /**
Note: See TracChangeset
for help on using the changeset viewer.