Make WordPress Core

Ticket #61765: 61765.4.patch

File 61765.4.patch, 1.8 KB (added by wpeople, 4 months ago)

Updated Patch

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

    diff --git a/src/wp-content/themes/twentytwelve/inc/block-patterns.php b/src/wp-content/themes/twentytwelve/inc/block-patterns.php
    index 430b6584aa..6dfb1e0abb 100644
    a b if ( function_exists( 'register_block_pattern' ) ) { 
    6767                )
    6868        );
    6969
    70         // Heading and paragraph arranged as a large quote.
     70        // Quote with large paragraph text.
    7171        register_block_pattern(
    7272                'twentytwelve/large-quote',
    7373                array(
    7474                        'title'         => esc_html__( 'Left-aligned Large Quote', 'twentytwelve' ),
    7575                        'categories'    => array( 'twentytwelve' ),
    7676                        'viewportWidth' => 700,
    77                         'content'       => '<!-- wp:paragraph {"style":{"typography":{"fontSize":"40px","lineHeight":1.5}}} -->
    78                                 <p style="font-size:40px;line-height:1.5"><strong><em>' . esc_html__( '"Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social environment. Most people are even incapable of forming such opinions."', 'twentytwelve' ) . '</em></strong></p>
    79                                 <!-- /wp:paragraph --><!-- wp:paragraph -->
    80                                 <p><em>' . esc_html__( '—  Albert Einstein', 'twentytwelve' ) . '</em></p>
    81                                 <!-- /wp:paragraph -->',
     77                        'content'       => '<!-- wp:quote -->
     78                                <blockquote class="wp-block-quote"><!-- wp:paragraph {"style":{"typography":{"fontSize":"40px","lineHeight":1.5}}} -->
     79                                <p style="font-size:40px;line-height:1.5"><strong>' . esc_html__( '"Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social environment. Most people are even incapable of forming such opinions."', 'twentytwelve' ) . '</strong></p>
     80                                <!-- /wp:paragraph --><cite>' . esc_html__( '—  Albert Einstein', 'twentytwelve' ) . '</cite></blockquote>
     81                                <!-- /wp:quote -->',
    8282                )
    8383        );
    8484