diff --git a/wp-content/themes/twentyseventeen/README.txt b/wp-content/themes/twentyseventeen/README.txt index 535f1e615c270008e3786a1d03daf094f23beba6..3e6640b04b3a6730900a22f633c6a29e286a9a56 100644 --- a/wp-content/themes/twentyseventeen/README.txt +++ b/wp-content/themes/twentyseventeen/README.txt @@ -1,8 +1,9 @@ === Twenty Seventeen === -Contributors: the WordPress team +Contributors: wordpressdotorg Requires at least: WordPress 4.7 Tested up to: WordPress 5.0 -Version: 2.1 +Requires PHP: 5.2.4 +Version: 2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready @@ -60,6 +61,11 @@ Source: https://unsplash.com/@englr?photo=bIhpiQA009k == Changelog == += 2.2 = +* Released: May 7, 2019 + +https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.2 + = 2.1 = * Released: February 21, 2019 diff --git a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index 3b85b97d96517db1e708a136d4d7aaf7a7a5419f..449f0623a2f44bdea3fb222ee5339c4ef7bc3f0d 100644 --- a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css @@ -289,7 +289,7 @@ body.colors-dark, color: #bbb; } -.colors-dark button:hover, +.colors-dark button:hover:not( .mejs-container > button ), .colors-dark button:focus, .colors-dark input[type="button"]:hover, .colors-dark input[type="button"]:focus, diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index 60170e8e0a23c732b411b5917791f458cd4eb980..6b6bd47220158e8b7bc4580c7b14249936e91c68 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css @@ -674,6 +674,7 @@ table.wp-block-table tr { border-bottom: 1px solid #eee; } +table.wp-block-table th, table.wp-block-table td { border: 0; padding: 0.4em; diff --git a/wp-content/themes/twentyseventeen/header.php b/wp-content/themes/twentyseventeen/header.php index 27148be6d404250da9cdcf5199ed3e438e2f9f60..0ac11c30ec37478a55c1a26e0ba39ebbe61de6c6 100644 --- a/wp-content/themes/twentyseventeen/header.php +++ b/wp-content/themes/twentyseventeen/header.php @@ -23,6 +23,7 @@ </head> <body <?php body_class(); ?>> +<?php wp_body_open(); ?> <div id="page" class="site"> <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyseventeen' ); ?></a> diff --git a/wp-content/themes/twentyseventeen/inc/color-patterns.php b/wp-content/themes/twentyseventeen/inc/color-patterns.php index ddd25d089eea0a4febf6cd8e796bc271af4d6543..cfd243f67a03693c3d378b834cf3f37af3e65530 100644 --- a/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -307,7 +307,7 @@ body.colors-custom, color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */ } -.colors-custom button:hover, +.colors-custom button:hover:not( .mejs-container > button ), .colors-custom button:focus, .colors-custom input[type="button"]:hover, .colors-custom input[type="button"]:focus, diff --git a/wp-content/themes/twentyseventeen/inc/template-tags.php b/wp-content/themes/twentyseventeen/inc/template-tags.php index 8fec665a283e29079b2a4c42ef8100cf2951e5ba..2c24e4ec25a76c31847a17e987f159842d1aa332 100644 --- a/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/wp-content/themes/twentyseventeen/inc/template-tags.php @@ -198,3 +198,21 @@ function twentyseventeen_category_transient_flusher() { } add_action( 'edit_category', 'twentyseventeen_category_transient_flusher' ); add_action( 'save_post', 'twentyseventeen_category_transient_flusher' ); + +if ( ! function_exists( 'wp_body_open' ) ) : + /** + * Fire the wp_body_open action. + * + * Added for backwards compatibility to support pre 5.2.0 WordPress versions. + * + * @since Twenty Seventeen 2.2 + */ + function wp_body_open() { + /** + * Triggered after the opening <body> tag. + * + * @since Twenty Seventeen 2.2 + */ + do_action( 'wp_body_open' ); + } +endif; diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index e53226145dfda48442a04a533085ce60237c6cb2..6a6a629abb59e6610788c9e6aeb03b1098824b1d 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyseventeen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device. -Version: 2.1 +Version: 2.2 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: twentyseventeen @@ -1034,7 +1034,7 @@ input[type="submit"].secondary { color: #222; } -button:hover, +button:hover:not( .mejs-container > button ), button:focus, input[type="button"]:hover, input[type="button"]:focus, @@ -1646,6 +1646,7 @@ body.home.title-tagline-hidden.has-header-video .custom-logo-link img { body:not(.title-tagline-hidden) .site-branding-text { display: inline-block; + max-width: 100%; vertical-align: middle; } diff --git a/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php b/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php index b1bf88392685162fbd464bf43c5d97e201cef713..98b129d314e082810f4f62dbfbb9a6bd1eff76a7 100644 --- a/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php +++ b/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php @@ -84,4 +84,4 @@ global $twentyseventeencounter; </div><!-- .wrap --> </div><!-- .panel-content --> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php b/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php index 3b321a5bbae327871a57c050b681327027f41aec..aa6e2846bfec697c4227a63abd26f2f33df5e619 100644 --- a/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php +++ b/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php @@ -49,4 +49,4 @@ </div><!-- .wrap --> </div><!-- .panel-content --> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/page/content-page.php b/wp-content/themes/twentyseventeen/template-parts/page/content-page.php index 162bc365988513f5e82f4f70ce397967db24eee4..f85ebc8c6ff3fc203976186938fd90eb3029cec1 100644 --- a/wp-content/themes/twentyseventeen/template-parts/page/content-page.php +++ b/wp-content/themes/twentyseventeen/template-parts/page/content-page.php @@ -29,4 +29,4 @@ ); ?> </div><!-- .entry-content --> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php b/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php index 95f317271dba1cd9204fdc2fa633dc4bbad71e66..bfa3e19c7b1084be48ae47fae1b2ede388a71fa2 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php @@ -106,4 +106,4 @@ } ?> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php b/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php index 3e5ee546e18d671274d8eec2a5e6c17152a8583d..54a493392e6a91f4efda4b484ad12e0af97b8fc6 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php @@ -45,4 +45,4 @@ <?php the_excerpt(); ?> </div><!-- .entry-summary --> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php b/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php index ac525a7558e8ee2ceaa482023b85d64ad02b5dd0..b171ecdcceb9080499b591beea75330910576286 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php @@ -93,4 +93,4 @@ } ?> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-image.php b/wp-content/themes/twentyseventeen/template-parts/post/content-image.php index 911a8a86662541a0a0f9e406eb088634f03a3bc7..12cd4e272c4e048c705171ea6f17edf66b430dac 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-image.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-image.php @@ -83,4 +83,4 @@ } ?> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-video.php b/wp-content/themes/twentyseventeen/template-parts/post/content-video.php index 72de975a7b6d3ba129455a85c9af944695e9b72b..9f80aeae209c8ee14b0bb9a6e054649a19ca563d 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-video.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-video.php @@ -104,4 +104,4 @@ } ?> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> --> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content.php b/wp-content/themes/twentyseventeen/template-parts/post/content.php index 4e59e09f9d376964d9cd40264ae949bb3be114fe..3c55aa164f04563d8b2bc546d1aafc4dccafb4dd 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content.php @@ -76,4 +76,4 @@ } ?> -</article><!-- #post-## --> +</article><!-- #post-<?php the_ID(); ?> -->