Changeset 50794 for trunk/src/wp-includes/block-patterns/quote.php
- Timestamp:
- 04/28/2021 10:36:40 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns/quote.php
r48845 r50794 1 1 <?php 2 2 /** 3 * Quote block pattern.3 * Quote. 4 4 * 5 5 * @package WordPress … … 7 7 8 8 return array( 9 'title' => __( 'Quote' ), 10 'content' => "<!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:image {\"align\":\"center\",\"width\":164,\"height\":164,\"sizeSlug\":\"large\",\"className\":\"is-style-rounded\"} -->\n<div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://s.w.org/images/core/5.5/don-quixote-03.jpg\" alt=\"" . __( 'Pencil drawing of Don Quixote' ) . "\" width=\"164\" height=\"164\"/></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:quote {\"align\":\"center\",\"className\":\"is-style-large\"} -->\n<blockquote class=\"wp-block-quote has-text-align-center is-style-large\"><p>" . __( '"Do you see over yonder, friend Sancho, thirty or forty hulking giants? I intend to do battle with them and slay them."' ) . '</p><cite>' . __( '— Don Quixote' ) . "</cite></blockquote>\n<!-- /wp:quote -->\n\n<!-- wp:separator {\"className\":\"is-style-dots\"} -->\n<hr class=\"wp-block-separator is-style-dots\"/>\n<!-- /wp:separator --></div></div>\n<!-- /wp:group -->", 11 'viewportWidth' => 800, 12 'categories' => array( 'text' ), 13 'description' => _x( 'A quote and citation with an image above, and a separator at the bottom.', 'Block pattern description' ), 9 'title' => _x( 'Quote', 'Block pattern title' ), 10 'categories' => array( 'text' ), 11 'blockTypes' => array( 'core/quote' ), 12 'content' => '<!-- wp:group --> 13 <div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:separator {"className":"is-style-default"} --> 14 <hr class="wp-block-separator is-style-default"/> 15 <!-- /wp:separator --> 16 17 <!-- wp:image {"align":"center","id":null,"width":150,"height":150,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} --> 18 <div class="wp-block-image is-style-rounded"><figure class="aligncenter size-large is-resized"><img src="https://s.w.org/images/core/5.8/portrait.jpg" alt="' . esc_attr__( 'A side profile of a woman in a russet-colored turtleneck and white bag. She looks up with her eyes closed.' ) . '" width="150" height="150"/></figure></div> 19 <!-- /wp:image --> 20 21 <!-- wp:quote {"align":"center","className":"is-style-large"} --> 22 <blockquote class="wp-block-quote has-text-align-center is-style-large"><p>' . esc_html__( "\"Contributing makes me feel like I'm being useful to the planet.\"" ) . '</p><cite>' . wp_kses_post( __( '— Anna Wong, <em>Volunteer</em>' ) ) . '</cite></blockquote> 23 <!-- /wp:quote --> 24 25 <!-- wp:separator {"className":"is-style-default"} --> 26 <hr class="wp-block-separator is-style-default"/> 27 <!-- /wp:separator --></div></div> 28 <!-- /wp:group -->', 29 'description' => _x( 'Testimonial quote with portrait', 'Block pattern description' ), 14 30 );
Note: See TracChangeset
for help on using the changeset viewer.