WordPress/wp-content/themes/twentyfifteen
audrasjb 9564a68697 Twenty Fifteen: Use `#page` height instead of `body` height in sidebar scroll calculation.
This changeset replaces `bodyHeight = $body.height();` with `bodyHeight = $('#page).height();`. It fixes a JS issue in some specific context, when there is content generated right before the closing `body` tag. For example, this happens when the HTML content is added using the `wp_footer` filter.

Props stephenharris, sabernhardt, audrasjb.
Fixes #40492.

Built from https://develop.svn.wordpress.org/trunk@53247


git-svn-id: http://core.svn.wordpress.org/trunk@52836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-24 21:03:10 +00:00
..
assets Bundled Themes: Introduce block patterns for Twenty Fifteen. 2021-05-28 17:21:05 +00:00
css Twenty Fifteen: Add gradient background options using the theme color scheme. 2022-02-13 21:47:01 +00:00
genericons General: Use correct value for the `speak` property in various CSS files. 2020-10-26 02:25:09 +00:00
inc General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
js Twenty Fifteen: Use `#page` height instead of `body` height in sidebar scroll calculation. 2022-04-24 21:03:10 +00:00
404.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
archive.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
author-bio.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
content-link.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
content-none.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-page.php Bundled Themes: Use consistent HTML comments after closing HTML tags. 2019-04-16 01:30:53 +00:00
content-search.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
content.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
footer.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
functions.php Twenty Fifteen: Add gradient background options using the theme color scheme. 2022-02-13 21:47:01 +00:00
header.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
image.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
index.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
page.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
readme.txt Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00
rtl.css Comments: Move comment consent `input` outside the `label` for a11y. 2018-05-02 22:00:49 +00:00
screenshot.png Twenty Thirteen, Twenty Fourteen, Twenty Fifteen: Update screenshots to 1200 x 900 2016-03-18 17:01:29 +00:00
search.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
sidebar.php General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
single.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
style.css Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00

readme.txt

=== Twenty Fifteen ===
Contributors: wordpressdotorg
Requires at least: WordPress 4.1
Tested up to: 5.9
Version: 3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns

== Description ==
Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.

* Mobile-first, Responsive Layout
* Custom Colors
* Custom Header
* Social Links
* Menu Description
* Post Formats
* The GPL v2.0 or later license. :) Use it to make something cool.

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

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Fifteen 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-fifteen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.

== Copyright ==

Twenty Fifteen WordPress Theme, Copyright 2014-2022 WordPress.org & Automattic.com
Twenty Fifteen 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 Fifteen Theme bundles the following third-party resources:

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

Genericons icon font, Copyright 2013-2017 Automattic.com
License: GNU GPL, Version 2 (or later)
Source: http://www.genericons.com

Block Pattern Images
License: CC0
Source: https://stocksnap.io/photo/purple-yellow-ACF0693B9C
        https://stocksnap.io/photo/sky-sunset-BE7A7709D0
        https://stocksnap.io/photo/sunset-pier-77F43EA43C

== Changelog ==

= 3.1 =
* Released: January 25, 2022

https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_3.1

= 3.0 =
* Released: July 20, 2021

https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_3.0

= 2.9 =
* Released: March 9, 2021

https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.9

= 2.8 =
* Released: December 8, 2020

https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.8

= 2.7 =
* Released: August 11, 2020

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

= 2.6 =
* Released: March 31, 2020

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

= 2.5 =
* Released: May 7, 2019

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

= 2.4 =
* Released: February 21, 2019

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

= 2.3 =
* Released: January 9, 2019

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

= 2.2 =
* Released: December 19, 2018

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

= 2.1 =
* Released: December 6, 2018

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

= 2.0 =
* Released: May 17, 2018

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

= 1.9 =
* Released: November 14, 2017

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

= 1.8 =
* Released: June 8, 2017

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

= 1.7 =
* Released: December 6, 2016

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

= 1.6 =
* Released: August 15, 2016

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

= 1.5 =
* Released: April 12, 2016

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

= 1.4 =
* Released: December 8, 2015

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

= 1.3 =
* Released: August 18, 2015

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

= 1.2 =
* Released: May 6, 2015

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

= 1.1 =
* Released: April 23, 2015

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

= 1.0 =
* Released: December 18, 2014

Initial release