Make WordPress Core

Ticket #60245: 60245.2.patch

File 60245.2.patch, 2.8 KB (added by shailu25, 4 months ago)

Patch Updated

  • src/wp-content/themes/twentyseventeen/inc/block-patterns.php

    diff --git a/src/wp-content/themes/twentyseventeen/inc/block-patterns.php b/src/wp-content/themes/twentyseventeen/inc/block-patterns.php
    index cc8c1aad4f..66e6fa0c87 100644
    a b if ( function_exists( 'register_block_pattern' ) ) { 
    131131            <h2 class="has-text-align-left has-black-color has-text-color" style="font-size:30px">' . __( 'Strategy', 'twentyseventeen' ) . '</h2>
    132132            <!-- /wp:heading -->
    133133            <!-- wp:paragraph {"align":"left"} -->
    134             <p class="has-text-align-left"><a href="#">' . __( 'See Case Study' ) . ' →</a></p>
     134            <p class="has-text-align-left"><a href="#">' . __( 'See Case Study', 'twentyseventeen' ) . ' →</a></p>
    135135            <!-- /wp:paragraph --></div></div>
    136136            <!-- /wp:group --></div>
    137137            <!-- /wp:column --></div>
  • src/wp-content/themes/twentysixteen/inc/block-patterns.php

    diff --git a/src/wp-content/themes/twentysixteen/inc/block-patterns.php b/src/wp-content/themes/twentysixteen/inc/block-patterns.php
    index f5868cd716..e4fc5ca4cf 100644
    a b if ( function_exists( 'register_block_pattern' ) ) { 
    5454            <!-- /wp:spacer -->
    5555
    5656            <!-- wp:heading {"level":1,"style":{"typography":{"fontSize":55}}} -->
    57             <h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen' ) . '</h1>
     57            <h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen', 'twentysixteen' ) . '</h1>
    5858            <!-- /wp:heading -->
    5959
    6060            <!-- wp:spacer {"height":30} -->
  • src/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php

    diff --git a/src/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php b/src/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php
    index 29e6abc9f3..1af3e7dbd1 100644
    a b  
    1313<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
    1414<div class="wp-block-group alignwide">
    1515        <!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"lineHeight":"1.2"}},"fontSize":"xx-large"} -->
    16         <h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'I’m <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?></h1>
     16        <h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'I’m <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.', 'twentytwentyfour' ) ); ?></h1>
    1717        <!-- /wp:heading -->
    1818</div>
    1919<!-- /wp:group -->