diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index ad5ba6f30e..a4df147cb2 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -132,6 +132,11 @@ add_action( 'after_setup_theme', 'twentytwelve_setup' ); */ require get_template_directory() . '/inc/custom-header.php'; +/** + * Add block patterns. + */ +require get_template_directory() . '/inc/block-patterns.php'; + /** * Return the Google font stylesheet URL if available. * diff --git a/wp-content/themes/twentytwelve/images/pattern-jumble-1.jpg b/wp-content/themes/twentytwelve/images/pattern-jumble-1.jpg new file mode 100644 index 0000000000..8ffc94ac4d Binary files /dev/null and b/wp-content/themes/twentytwelve/images/pattern-jumble-1.jpg differ diff --git a/wp-content/themes/twentytwelve/images/pattern-jumble-2.jpg b/wp-content/themes/twentytwelve/images/pattern-jumble-2.jpg new file mode 100644 index 0000000000..6f36e990b7 Binary files /dev/null and b/wp-content/themes/twentytwelve/images/pattern-jumble-2.jpg differ diff --git a/wp-content/themes/twentytwelve/images/pattern-jumble-3.jpg b/wp-content/themes/twentytwelve/images/pattern-jumble-3.jpg new file mode 100644 index 0000000000..1662838971 Binary files /dev/null and b/wp-content/themes/twentytwelve/images/pattern-jumble-3.jpg differ diff --git a/wp-content/themes/twentytwelve/images/pattern-jumble-4.jpg b/wp-content/themes/twentytwelve/images/pattern-jumble-4.jpg new file mode 100644 index 0000000000..6187e7afaa Binary files /dev/null and b/wp-content/themes/twentytwelve/images/pattern-jumble-4.jpg differ diff --git a/wp-content/themes/twentytwelve/inc/block-patterns.php b/wp-content/themes/twentytwelve/inc/block-patterns.php new file mode 100644 index 0000000000..2c805446ab --- /dev/null +++ b/wp-content/themes/twentytwelve/inc/block-patterns.php @@ -0,0 +1,113 @@ + esc_html__( 'Twenty Twelve', 'twentytwelve' ) ) + ); +} + +/** + * Register Block Patterns. + */ +if ( function_exists( 'register_block_pattern' ) ) { + + // Images and spacer blocks inside of columns. + register_block_pattern( + 'twentytwelve/floating-images', + array( + 'title' => esc_html__( 'Floating Images Gallery', 'twentytwelve' ), + 'categories' => array( 'twentytwelve' ), + 'viewportWidth' => 700, + 'content' => ' +
+
+
+ + + +
' . esc_attr__( 'Close up of a yellow and green leaf.', 'twentytwelve' ) . '
+
+ + +
+
' . esc_attr__( 'Close up of a yellow leaf.', 'twentytwelve' ) . '
+ + + + + +
' . esc_attr__( 'Close up of a yellow and green leaf.', 'twentytwelve' ) . '
+
+ + +
+ + + +
' . esc_attr__( 'Close up of a yellow and green leaf.', 'twentytwelve' ) . '
+
+
+
+ ', + ) + ); + + // Heading and paragraph arranged as a large quote. + register_block_pattern( + 'twentytwelve/large-quote', + array( + 'title' => esc_html__( 'Left-aligned Large Quote', 'twentytwelve' ), + 'categories' => array( 'twentytwelve' ), + 'viewportWidth' => 700, + 'content' => ' +

' . esc_html__( '"Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social eznvironment. Most people are even incapable of forming such opinions."', 'twentytwelve' ) . '

+ +

' . esc_html__( '— Albert Einstein', 'twentytwelve' ) . '

+ ', + ) + ); + + // Columns block with image in the first column and paragraphs with a drop cap in the second. + register_block_pattern( + 'twentytwelve/mixed-content-columns', + array( + 'title' => esc_html__( 'Left-aligned Image and Paragraph', 'twentytwelve' ), + 'categories' => array( 'twentytwelve' ), + 'viewportWidth' => 700, + 'content' => ' +
+
+
' . esc_attr__( 'Close up of a yellow leaf.', 'twentytwelve' ) . '
+
+ + +
+

' . esc_html__( 'Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.', 'twentytwelve' ) . '

+ + +

' . esc_html__( 'The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then.', 'twentytwelve' ) . '

+ + +

' . esc_html__( 'It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.', 'twentytwelve' ) . '

+
+
+ ', + ) + ); + +} diff --git a/wp-content/themes/twentytwelve/readme.txt b/wp-content/themes/twentytwelve/readme.txt index f608e714bc..4a7fff998f 100644 --- a/wp-content/themes/twentytwelve/readme.txt +++ b/wp-content/themes/twentytwelve/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-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns == Description == The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. @@ -40,6 +40,10 @@ HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas Licenses: MIT/GPL2 Source: https://github.com/aFarkas/html5shiv +"Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-ZBK0NLVP2B +"Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-EEGO4GCPQD +"Autumn City Photo" by Oleg Prokopenko. CC0. https://stocksnap.io/photo/autumn-city-PZP8EWR5MR + == Changelog == = 3.3 = diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index e3c5e75a05..cab7b104bb 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -9,7 +9,7 @@ Requires at least: 3.5 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-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns Text Domain: twentytwelve This theme, like WordPress, is licensed under the GPL. diff --git a/wp-includes/version.php b/wp-includes/version.php index 9f86ecbb10..5f7944fcde 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51032'; +$wp_version = '5.8-alpha-51033'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.