WordPress/wp-content/themes/twentyseventeen
Sergey Biryukov c804143db6 Twenty Seventeen: Avoid JS errors when displaying legacy widgets.
Make sure the `$sidebar` variable is defined and has at least one entry in the array, before adding the `.below-entry-meta` class to elements below the entry meta.

Previously, the theme expected sidebar markup to exist on the page if sidebars are defined, but that markup is missing since only the widget itself and headers/footers of the page are loaded in the iframe used to display legacy widgets (widgets added prior to WordPress 5.8).

Props Clorith, Boniu91, desrosj.
Fixes #53512.
Built from https://develop.svn.wordpress.org/trunk@51257


git-svn-id: http://core.svn.wordpress.org/trunk@50866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-29 12:57:56 +00:00
..
assets Twenty Seventeen: Avoid JS errors when displaying legacy widgets. 2021-06-29 12:57:56 +00:00
inc Coding Standards: Remove a one-time `$message` variable in WordPress version requirement notices for bundled themes. 2021-06-15 15:24:58 +00:00
template-parts Bundled Themes: Twenty Seventeen pagination links don't appear for home pages. 2020-06-16 18:40:07 +00:00
404.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comments.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
footer.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
front-page.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
functions.php Bundled Themes: Bump theme versions ahead of WordPress 5.6. 2020-12-07 15:55:05 +00:00
header.php Bundled Themes: Use HTTPS for XHTML Friends Network URL. 2020-07-03 23:42:01 +00:00
index.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
page.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
readme.txt Bundled Themes: Update the "Tested up to" value. 2021-05-27 20:44:57 +00:00
rtl.css Comments: Move comment consent `input` outside the `label` for a11y. 2018-05-02 22:00:49 +00:00
screenshot.png Importing Twenty Seventeen, our new default theme for 2017, set for 4.7. 2016-10-20 04:12:31 +00:00
search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
searchform.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
sidebar.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
single.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
style.css Bundled Themes: Bump versions for WordPress 5.7.1. 2021-04-13 23:49:06 +00:00

readme.txt

=== Twenty Seventeen ===
Contributors: wordpressdotorg
Tested up to: 5.8
Version: 2.7
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, block-patterns

== 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.

For more information about Twenty Seventeen please go to https://wordpress.org/support/article/twenty-seventeen/.

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Seventeen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://wordpress.org/support/article/twenty-seventeen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.

== Copyright ==

Twenty Seventeen WordPress Theme, Copyright 2016-2021 WordPress.org
Twenty Seventeen is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Twenty Seventeen bundles the following third-party resources:

HTML5 Shiv, Copyright 2014 Alexander Farkas
Licenses: MIT/GPL2
Source: https://github.com/aFarkas/html5shiv

jQuery scrollTo, Copyright 2007-2015 Ariel Flesler
License: MIT
Source: https://github.com/flesler/jquery.scrollTo

normalize.css, Copyright 2012-2016 Nicolas Gallagher and Jonathan Neal
License: MIT
Source: https://necolas.github.io/normalize.css/

Font Awesome icons, Copyright Dave Gandy
License: SIL Open Font License, version 1.1.
Source: http://fontawesome.io/

Bundled header image, Copyright Alvin Engler
License: CC0 1.0 Universal (CC0 1.0)
Source: https://unsplash.com/@englr?photo=bIhpiQA009k

Bundled block pattern images, Copyright Solo Shutter
License: CC0 1.0 Universal (CC0 1.0)
Source: https://stocksnap.io/photo/striped-lines-BTNYMDDCBW
        https://stocksnap.io/photo/striped-lines-5XWOPSWPWX

Bundled block pattern image, Copyright Seacoast Sage
License: CC0 1.0 Universal (CC0 1.0)
Source: https://stocksnap.io/photo/striped-fabric-9CBVWF2CDU

== Changelog ==

= 2.7 =
* Released: April 14, 2021

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.7

= 2.6 =
* Released: March 9, 2021

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.6

= 2.5 =
* Released: December 8, 2020

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.5

= 2.4 =
* Released: August 11, 2020

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.4

= 2.3 =
* Released: March 31, 2020

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.3

= 2.2 =
* Released: May 7, 2019

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.2

= 2.1 =
* Released: February 21, 2019

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.1

= 2.0 =
* Released: January 9, 2019

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.0

= 1.9 =
* Released: December 19, 2018

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.9

= 1.8 =
* Released: December 6, 2018

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.8

= 1.7 =
* Released: August 2, 2018

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.7

= 1.6 =
* Released: May 17, 2018

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.6

= 1.5 =
* Released: April 4, 2018

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.5

= 1.4 =
* Released: November 14, 2017

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.4

= 1.3 =
* Released: June 8, 2017

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.3

= 1.2 =
* Released: April 18, 2017

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.2

= 1.1 =
* Released: January 6, 2017

https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.1

= 1.0 =
* Released: December 6, 2016

Initial release