WordPress/wp-content/themes/twentyten
Sergey Biryukov f053aed3ce Bundled Themes: Use correct path for loading images in block patterns.
By using `get_template_directory_uri()` instead of `get_stylesheet_directory_uri()`, we make sure to include the images from the parent theme.

This avoids displaying missing images in block patterns when using a child theme of Twenty Ten, Twenty Eleven, or Twenty Twelve.

Follow-up to [51033], [51103], [51106].

Props audrasjb.
Fixes #53769.
Built from https://develop.svn.wordpress.org/trunk@51483


git-svn-id: http://core.svn.wordpress.org/trunk@51094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-24 12:42:00 +00:00
..
images Bundled Themes: Introduce block patterns for Twenty Ten. 2021-06-08 18:53:59 +00:00
languages Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
404.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
attachment.php Default themes: Don't use /** docblocks for simple multiline comments. 2013-10-09 20:39:09 +00:00
author.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
block-patterns.php Bundled Themes: Use correct path for loading images in block patterns. 2021-07-24 12:42:00 +00:00
blocks.css Bundled Themes: Remove extra semicolons from CSS files. 2019-07-04 00:27:58 +00:00
category.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
comments.php I18N: Use consistent pattern for placeholder references in translator comments for some bundled theme strings. 2021-06-15 15:38:57 +00:00
editor-blocks.css Bundled Themes: Correct list block alignment in editor styles. 2020-11-06 11:53:05 +00:00
editor-style-rtl.css Fix alignment buttons when there is no content in editor under RTL, props SergeyBiryukov, fixes 18247 2011-10-29 00:17:37 +00:00
editor-style.css Fix UL, OL in Twenty Ten editor-style.css, see #18314 2011-09-28 15:16:30 +00:00
footer.php Coding Standards: Add missing translator comments to the default themes. 2019-07-09 01:10:00 +00:00
functions.php Twenty Ten: Use correct path for loading block patterns. 2021-07-23 13:13:58 +00:00
header.php Twenty Ten: Correct the fallback to the default header if the featured image width is narrower than the twentyten_header_image_width setting. 2021-02-16 19:28:04 +00:00
index.php Docs: Update Codex references to the Template_Hierarchy page. 2019-01-09 05:09:51 +00:00
license.txt
loop-attachment.php Twenty Ten: Correct $post_title variable name in loop-attachment.php. 2020-12-19 20:45:05 +00:00
loop-page.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
loop-single.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
loop.php Bundled Themes: Consistently check for WP_Error before outputting get_the_tag_list(). 2020-06-02 17:05:13 +00:00
onecolumn-page.php Twenty Ten: fix escaping and minor code style issues. See #29127. 2015-01-22 00:42:44 +00:00
page.php Default themes: Don't use /** docblocks for simple multiline comments. 2013-10-09 20:39:09 +00:00
readme.txt Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
rtl.css Bundled Themes: Update calendar widget styles for 5.4 markup. 2020-03-02 16:55:08 +00:00
screenshot.png Bundled themes: new screenshots at 880x660 to maximize theme goodness in the new theme viewer design. See #26159. 2013-12-06 22:07:10 +00:00
search.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
sidebar-footer.php Code is Poetry. 2017-11-30 23:11:00 +00:00
sidebar.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
single.php Default themes: Don't use /** docblocks for simple multiline comments. 2013-10-09 20:39:09 +00:00
style.css Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
tag.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00

=== Twenty Ten ===
Contributors: wordpressdotorg
Tested up to: 5.8
Stable tag: 3.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header, block-patterns

== Description ==
The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.

For more information about Twenty Ten theme please go to https://codex.wordpress.org/Twenty_Ten.

== Installation ==

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

== Copyright ==

Twenty Ten WordPress Theme, Copyright 2010-2021 WordPress.org & Automattic.com
Twenty Ten 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.

Images

“Boats Water Photo” by Bonnie Moreland. CC0. https://stocksnap.io/photo/boats-water-JZETH8NO7I
“Lake Sunset Photo” by Bonnie Moreland. CC0. https://stocksnap.io/photo/lake-sunset-XYK6WMBSOJ
“Old Barn Photo” by Bonnie Moreland. CC0. https://stocksnap.io/photo/old-barn-4HMJ2KQVX9

== Changelog ==

= 3.4 =
* Released: July 20, 2021

https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.4

= 3.3 =
* Released: March 9, 2021

https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.3

= 3.2 =
* Released: December 8, 2020

https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.2

= 3.1 =
* Released: August 11, 2020

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

= 3.0 =
* Released: March 31, 2020

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

= 2.9 =
* Released: May 7, 2019

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

= 2.8 =
* Released: February 21, 2019

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

= 2.7 =
* Released: December 19, 2018

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

= 2.6 =
* Released: December 6, 2018

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

= 2.5 =
* Released: May 17, 2018

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

= 2.4 =
* Released: November 14, 2017

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

= 2.3 =
* Released: June 8, 2017

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

= 2.2 =
* Released: August 15, 2016

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

= 2.1 =
* Released: December 8, 2015

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

= 2.0 =
* Released: August 18, 2015

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

= 1.9 =
* Released: April 23, 2015

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

= 1.8 =
* Released: December 18, 2014

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

= 1.7 =
* Released: September 4, 2014

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

= 1.6 =
* Released: August 1, 2013

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

= 1.5 =
* Released: December 11, 2012

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

= 1.4 =
* Released: June 13, 2012

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

= 1.3 =
* Released: December 12, 2011

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

= 1.2 =
* Released: February 23, 2011

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

= 1.1 =
* Released: July 29, 2010

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

= 1.0 =
* Released: June 17, 2010

Initial release.