Commit Graph

1826 Commits

Author SHA1 Message Date
Sergey Biryukov
fd16ae485b Avoid a PHP notice in bundled themes if no images were found.
props nabil_kadimi.
fixes #28361.
Built from https://develop.svn.wordpress.org/trunk@28585


git-svn-id: http://core.svn.wordpress.org/trunk@28410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-27 10:55:30 +00:00
Sergey Biryukov
7de1eac464 Twenty Fourteen: Bail early from Featured_Content::hide_featured_term() if term objects are unavailable.
fixes #28072.
Built from https://develop.svn.wordpress.org/trunk@28536


git-svn-id: http://core.svn.wordpress.org/trunk@28362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-22 09:25:15 +00:00
Lance Willett
9e869b472f Twenty Ten: correct attribute escaping in the attachment template. Props philiparthurmoore, see #28251.
Built from https://develop.svn.wordpress.org/trunk@28463


git-svn-id: http://core.svn.wordpress.org/trunk@28290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-16 22:44:15 +00:00
Lance Willett
b66cc87ea4 Twenty Fourteen: correct escaping for parent post link and attachment link in image template. Props philiparthurmoore, see #28251.
Built from https://develop.svn.wordpress.org/trunk@28462


git-svn-id: http://core.svn.wordpress.org/trunk@28289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-16 22:31:15 +00:00
Lance Willett
8f61b31b4d Twenty Thirteen: add accessibility-ready tag. Fixes #28225, props BODA1982.
Built from https://develop.svn.wordpress.org/trunk@28395


git-svn-id: http://core.svn.wordpress.org/trunk@28223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-13 23:10:16 +00:00
Lance Willett
42d2f4fc21 Bundled themes: use correct logic in IE conditional comments in header template. Props mikemanger, fixes #28151.
Built from https://develop.svn.wordpress.org/trunk@28341


git-svn-id: http://core.svn.wordpress.org/trunk@28169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-07 04:27:15 +00:00
Sergey Biryukov
2c97f4640b Prevent 'Page %s' from being added to page title on 404 error pages in bundled themes.
props psoluch, rob1n.
fixes #16468.
Built from https://develop.svn.wordpress.org/trunk@28250


git-svn-id: http://core.svn.wordpress.org/trunk@28078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-04 13:17:28 +00:00
Sergey Biryukov
9998560152 Twenty Fourteen: Avoid a PHP notice in Ephemera widget.
props jartes.
fixes #28055.
Built from https://develop.svn.wordpress.org/trunk@28248


git-svn-id: http://core.svn.wordpress.org/trunk@28076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-02 18:46:17 +00:00
Sergey Biryukov
e9e2cf05d8 Twenty Eleven: Correct description for twentyeleven_theme_options_render_page().
props ericlewis.
fixes #28057.
Built from https://develop.svn.wordpress.org/trunk@28237


git-svn-id: http://core.svn.wordpress.org/trunk@28065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-02 00:43:16 +00:00
Andrew Nacin
c7a5c91d5e Version bumps for Twenty Eleven, Twenty Twelve, Twenty Thirteen, Twenty Fourteen.
props lancewillett.
see #27843.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-19 18:26:15 +00:00
Andrew Nacin
a49c176661 Update POT files for bundled themes. see #27843.
Built from https://develop.svn.wordpress.org/trunk@28165


git-svn-id: http://core.svn.wordpress.org/trunk@27996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-19 18:23:14 +00:00
Lance Willett
0a97933302 Twenty Thirteen and Fourteen: style to support the new HTML5 line-break-less galleries. Props obenland, see #27637.
Built from https://develop.svn.wordpress.org/trunk@27926


git-svn-id: http://core.svn.wordpress.org/trunk@27756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 04:47:14 +00:00
Lance Willett
a450512b7b Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697) and captions (see #26642). Props obenland, closes #27502.
Built from https://develop.svn.wordpress.org/trunk@27763


git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Sergey Biryukov
a1c478586b Twenty Fourteen: Fix typo in contextual help.
props vanillalounge.
fixes #27493.
Built from https://develop.svn.wordpress.org/trunk@27661


git-svn-id: http://core.svn.wordpress.org/trunk@27504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 12:42:14 +00:00
Lance Willett
33d61b07f8 Twenty Fourteen: improved gallery styles in visual editor, props celloexpressions. Fixes #27462.
Built from https://develop.svn.wordpress.org/trunk@27641


git-svn-id: http://core.svn.wordpress.org/trunk@27484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 17:21:14 +00:00
Lance Willett
753ea17e53 Twenty Thirteen: add Audio, Video, and Gallery Styles to editor styles. Props celloexpressions, see #27462.
Built from https://develop.svn.wordpress.org/trunk@27638


git-svn-id: http://core.svn.wordpress.org/trunk@27481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:41:14 +00:00
Lance Willett
989fd79bd9 Twenty Fourteen: add Audio, Video, and Gallery Styles to editor styles. Props celloexpressions, see #27462.
Built from https://develop.svn.wordpress.org/trunk@27637


git-svn-id: http://core.svn.wordpress.org/trunk@27480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:27:16 +00:00
Lance Willett
a40a36e539 Twenty Fourteen: load Masonry after window load event to give more time for widget content to load before drawing the layout. Closes #27051.
Built from https://develop.svn.wordpress.org/trunk@27627


git-svn-id: http://core.svn.wordpress.org/trunk@27470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 23:08:14 +00:00
Lance Willett
4aacf01403 Twenty Fourteen: revert r27623 post_class filter removal since it will visually break pre-WP 3.9 installs. See #18804.
Built from https://develop.svn.wordpress.org/trunk@27624


git-svn-id: http://core.svn.wordpress.org/trunk@27467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 20:49:15 +00:00
Lance Willett
561ab7b840 Twenty Fourteen: remove post_class filter for has-post-thumbnail now that it's added in core for every theme. See #18804.
Built from https://develop.svn.wordpress.org/trunk@27623


git-svn-id: http://core.svn.wordpress.org/trunk@27466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 19:13:15 +00:00
Scott Taylor
b836d650bd On attachment pages for audio and video, display players. Currently, only a link is displayed. Add minimal CSS rules for compatibility with 2011, 2012, and 2013 themes.
In `prepend_attachment`, add logic to support attachment types that are not `image`.

In `get_post_class()`, don't add the `has-post-thumbnail` class for attachment pages.

Fixes #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 19:00:14 +00:00
Lance Willett
5d05c757b3 Twenty Thirteen: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. Closes #24839, props dannydehaan, joedolson, lancewillett, Frank Klein.
Built from https://develop.svn.wordpress.org/trunk@27607


git-svn-id: http://core.svn.wordpress.org/trunk@27450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:29:29 +00:00
Lance Willett
393381d3e4 Twenty Twelve: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. See #24839, props dannydehaan, joedolson, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@27606


git-svn-id: http://core.svn.wordpress.org/trunk@27449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:29:16 +00:00
Lance Willett
bba0e99688 Twenty Twelve: remove doc block comments for @return void. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27599


git-svn-id: http://core.svn.wordpress.org/trunk@27442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:49:15 +00:00
Lance Willett
4305c85fb2 Twenty Thirteen: remove doc block comments for @return void. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27598


git-svn-id: http://core.svn.wordpress.org/trunk@27441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:48:29 +00:00
Lance Willett
a3b09ba9d7 Twenty Eleven: remove doc block comments for @return void. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27597


git-svn-id: http://core.svn.wordpress.org/trunk@27440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:48:16 +00:00
Lance Willett
a46e7ca3dc Twenty Fourteen: remove doc block comments for @return void. See #27098, props philiparthurmoore.
Built from https://develop.svn.wordpress.org/trunk@27595


git-svn-id: http://core.svn.wordpress.org/trunk@27438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:44:14 +00:00
Lance Willett
ab92971817 Twenty Fourteen: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than h1 for the toggle element. Fixes #27147, props jartes and joedolson.
Built from https://develop.svn.wordpress.org/trunk@27594


git-svn-id: http://core.svn.wordpress.org/trunk@27437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:37:15 +00:00
Andrew Nacin
844cb9db71 Default Themes: Update POT files for trunk (3.9-beta).
Built from https://develop.svn.wordpress.org/trunk@27592


git-svn-id: http://core.svn.wordpress.org/trunk@27435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 19:21:15 +00:00
Lance Willett
589709bc3a Twenty Fourteen: improve i18n in Ephemera widget for better translation of plurals for post format archives. Fixes #27069, props Chouby, SergeyBiryukov, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@27589


git-svn-id: http://core.svn.wordpress.org/trunk@27432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 18:50:13 +00:00
Lance Willett
c1d52b5d63 Twenty Fourteen: make sure we only hide post content on small screens for default post types: post and page. Fixes #27031.
Built from https://develop.svn.wordpress.org/trunk@27587


git-svn-id: http://core.svn.wordpress.org/trunk@27430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 18:04:15 +00:00
Lance Willett
b6233e15a3 Twenty Fourteen: merge two similar strings in Customizer featured content help text. Props celloexpressions, fixes #26647.
Built from https://develop.svn.wordpress.org/trunk@27573


git-svn-id: http://core.svn.wordpress.org/trunk@27416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 22:07:14 +00:00
Lance Willett
6e312de1c4 Twenty Twelve: style select element. Props ramonchiara, fixes #27434.
Built from https://develop.svn.wordpress.org/trunk@27572


git-svn-id: http://core.svn.wordpress.org/trunk@27415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:58:16 +00:00
Lance Willett
3a68f836c1 Twenty Twelve: remove unused singular selectors in print CSS block. Props jbkkd, fixes #26866.
Built from https://develop.svn.wordpress.org/trunk@27571


git-svn-id: http://core.svn.wordpress.org/trunk@27414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:56:13 +00:00
Lance Willett
f7f4424611 Twenty Eleven: make sure top post meta output isn't broken on small screens. Fixes #27061.
Built from https://develop.svn.wordpress.org/trunk@27570


git-svn-id: http://core.svn.wordpress.org/trunk@27413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:51:15 +00:00
Lance Willett
38fd43aa3a Twenty Eleven: only show secondary skip link on pages with secondary content, and remove duplicate title attribute in site title output. Props bcworkz, fixes #26950.
Built from https://develop.svn.wordpress.org/trunk@27569


git-svn-id: http://core.svn.wordpress.org/trunk@27412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:50:14 +00:00
Andrew Nacin
616205856e Twenty Fourteen: Add a .button class.
props celloexpressions.
fixes #27075.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 19:54:15 +00:00
John Blackbourn
79d274f2f6 Add context and a missing period to widget descriptions. Fixes #26668. Props pavelevap, Hanni
Built from https://develop.svn.wordpress.org/trunk@27412


git-svn-id: http://core.svn.wordpress.org/trunk@27259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 17:26:17 +00:00
Scott Taylor
8dd1261904 In TwentyTwelve and TwentyThirteen, don't print the featurd image when viewing an attachment.
See #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 22:09:18 +00:00
Scott Taylor
6df629fb02 in TwentyFourteen: don't add the has-post-thumbnail class or print the featured image when viewing an attachment.
See #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:57:13 +00:00
Andrew Nacin
00bb092d31 Update the HTML5 Shiv across the default themes to 3.7.0.
props rickalee.
fixes #26491.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:18:14 +00:00
Lance Willett
27097dea2c Twenty Fourteen: fix Ephemera Widget to avoid showing full post content when displayed in single post or page. Restore the global $more to its original value after the widget output to avoid any issues caused by changing a global variable.
Props obenland, mor10, Frank Klein. See #26961.
Built from https://develop.svn.wordpress.org/trunk@27124


git-svn-id: http://core.svn.wordpress.org/trunk@26991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 18:03:13 +00:00
Lance Willett
ca16d41ac2 Twenty Fourteen: pinking shears.
Built from https://develop.svn.wordpress.org/trunk@27123


git-svn-id: http://core.svn.wordpress.org/trunk@26990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 18:02:13 +00:00
Lance Willett
c2f46ac811 Twenty Fourteen: translate featured tag slug used to link to specific tags in Posts editor. See #26526.
Built from https://develop.svn.wordpress.org/trunk@27122


git-svn-id: http://core.svn.wordpress.org/trunk@26989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:47:11 +00:00
Lance Willett
513202d24f Twenty Fourteen: fix unreachable links when the content area is shorter than the sidebar in smaller viewpoints. Props celloexpressions, see #26782.
Built from https://develop.svn.wordpress.org/trunk@27121


git-svn-id: http://core.svn.wordpress.org/trunk@26988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:43:11 +00:00
Lance Willett
88a2fe2986 Twenty Fourteen: delete the featured_content_ids transient on theme switch to make sure child themes can override the Featured Content quantity value. Also remove quantity parameter so child themes can change the amount of featured posts with $max_posts.
Props obenland, see #26660.
Built from https://develop.svn.wordpress.org/trunk@27120


git-svn-id: http://core.svn.wordpress.org/trunk@26987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:39:13 +00:00
Lance Willett
31e9d97412 Twenty Fourteen: make sure featured tag is hidden on front-end views as expected. Add a check for the tag name in case we're using default values and the default ID of 0 does not match the term id of the featured tag.
Props obenland, fixes #26732.
Built from https://develop.svn.wordpress.org/trunk@27118


git-svn-id: http://core.svn.wordpress.org/trunk@26985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:17:13 +00:00
Lance Willett
ab9e603c00 Twenty Fourteen: fix gap above static pages, props SergeyBiryukov. Fixes #26694.
Built from https://develop.svn.wordpress.org/trunk@27117


git-svn-id: http://core.svn.wordpress.org/trunk@26984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:11:12 +00:00
Andrew Nacin
c5802858cc Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter.
props michelwppi.
fixes #26811.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 13:57:12 +00:00
Andrew Nacin
c8eca4bf4a Twenty Fourteen POT update.
Built from https://develop.svn.wordpress.org/trunk@26860


git-svn-id: http://core.svn.wordpress.org/trunk@26746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-12 05:31:21 +00:00