diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 16637775cf..5fe4efd3f7 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -45,6 +45,13 @@ if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) ) { require get_template_directory() . '/inc/back-compat.php'; } +/** + * Block Patterns. + * + * @since Twenty Thirteen 3.4 + */ +require get_template_directory() . '/inc/block-patterns.php'; + /** * Twenty Thirteen setup. * diff --git a/wp-content/themes/twentythirteen/images/block-patterns/bernal-cutaway.jpg b/wp-content/themes/twentythirteen/images/block-patterns/bernal-cutaway.jpg new file mode 100644 index 0000000000..2fc35420c7 Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/bernal-cutaway.jpg differ diff --git a/wp-content/themes/twentythirteen/images/block-patterns/cylinder-interior.jpg b/wp-content/themes/twentythirteen/images/block-patterns/cylinder-interior.jpg new file mode 100644 index 0000000000..eb7356931b Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/cylinder-interior.jpg differ diff --git a/wp-content/themes/twentythirteen/images/block-patterns/dark-red.jpg b/wp-content/themes/twentythirteen/images/block-patterns/dark-red.jpg new file mode 100644 index 0000000000..cb36fee644 Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/dark-red.jpg differ diff --git a/wp-content/themes/twentythirteen/images/block-patterns/orange.jpg b/wp-content/themes/twentythirteen/images/block-patterns/orange.jpg new file mode 100644 index 0000000000..6bdd37fcf4 Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/orange.jpg differ diff --git a/wp-content/themes/twentythirteen/images/block-patterns/toroidal-colony.jpg b/wp-content/themes/twentythirteen/images/block-patterns/toroidal-colony.jpg new file mode 100644 index 0000000000..388d497a3e Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/toroidal-colony.jpg differ diff --git a/wp-content/themes/twentythirteen/images/block-patterns/torus-interior.jpg b/wp-content/themes/twentythirteen/images/block-patterns/torus-interior.jpg new file mode 100644 index 0000000000..1c13bc2313 Binary files /dev/null and b/wp-content/themes/twentythirteen/images/block-patterns/torus-interior.jpg differ diff --git a/wp-content/themes/twentythirteen/inc/block-patterns.php b/wp-content/themes/twentythirteen/inc/block-patterns.php new file mode 100644 index 0000000000..051b0d5750 --- /dev/null +++ b/wp-content/themes/twentythirteen/inc/block-patterns.php @@ -0,0 +1,170 @@ + esc_html__( 'Twenty Thirteen', 'twentythirteen' ) ) + ); +} + +/** + * Register Block Patterns. + */ +if ( function_exists( 'register_block_pattern' ) ) { + // Decorative Gallery. + register_block_pattern( + 'twentythirteen/decorative-gallery', + array( + 'title' => esc_html__( 'Decorative Gallery', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'content' => ' +
+ +
+ ', + ) + ); + + // Informational Section. + register_block_pattern( + 'twentythirteen/informational-section', + array( + 'title' => esc_html__( 'Informational Section', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'content' => ' +
+

' . esc_html__( 'Exploring Space', 'twentythirteen' ) . '

+ + + +

' . esc_html__( "In the 1970s, NASA's Ames Research Center illustrated some explorations around what future space colonies could look like. This piece, illustrated by Rick Guidice, shows the inside of a toroidal shaped colony.", 'twentythirteen' ) . '

+ + + + +
+ ', + ) + ); + + // Decorative Columns. + register_block_pattern( + 'twentythirteen/decorative-columns', + array( + 'title' => esc_html__( 'Decorative Columns', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'content' => ' +
+
+
+

' . esc_html__( 'Space', 'twentythirteen' ) . '

+
+
+ + + +
+
+

+
+
+ + + +
+
+

' . esc_html__( 'Colonies', 'twentythirteen' ) . '

+
+
+
+ ', + ) + ); + + // Callout Quote. + register_block_pattern( + 'twentythirteen/callout-quote', + array( + 'title' => esc_html__( 'Callout Quote', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'blockTypes' => array( 'core/quote' ), + 'content' => ' +
+
+
+
+ + + +
+

' . wp_kses_post( __( 'When you look at
the stars and the galaxy, you feel that you are not
just from any particular piece of land, but from the solar system.', 'twentythirteen' ) ) . '

' . esc_html__( 'Kalpana Chawla', 'twentythirteen' ) . '
+
+
+ ', + ) + ); + + // Big Quote. + register_block_pattern( + 'twentythirteen/big-quote', + array( + 'title' => esc_html__( 'Big Quote', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'blockTypes' => array( 'core/quote' ), + 'content' => ' +
+
alt=
+ + + +

' . esc_html__( 'When you look at the stars and the galaxy, you feel that you are not just from any particular piece of land, but from the solar system.', 'twentythirteen' ) . '

' . esc_html__( 'Kalpana Chawla', 'twentythirteen' ) . '
+
+ ', + ) + ); + + // Informational List. + register_block_pattern( + 'twentythirteen/informational-list', + array( + 'title' => esc_html__( 'Informational List', 'twentythirteen' ), + 'categories' => array( 'twentythirteen' ), + 'content' => ' +
+

' . esc_html__( 'FAMOUS ASTRONAUTS', 'twentythirteen' ) . '

+ + + +
+
+

' . wp_kses_post( __( 'Yuri Gagarin
Alan B. Shepard Jr.
Valentina Tereshkova
John Glenn Jr.', 'twentythirteen' ) ) . '

+
+ + + +
+

' . wp_kses_post( __( 'Neil Armstrong
James Lovell Jr.
Dr. Sally Ride
Chris Hadfield', 'twentythirteen' ) ) . '

+
+
+
+ ', + ) + ); + +} diff --git a/wp-content/themes/twentythirteen/readme.txt b/wp-content/themes/twentythirteen/readme.txt index b04be6dae9..0be80cf989 100644 --- a/wp-content/themes/twentythirteen/readme.txt +++ b/wp-content/themes/twentythirteen/readme.txt @@ -4,7 +4,7 @@ Tested up to: 5.7 Stable tag: 3.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready +Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns == Description == The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small. diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 79ddc2dd28..5e4830e6ac 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -9,7 +9,7 @@ Requires at least: 3.6 Requires PHP: 5.2.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready +Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns Text Domain: twentythirteen This theme, like WordPress, is licensed under the GPL. diff --git a/wp-includes/version.php b/wp-includes/version.php index 218b78ef3e..341cd7ea4e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51011'; +$wp_version = '5.8-alpha-51012'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.