Joe McGill
030bc377dd
Themes: Enable video in custom headers.
...
This adds the ability for themes to add support for videos in custom headers
by passing `'video' => true` as an argument when adding theme support for
custom headers.
Custom video headers are managed through the “Header Visuals” (i.e. “Header Image”)
panel in the Customizer where you can select a video from the media library or set a
URL to an external video (YouTube for now) for use in custom headers.
This introduces several new functions:
`has_header_video()` – Check whether a header video is set or not.
`get_header_video_url()` – Retrieve header video URL for custom header.
`the_header_video_url()` – Display header video URL.
`get_header_video_settings()` – Retrieve header video settings.
`has_custom_header()` – Check whether a custom header is set or not.
`get_custom_header_markup()` – Retrieve the markup for a custom header.
`the_custom_header_markup()` – Print the markup for a custom header.
And a new file, `wp-includes/js/wp-custom-header.js` that handles loading videos
in custom headers.
This also enables video headers in the Twenty Seventeen and Twenty Fourteen themes.
Props davidakennedy, celloexpressions, bradyvercher, laurelfulford, joemcgill.
Fixes #38172 .
Built from https://develop.svn.wordpress.org/trunk@38985
git-svn-id: http://core.svn.wordpress.org/trunk@38928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-27 21:51:31 +00:00
Weston Ruter
71afe657b6
Customize: Add edit shortcuts in customizer preview to visually expose editable elements and focus on the corresponding controls when clicked.
...
* Edit shortcuts show initially for a moment and then fade away so as to not get in the way of the preview.
* Visibility of edit shortcuts is toggled by clicking/touching anywhere inert in the document.
* Implements UI for mobile and touch devices which do not support shift-click.
* Adds `editShortcutVisibility` state.
* Adds new methods to `wp.customize.selectiveRefresh.Partial` for managing edit shortcuts.
Incorporates aspects of the Customize Direct Manipulation feature plugin.
Props sirbrillig, mattwiebe, celloexpressions, melchoyce, westonruter, afercia.
Fixes #27403 .
Built from https://develop.svn.wordpress.org/trunk@38967
git-svn-id: http://core.svn.wordpress.org/trunk@38910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 20:03:32 +00:00
Dominik Schilling
f6e5d8db6c
Bundled Themes: Bump versions and update theme tags.
...
* Twenty Ten 2.2
* Twenty Eleven 2.5
* Twenty Twelve 2.1
* Twenty Thirteen 2.0
* Twenty Fourteen 1.8
* Twenty Fifteen 1.6
Props davidakennedy.
Fixes #37426 .
Built from https://develop.svn.wordpress.org/trunk@38171
git-svn-id: http://core.svn.wordpress.org/trunk@38112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-31 16:37:32 +00:00
Helen Hou-Sandí
5d8b9805eb
Default theme bumps for 4.5.
...
* Twenty Eleven 2.4
* Twenty Twelve 2.0
* Twenty Thirteen 1.9
* Twenty Fourteen 1.7
* Twenty Fifteen 1.5
props davidakennedy, ocean90.
fixes #36354 .
Built from https://develop.svn.wordpress.org/trunk@37168
git-svn-id: http://core.svn.wordpress.org/trunk@37135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-08 21:22:28 +00:00
Konstantin Obenland
c13130918a
Bundled Themes: Prevent elements within fieldsets from overflowing in Webkit.
...
Fixes #35421 .
Built from https://develop.svn.wordpress.org/trunk@36875
git-svn-id: http://core.svn.wordpress.org/trunk@36842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 19:15:30 +00:00
Mike Schroder
8d220df08b
Bundled Themes: Bump version numbers in default themes.
...
Props davidakennedy.
Fixes #34804 .
Built from https://develop.svn.wordpress.org/trunk@35802
git-svn-id: http://core.svn.wordpress.org/trunk@35766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-06 22:01:27 +00:00
Dominik Schilling
c478eee017
Bundled Themes: Bump version numbers and update POT files.
...
see #32978 .
Built from https://develop.svn.wordpress.org/trunk@33449
git-svn-id: http://core.svn.wordpress.org/trunk@33416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 19:50:25 +00:00
Dominik Schilling
de1a9710ca
Bundled Themes: Bump version numbers and update POT files.
...
fixes #32032 .
Built from https://develop.svn.wordpress.org/trunk@32276
git-svn-id: http://core.svn.wordpress.org/trunk@32247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 15:16:29 +00:00
Sergey Biryukov
8338d3dff7
Bundled themes: Add trailing slashes to theme URIs to avoid a redirect.
...
props obenland.
see #31839 .
Built from https://develop.svn.wordpress.org/trunk@31840
git-svn-id: http://core.svn.wordpress.org/trunk@31822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 01:32:26 +00:00
Sergey Biryukov
5ff8809173
Bundled themes: Use SSL for theme and author URIs.
...
props mercime.
fixes #31699 . see #27115 .
Built from https://develop.svn.wordpress.org/trunk@31839
git-svn-id: http://core.svn.wordpress.org/trunk@31821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 01:22:26 +00:00
Lance Willett
52e5bc2eee
Bundled themes: update CSS rules for `.screen-reader-text` to be consistent with current accessibility guidelines. Fixes #31279 .
...
Built from https://develop.svn.wordpress.org/trunk@31464
git-svn-id: http://core.svn.wordpress.org/trunk@31445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-14 17:29:29 +00:00
Lance Willett
dbfcd52c33
Bundled themes: remove URLs from reset credits. Closes #30764 .
...
Built from https://develop.svn.wordpress.org/trunk@31454
git-svn-id: http://core.svn.wordpress.org/trunk@31435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 18:02:25 +00:00
Lance Willett
b4947868e0
Bundled Themes: bump version numbers to coordinate with 4.1 release.
...
Built from https://develop.svn.wordpress.org/trunk@30967
git-svn-id: http://core.svn.wordpress.org/trunk@30954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 16:19:22 +00:00
Mark Jaquith
0d3b83551f
Use HTTPS URLs for core.trac.wordpress.org
...
see #27115
Built from https://develop.svn.wordpress.org/trunk@29788
git-svn-id: http://core.svn.wordpress.org/trunk@29560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-29 13:28:16 +00:00
Sergey Biryukov
f35285450a
Bundled themes: Prevent the arrow in "Continue reading" links from wrapping to a second line.
...
props DustinHartzler, dominik.schwind.
fixes #27908 .
Built from https://develop.svn.wordpress.org/trunk@29771
git-svn-id: http://core.svn.wordpress.org/trunk@29543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-27 08:02:16 +00:00
Andrew Nacin
767661ee0a
Bump versions and POT files for all bundled themes. fixes #29478 .
...
Built from https://develop.svn.wordpress.org/trunk@29682
git-svn-id: http://core.svn.wordpress.org/trunk@29457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 00:47:16 +00:00
Lance Willett
22997677e0
Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469 .
...
Built from https://develop.svn.wordpress.org/trunk@29168
git-svn-id: http://core.svn.wordpress.org/trunk@28952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 17:48:15 +00:00
Lance Willett
5579f03783
Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above.
...
Props kraftbj and obenland, fixes #28649 .
Built from https://develop.svn.wordpress.org/trunk@29101
git-svn-id: http://core.svn.wordpress.org/trunk@28887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 19:24:15 +00:00
Lance Willett
f409bd9516
Twenty Fourteen: more graceful handling of super-long site titles in small screens: add an ellipsis and adjust `max-width` more carefully.
...
Props celloexpressions, schoenwaldnils, and obenland -- fixes #28237 .
Built from https://develop.svn.wordpress.org/trunk@29096
git-svn-id: http://core.svn.wordpress.org/trunk@28882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 18:01:14 +00:00
Dominik Schilling
aa162f365e
Twenty Fourteen: Adjust spacing for menu toggle button to avoid overflowing accented characters.
...
Broken in [28698].
props schoenwaldnils.
fixes #27456 .
Built from https://develop.svn.wordpress.org/trunk@28756
git-svn-id: http://core.svn.wordpress.org/trunk@28570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-16 14:01:15 +00:00
Lance Willett
8ded986462
Twenty Fourteen: fix menu toggle display on older Android devices. Props obenland, DavidTheMachine. Fixes #27456 .
...
Built from https://develop.svn.wordpress.org/trunk@28698
git-svn-id: http://core.svn.wordpress.org/trunk@28515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-08 18:24:16 +00:00
Lance Willett
c54618ab9c
Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469 .
...
Built from https://develop.svn.wordpress.org/trunk@28694
git-svn-id: http://core.svn.wordpress.org/trunk@28512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:57:14 +00:00
Lance Willett
581c043c22
Twenty Fourteen: Apply `max-width` values to avoid site title breaking the layout in small screens. Props sixhours, rclations. See #28237 .
...
Built from https://develop.svn.wordpress.org/trunk@28691
git-svn-id: http://core.svn.wordpress.org/trunk@28509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 17:31:15 +00:00
Lance Willett
f83806b4ba
Twenty Fourteen: fix playlist track color in content sidebar. Props celloexpressions, fixes #28457 .
...
Built from https://develop.svn.wordpress.org/trunk@28690
git-svn-id: http://core.svn.wordpress.org/trunk@28508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 17:22:13 +00:00
Lance Willett
aea136ec06
Twenty Fourteen: apply `.widget` input and textarea styles only if they are inside `.widget-area`. Props jesin, fixes #27677 .
...
Built from https://develop.svn.wordpress.org/trunk@28663
git-svn-id: http://core.svn.wordpress.org/trunk@28481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-04 17:34:14 +00:00
Lance Willett
a556d9470e
Twenty Fourteen: adjust spacing for site description (tagline) to avoid cutting off accented characters. Props SergeyBiryukov, iamtakashi. Fixes #28397 .
...
Built from https://develop.svn.wordpress.org/trunk@28630
git-svn-id: http://core.svn.wordpress.org/trunk@28450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-30 17:09:14 +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
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
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
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
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
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
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
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
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
Matt Mullenweg
facb5df2fb
We forgot the text domain, which made translation break. Fixes #26542 .
...
Props SergeyBiryukov and pavelevap
Built from https://develop.svn.wordpress.org/trunk@26852
git-svn-id: http://core.svn.wordpress.org/trunk@26739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 22:48:11 +00:00
Andrew Nacin
aec9b195ef
Fix typos in Twenty Fourteen description.
...
props jeffr0.
fixes #26528 .
Built from https://develop.svn.wordpress.org/trunk@26850
git-svn-id: http://core.svn.wordpress.org/trunk@26737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:56:10 +00:00
Andrew Nacin
6bf7872210
Bump Twenty Fourteen to 1.0.
...
props lancewillett.
fixes #26522 .
Built from https://develop.svn.wordpress.org/trunk@26849
git-svn-id: http://core.svn.wordpress.org/trunk@26736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:43:10 +00:00
Lance Willett
adb22a86fd
Twenty Fourteen: match `screen-reader-text` accessibility styles a bit better with core, to avoid a jump when you move through the links, and to avoid a horizontal scroll at certain viewport widths. Also fix JS focus by specifying the first match object. Closes #25592 .
...
Built from https://develop.svn.wordpress.org/trunk@26843
git-svn-id: http://core.svn.wordpress.org/trunk@26730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:38:12 +00:00
Lance Willett
dc4c8e91aa
Twenty Fourteen: fix breakpoint at 782 pixels wide to exactly match WordPress toolbar breakpoint. Props jjj, fixes #26501 .
...
Built from https://develop.svn.wordpress.org/trunk@26831
git-svn-id: http://core.svn.wordpress.org/trunk@26718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:11:10 +00:00
Lance Willett
3dc744d0cb
Twenty Fourteen: minor spacing and CSS formatting fixes. See #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26810
git-svn-id: http://core.svn.wordpress.org/trunk@26697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 23:11:10 +00:00
Lance Willett
aa5e3813ad
Twenty Fourteen: minor fixes to main and RTL CSS files' table of contents.
...
Built from https://develop.svn.wordpress.org/trunk@26713
git-svn-id: http://core.svn.wordpress.org/trunk@26602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 02:22:11 +00:00
Matt Mullenweg
ba93d95af0
Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442 .
...
Props Otto42 and lancewillett.
Built from https://develop.svn.wordpress.org/trunk@26711
git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Lance Willett
017fd0b083
Twenty Fourteen: fix too-wide search "jump to" link and provide focus on the search input when it's used. Closes #25592 .
...
Built from https://develop.svn.wordpress.org/trunk@26691
git-svn-id: http://core.svn.wordpress.org/trunk@26581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:28:11 +00:00
Lance Willett
8e352c8187
Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444 .
...
Built from https://develop.svn.wordpress.org/trunk@26689
git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett
51bd1000c2
Twenty Fourteen: rework "current menu" submenu icons to use Genericons for simplicity and to inherit colors better. Props celloexpressions, fixes #26424 .
...
Built from https://develop.svn.wordpress.org/trunk@26662
git-svn-id: http://core.svn.wordpress.org/trunk@26552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:15:12 +00:00
Lance Willett
ae33743f4c
Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379 .
...
Built from https://develop.svn.wordpress.org/trunk@26661
git-svn-id: http://core.svn.wordpress.org/trunk@26551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:13:10 +00:00
Matt Mullenweg
e20a684463
Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
...
Props lancewillett.
Built from https://develop.svn.wordpress.org/trunk@26658
git-svn-id: http://core.svn.wordpress.org/trunk@26548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:49:10 +00:00
Lance Willett
53d959ef0e
Twenty Fourteen: avoid overflow for `audio` and similar elements. Fixes #26426 .
...
Built from https://develop.svn.wordpress.org/trunk@26655
git-svn-id: http://core.svn.wordpress.org/trunk@26545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:35:10 +00:00