desrosj
fc2c675582
Twenty Eleven: Correct `linear-gradient` direction argument syntax.
...
In CSS, the `linear-gradient` function requires that the direction value explicitly use `to` instead of an implicit `from`.
Props: ianbelanger, Malae, man4toman.
Fixes #46770 .
Built from https://develop.svn.wordpress.org/trunk@45109
git-svn-id: http://core.svn.wordpress.org/trunk@44918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-04 18:26:52 +00:00
Sergey Biryukov
45cd565be3
Twenty Fifteen: Fix typo in a comment for print styles.
...
Props mukesh27.
Fixes #46767 .
Built from https://develop.svn.wordpress.org/trunk@45096
git-svn-id: http://core.svn.wordpress.org/trunk@44905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-02 13:07:51 +00:00
Sergey Biryukov
76e6cc67c2
Bundled Themes: Link to an updated documentation on child themes on developer.wordpress.org, instead of Codex.
...
Props man4toman, andraganescu.
Fixes #46450 .
Built from https://develop.svn.wordpress.org/trunk@45081
git-svn-id: http://core.svn.wordpress.org/trunk@44890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-01 11:56:52 +00:00
Sergey Biryukov
9ebc5e85fd
Twenty Nineteen: Update `Theme URI` to point to the Theme Directory instead of the archived GitHub repository.
...
Update `style.scss` and `style-rtl.css`, missed in [45032].
Props dimadin.
See #46668 .
Built from https://develop.svn.wordpress.org/trunk@45057
git-svn-id: http://core.svn.wordpress.org/trunk@44866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-28 20:58:51 +00:00
Sergey Biryukov
07d5eda632
Twenty Seventeen: Make `<th>` styling in table block consistent between back end and front end.
...
Props ianbelanger.
Fixes #46568 .
Built from https://develop.svn.wordpress.org/trunk@45051
git-svn-id: http://core.svn.wordpress.org/trunk@44860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-28 15:25:50 +00:00
Adam Silverstein
418afaa938
Bundled Theme: trigger a new `wp_body_open` action immediately after the opening `body` tag.
...
* Enables inserting (asynchronous) JavaScript right after the opening `body` tag.
* Add a `wp_body_open` helper function that triggers the `wp_body_open` action.
* Call `wp_body_open` in core themes immediately after the opening `body` tag.
Props joostdevalk, valendesigns, nacin, saracup, jorbin, mikeschinkel, jonnybojangles, lgedeon, Willscrlt, Denis-de-Bernardy, lexiqueen, sky_76, welcher, westonruter, ramiy, joyously.
Fixes #12563 .
Built from https://develop.svn.wordpress.org/trunk@45042
git-svn-id: http://core.svn.wordpress.org/trunk@44851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-27 21:59:52 +00:00
Sergey Biryukov
8633d837ee
Twenty Nineteen: Update `Theme URI` to point to the Theme Directory instead of the archived GitHub repository.
...
Props dimadin.
Fixes #46668 .
Built from https://develop.svn.wordpress.org/trunk@45032
git-svn-id: http://core.svn.wordpress.org/trunk@44841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-27 14:32:51 +00:00
Andrea Fercia
faf11c8875
Accessibility: Improve the "Hello Dolly" accessibility.
...
- adds a visually hidden text to give context to the lyrics
- the text is `Quote from Hello Dolly song, by Jerry Herman:`
- adds a `lang` HTML attribute (when the admin language is not English) to better support assistive technologies
- adds a `dir` HTML attribute to better support the LTR English lyrics with RTL languages
- CSS adjustments
Props audrasjb, SergeyBiryukov, danieltj, birgire, karmatosed, desrosj, afercia.
Fixes #43632 .
Built from https://develop.svn.wordpress.org/trunk@44929
git-svn-id: http://core.svn.wordpress.org/trunk@44760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-18 17:19:50 +00:00
allancole
df240768e3
Twenty Nineteen: Improve custom color behavior for InnerBlocks
...
Currently, if a parent block has a custom background color assigned, its child blocks will inherit the parent's text colors — even if the child block has its own custom text color assigned to it.
This update changes the following:
- Adjusts Twenty Nineteen's custom background color defaults to target direct children only which fixes the issue
Props kjellr.
See #46432 .
Built from https://develop.svn.wordpress.org/trunk@44818
git-svn-id: http://core.svn.wordpress.org/trunk@44650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-07 22:37:50 +00:00
Aaron Jorbin
71cf332e65
Replace usages of basename() with wp_basename() in order to support multibyte filenames
...
This is focused on the pieces of code that touch media files and the tests that support them. `basename` isn't multibyte compatible out of the box. See http://php.net/basename and https://bugs.php.net/bug.php?id=62119 .
See #43170 .
Props Viper007Bond.
Built from https://develop.svn.wordpress.org/trunk@44785
git-svn-id: http://core.svn.wordpress.org/trunk@44617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-01 20:58:52 +00:00
Sergey Biryukov
60c217f531
Twenty Nineteen: Remove stray `÷` character in `print.css`.
...
Props mukesh27, laurelfulford.
Fixes #46083 .
Built from https://develop.svn.wordpress.org/trunk@44774
git-svn-id: http://core.svn.wordpress.org/trunk@44606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-28 02:47:51 +00:00
Sergey Biryukov
f7f806b5ef
Twenty Nineteen: Update `style-rtl.css` after [44657].
...
See #45731 .
Built from https://develop.svn.wordpress.org/trunk@44773
git-svn-id: http://core.svn.wordpress.org/trunk@44605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-28 02:44:49 +00:00
Sergey Biryukov
f0a9df1aa2
Twenty Nineteen: Avoid nested comment author links in `TwentyNineteen_Walker_Comment::html5_comment()`.
...
Props iamdmitrymayorov, mukesh27.
Fixes #46291 .
Built from https://develop.svn.wordpress.org/trunk@44771
git-svn-id: http://core.svn.wordpress.org/trunk@44603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-28 01:55:50 +00:00
laurelfulford
fd8a3db97b
Twenty Nineteen: Update the quote block styles.
...
Update the theme's quote block border styles, so they will work better with the updated styles for the quote block, coming in Gutenberg 5.2.
Props @kjellr.
Fixes #46239 .
Built from https://develop.svn.wordpress.org/trunk@44739
git-svn-id: http://core.svn.wordpress.org/trunk@44571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-13 18:40:49 +00:00
laurelfulford
a1eceec5bd
Default Themes: Bump the version numbers and release dates.
...
Update the theme versions and release dates for the default themes, in time for WordPress 5.1.
The POT files for Twenty Eleven and Twenty Ten have also been updated.
Fixes #46070 .
Built from https://develop.svn.wordpress.org/trunk@44730
git-svn-id: http://core.svn.wordpress.org/trunk@44561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-07 23:23:50 +00:00
laurelfulford
b9e6b7e2a3
Twenty Seventeen: Update blockquote alignment on load.
...
The theme uses JavaScript to check if a right-aligned blockquote is below the sidebar content before pushing it outside of the content area. This was originally only firing on browser resize.
Fixes #40103 .
Built from https://develop.svn.wordpress.org/trunk@44679
git-svn-id: http://core.svn.wordpress.org/trunk@44510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-21 22:08:49 +00:00
laurelfulford
5c86facd5d
Twenty Seventeen: Prevent YouTube videos from being cut off in Safari.
...
The theme's `object-fit: cover` styles for the header caused YouTube videos to be positioned too far left in Safari.
Fixes #40522 .
Built from https://develop.svn.wordpress.org/trunk@44669
git-svn-id: http://core.svn.wordpress.org/trunk@44500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-21 18:03:51 +00:00
laurelfulford
3993b8cda2
Twenty Nineteen: Create separate `:lang()` selectors for Devanagari.
...
In the non-latin font fallback styles, languages using the Devanagari alphabet were initially committed in a comma-separated list in the `:lang()` selector, which isn't fully supported. This update separates those languages into their own `:lang()` selectors.
Props mako09.
Fixes #45731 .
Built from https://develop.svn.wordpress.org/trunk@44657
git-svn-id: http://core.svn.wordpress.org/trunk@44488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-20 20:23:51 +00:00
laurelfulford
fc83cdfe6c
Twenty Nineteen: Fix alignment of page title when there are no posts.
...
Fix the alignment of the "Nothing Found" page title when there are no posts, to match how it appears for the search results when nothing is found, and the 404 page.
Props kjellr, lorenzone92.
Fixes #45887 .
Built from https://develop.svn.wordpress.org/trunk@44652
git-svn-id: http://core.svn.wordpress.org/trunk@44483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-18 20:46:51 +00:00
laurelfulford
f8d655fe37
Twenty Nineteen: Use a less aggressive approach for non-latin font fallbacks.
...
The theme's original approach to its non-latin font fallbacks required `!important`, which overrode fonts that shouldn't have been changed, like the icon fonts used for editor buttons.
Props kjellr, mako09, allancole.
Fixes #45731 .
Built from https://develop.svn.wordpress.org/trunk@44650
git-svn-id: http://core.svn.wordpress.org/trunk@44481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-18 18:38:50 +00:00
Gary Pendergast
7a617078fa
Coding Standards: Upgrade WPCS to 1.2.1.
...
This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.
Fixes #45956 .
Built from https://develop.svn.wordpress.org/trunk@44574
git-svn-id: http://core.svn.wordpress.org/trunk@44405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-12 06:41:52 +00:00
Gary Pendergast
08e8270a48
Coding Standards: Extract `extract()` from the codebase.
...
Of the last four instances of `extract()` occurring, three of them are removed by this commit, and the fourth is appropriately documented.
See #45934 .
Built from https://develop.svn.wordpress.org/trunk@44569
git-svn-id: http://core.svn.wordpress.org/trunk@44400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-12 03:20:48 +00:00
Gary Pendergast
4f861b9548
Coding Standards: Fix the `Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace` violations.
...
See #45934 .
Built from https://develop.svn.wordpress.org/trunk@44566
git-svn-id: http://core.svn.wordpress.org/trunk@44397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-11 06:40:50 +00:00
Gary Pendergast
c008959e9e
Coding Standards: Fix the minor `WordPress.WP.I18n` violations.
...
`WordPress.WP.I18n.MissingTranslatorsComment` is in progress in #44360 .
See #45934 .
Built from https://develop.svn.wordpress.org/trunk@44562
git-svn-id: http://core.svn.wordpress.org/trunk@44393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-11 06:04:49 +00:00
Gary Pendergast
be127956e0
Bundled Themes: Run the `pingback_url` through `esc_url()`.
...
Twenties Ten through Seventeen have been updated to properly escape the pingback URL. Twenty Nineteen is already escaping the URL.
Props soulseekah, sharaz.
Fixes #43717 .
Built from https://develop.svn.wordpress.org/trunk@44500
git-svn-id: http://core.svn.wordpress.org/trunk@44331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 06:11:51 +00:00
Gary Pendergast
a583725622
Docs: Update Codex references to the `Template_Hierarchy` page.
...
https://codex.wordpress.org/Template_Hierarchy redirects to https://developer.wordpress.org/themes/basics/template-hierarchy/ , so we should link to the correct page.
Props kmeze, pento.
Fixes #45222 .
Built from https://develop.svn.wordpress.org/trunk@44496
git-svn-id: http://core.svn.wordpress.org/trunk@44327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 05:09:51 +00:00
desrosj
58d5410ceb
Docs: Fix typos in Twenty Seventeen function descriptions.
...
Props faisal03, mukesh27.
Fixes #45466 .
Built from https://develop.svn.wordpress.org/trunk@44479
git-svn-id: http://core.svn.wordpress.org/trunk@44310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-08 19:22:49 +00:00
Gary Pendergast
7d77a6eb04
Docs: Correct the parameters passed to the `twentyseventeen_custom_header_args` filter.
...
The documented `$default_text_color` parameter isn't passed, and the `$video` parameter is passed, but not documented.
Props mukesh27.
Fixes #44920 .
Built from https://develop.svn.wordpress.org/trunk@44462
git-svn-id: http://core.svn.wordpress.org/trunk@44293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-08 05:56:49 +00:00
Sergey Biryukov
8917b0e89f
Default Themes: Bump the version numbers and release dates.
...
Update the theme versions and release dates for the default themes, in time for WordPress 5.0.3.
The POT file for Twenty Eleven has also been updated.
Props laurelfulford.
Fixes #45792 .
Built from https://develop.svn.wordpress.org/trunk@44435
git-svn-id: http://core.svn.wordpress.org/trunk@44266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 18:58:50 +00:00
Sergey Biryukov
1a622a8b81
Twenty Twelve: Correct `padding` rule precedence for Quote block.
...
Props superpoincare.
Fixes #45794 .
Built from https://develop.svn.wordpress.org/trunk@44432
git-svn-id: http://core.svn.wordpress.org/trunk@44263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 18:09:54 +00:00
desrosj
5781515e7d
Twenty Seventeen: Update `since` and `see` annotations for `twentyseventeen_unique_id()`.
...
Previously introduced in [43659].
See #44883 .
Built from https://develop.svn.wordpress.org/trunk@44408
git-svn-id: http://core.svn.wordpress.org/trunk@44238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:15:49 +00:00
laurelfulford
1c4a23faad
Twenty Seventeen: Improve selectors for block editor custom colors.
...
Twenty Seventeen's original styles for the block editor custom colors had some issues: they weren't being applied to the button blocks due to lack of specificity, and when applied to paragraph blocks, there was no padding in the editor. This update makes sure the colors and related styles work as expected.
Fixes #45426 .
Built from https://develop.svn.wordpress.org/trunk@44402
git-svn-id: http://core.svn.wordpress.org/trunk@44232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-05 21:16:49 +00:00
laurelfulford
dfeda2fb94
Bundled Themes: Bump script and style version numbers.
...
When existing scripts or styles are updated in default themes, the version numbers in the enqueues should also be bumped to make sure the old files don't cache. This update bumps version numbers for changes since version 5.0, for themes Twenty Eleven through Twenty Nineteen.
Fixes #45679 .
Built from https://develop.svn.wordpress.org/trunk@44382
git-svn-id: http://core.svn.wordpress.org/trunk@44212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 18:04:50 +00:00
laurelfulford
30c7257aad
Bundled Themes: Make sure button blocks respect settings.
...
When the original block editor styles were added to the existing default themes, the button blocks were styled to match how each theme styled the `button` tag.
However, the styles should respect the block editor's default style, "Rounded", and allow switching to the other styles, like "Outlined" and "Square".
Fixes #45541 .
Built from https://develop.svn.wordpress.org/trunk@44381
git-svn-id: http://core.svn.wordpress.org/trunk@44211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 03:53:53 +00:00
laurelfulford
1d2efe8fa7
Twenty Fourteen: Correct video play button position.
...
A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position.
Props mmaumio, celloexpressions.
Fixes #44664 .
Built from https://develop.svn.wordpress.org/trunk@44380
git-svn-id: http://core.svn.wordpress.org/trunk@44210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-02 01:47:51 +00:00
laurelfulford
7b44d484ea
Twenty Fourteen: Remove text decoration from button block.
...
The button block in Twenty Fourteen was incorrectly inheriting a text underline from the theme's link styles.
Props bobbingwide.
Fixes #45732 .
Built from https://develop.svn.wordpress.org/trunk@44378
git-svn-id: http://core.svn.wordpress.org/trunk@44208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-01 17:40:54 +00:00
laurelfulford
b7d28b5406
Twenty Nineteen: Update theme description and tags.
...
The original theme description in Twenty Nineteen was intended as a placeholder; this update replaces it with a proper description, and removes the unnecessary `theme-options` tag.
Props jobthomas, kjellr.
Fixes #45693 .
Built from https://develop.svn.wordpress.org/trunk@44377
git-svn-id: http://core.svn.wordpress.org/trunk@44207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-31 18:06:50 +00:00
laurelfulford
fcc423097c
Twenty Nineteen: Improve menu semantics and keyboard navigation.
...
The menu's original markup included some non-semantic tags and an unnecessary `tabindex` attribute that made it difficult to navigate via keyboard.
Props allancole, anevins, kjellr.
Fixes #45713 .
Built from https://develop.svn.wordpress.org/trunk@44376
git-svn-id: http://core.svn.wordpress.org/trunk@44206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-31 17:49:50 +00:00
laurelfulford
7a3648a1e8
Twenty Nineteen: Push right-aligned image block outside of text column.
...
Update right-aligned image block styles to push them outside of the text column on the front end, to match the original design and how the block looks in the editor.
Props kjellr, joen, allancole.
Fixes #45716 .
Built from https://develop.svn.wordpress.org/trunk@44371
git-svn-id: http://core.svn.wordpress.org/trunk@44201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-28 21:22:51 +00:00
laurelfulford
dd37acabea
Twenty Nineteen: Fix hover appearance for outlined button block style.
...
The outlined button block style was displaying white text on a white background on hover. This update makes sure the text remains legible on hover when this button style is applied.
Props rickalee, kjellr.
Fixes #45726 .
Built from https://develop.svn.wordpress.org/trunk@44370
git-svn-id: http://core.svn.wordpress.org/trunk@44200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-28 20:15:49 +00:00
laurelfulford
3a155f3683
Twenty Nineteen: Remove underline from "Continue Reading" arrow.
...
The "Continue Reading" link that's generated by the More block is styled to include an arrow next to the text; that arrow shouldn't inherit the text underline style. This update removes it.
Props littlebigthing, kjellr.
Fixes #45715 .
Built from https://develop.svn.wordpress.org/trunk@44369
git-svn-id: http://core.svn.wordpress.org/trunk@44199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-28 19:20:51 +00:00
laurelfulford
bf308f6e92
Twenty Nineteen: Remove transparency from submenus.
...
On pages and posts with featured images, the top level menu items have a slight transparency on hover, which was being inherited by their submenus. This update removes that inheritance, improving readability and consistency in the menu's appearance.
Props kjellr.
Fixes #45689 .
Built from https://develop.svn.wordpress.org/trunk@44368
git-svn-id: http://core.svn.wordpress.org/trunk@44198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-28 18:12:51 +00:00
laurelfulford
8e54c18d0d
Twenty Nineteen: Make sure links are followed on touchend, not touchstart.
...
The theme's original navigation JavaScript was making it so all links on a site were immediately followed on touchstart when using a touch-enabled device. This update makes sure links are followed at touchend, to improve usability and menu behavior.
Already committed to the 5.0 branch in [44357].
Props anevins, panchen, kjellr.
Fixes #45510 .
Built from https://develop.svn.wordpress.org/trunk@44358
git-svn-id: http://core.svn.wordpress.org/trunk@44188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-21 21:36:49 +00:00
laurelfulford
fc094984ea
Default Themes: Bump the version numbers and release dates.
...
Update the theme versions and release dates for the default themes, in time for WordPress 5.0.2.
The POT files for Twenty Ten and Twenty Eleven have also been updated.
Fixes #45681 .
Built from https://develop.svn.wordpress.org/trunk@44322
git-svn-id: http://core.svn.wordpress.org/trunk@44152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:38:04 +00:00
desrosj
4aa38f2193
Bundled Themes: Replace “Gutenberg” in code comments and classes.
...
This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly.
Props laurelfulford.
Merges [44213] into trunk.
Fixes #45452 .
Built from https://develop.svn.wordpress.org/trunk@44313
git-svn-id: http://core.svn.wordpress.org/trunk@44143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:30:41 +00:00
desrosj
6ab27f50a6
Bundled Themes: Update default block appender selector.
...
The markup for the default block appender changed from a text input to a text area in the editor; this update makes the same change in the default theme styles.
Props laurelfulford.
Merges [44212] into trunk.
Fixes #45450 .
Built from https://develop.svn.wordpress.org/trunk@44312
git-svn-id: http://core.svn.wordpress.org/trunk@44142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:29:51 +00:00
desrosj
876676ac80
Twenty Sixteen: Fix superscript and subscript.
...
When using the block-based editor in Twenty Sixteen, superscript is displaying below the baseline and subscript is displaying above the baseline. This is the opposite of what should occur. This reverses the two to display correctly.
Props greg-raven, torontodigits, JDTrower.
Merges [44210] into trunk.
Fixes : #44776 .
Built from https://develop.svn.wordpress.org/trunk@44311
git-svn-id: http://core.svn.wordpress.org/trunk@44141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:29:02 +00:00
desrosj
0c1769e5ba
Twenty Seventeen: Bug Fixes.
...
- Remove unnecessary `ol` styles from editor. Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too.
- To improve accessibility, the cookies content checkbox in the comment form needed some visible indication when it’s in focus.
- Twenty Seventeen’s editor styles contained an Internet Explorer 8 specific fix that stopped images from being scalable in the editor in other browsers. Since the editor no longer supports IE8, this fix can safely be removed.
- Fix the `font-family` used for Simplified Chinese (zh_CN) in the block editor CSS.
Props mmaumio, edpittol, pratikthink, afercia, audrasjb, mihaivalentin, subrataemfluence, vaishalipanchal, ze3kr, laurelfulford.
Merges [44203-44205] and [44235] into trunk.
Fixes #44775 , #44699 , #39738 , #45408 .
Built from https://develop.svn.wordpress.org/trunk@44307
git-svn-id: http://core.svn.wordpress.org/trunk@44137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:25:48 +00:00
desrosj
608eb55335
Bundled Themes: Fix button block custom colors on front end.
...
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.
This fix is applied to Twenty Sixteen, Twenty Fifteen and Twenty Fourteen.
Props laurelfulford.
Merges [44197-44198] and [44200] into trunk.
Fixes #45428 , #45429 .
Built from https://develop.svn.wordpress.org/trunk@44306
git-svn-id: http://core.svn.wordpress.org/trunk@44136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:24:59 +00:00
desrosj
a2845863e5
Twenty Nineteen: Fixes and improvements.
...
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.
- Fix the gallery caption link color. https://github.com/WordPress/twentynineteen/pull/687
- Remove left padding from pullquote blocks. https://github.com/WordPress/twentynineteen/pull/690
- Print `skip-link-focus-fix` inline instead of enqueueing as blocking script. https://github
.com/WordPress/twentynineteen/pull/47
- Fix and improve some strings with placeholders. https://github.com/WordPress/twentynineteen/pull/217
- Fixes some minor code quality issues. https://github.com/WordPress/twentynineteen/pull/237
- Fix PHP Warning: Parameter must be an array or an object that implements Countable. https://github
.com/WordPress/twentynineteen/pull/661
- Add missing text domain and escaping to comment author text. https://github.com/WordPress/twentynineteen/pull/274
- Remove hyphens rule for cover image text. https://github.com/WordPress/twentynineteen/pull/691
- Fix left/right-aligned pullquote spacing. https://github.com/WordPress/twentynineteen/pull/695
- Improve `readme.txt` to follow the correct standards for themes. https://github.com/WordPress/twentynineteen/issues/689
Props kjellr, allancole, dimadin, westonruter, khleomix, grapplerulrich, iCaleb, desrosj.
Merges [44196], [44199], and [44201-44202] into trunk.
Fixes #45424 .
Built from https://develop.svn.wordpress.org/trunk@44305
git-svn-id: http://core.svn.wordpress.org/trunk@44135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:24:11 +00:00
desrosj
7cbba801e2
Twenty Thirteen: Fix button block custom colors.
...
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.
Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it.
Props laurelfulford.
Merges [44195] into trunk.
Fixes #45431 .
Built from https://develop.svn.wordpress.org/trunk@44304
git-svn-id: http://core.svn.wordpress.org/trunk@44134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:23:21 +00:00
desrosj
680bbf62d9
Twenty Twelve: Fix button block custom colors.
...
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.
Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it.
Props laurelfulford.
Merges [44194] to trunk.
Fixes #45432 .
Built from https://develop.svn.wordpress.org/trunk@44303
git-svn-id: http://core.svn.wordpress.org/trunk@44133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:22:31 +00:00
desrosj
01029daf49
Updating Twenty Nineteen, the new default theme for 2019.
...
This update changes the following:
- Properly sets the primary color hue theme option. See https://github.com/WordPress/twentynineteen/pull/683 .
- Add proper frontend styles for center aligned archive and category blocks. See https://github.com/WordPress/twentynineteen/pull/684 .
- Fix `image_filter` theme option conditional function. See https://github.com/WordPress/twentynineteen/pull/680 .
- Remove duplicate rule-line when a separator block is followed by H1/H2 in the editor. See https://github.com/WordPress/twentynineteen/pull/686 .
Props richtabor, kjellr, allancole.
Merges [44192] and [44193] to trunk.
See #45424 .
Built from https://develop.svn.wordpress.org/trunk@44302
git-svn-id: http://core.svn.wordpress.org/trunk@44132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:21:42 +00:00
desrosj
3b995edda6
Twenty Eleven: Correct `font-size` and button issues.
...
Update a mistake in Twenty Eleven's block editor styles that erroneously sets the `font-size` to `300`, when it should set the `font-weight` to `300`. This was causing browsers in quirks mode to make the editor font size very large.
Also, simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.
Props laurelfulford.
Merges [44190] and [44191] to trunk.
Fixes #45421 , #45433 .
Built from https://develop.svn.wordpress.org/trunk@44301
git-svn-id: http://core.svn.wordpress.org/trunk@44131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:20:53 +00:00
desrosj
b25a43d635
Updating Twenty Nineteen, the new default theme for 2019.
...
This update changes the following:
- Reverts the customization to the toolbar for wide and full blocks to make them more usable. More info here: https://github.com/WordPress/twentynineteen/pull/668
- Add `nowrap` to the columns block at breakpoints above `600px`. More info here: https://github.com/WordPress/twentynineteen/pull/674
Props joen, kjellr, allancole.
Fixes #45369 .
Merges [44189] into trunk.
See #45424 .
Built from https://develop.svn.wordpress.org/trunk@44300
git-svn-id: http://core.svn.wordpress.org/trunk@44130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:20:04 +00:00
desrosj
7f02dfc545
Twenty Ten: Custom colors should override :visited link styles on blocks.
...
Make sure the block editor custom colors in the theme also override the theme's `:visited` link styles. This prevents contrast issues, like in the button block -- when the background is dark, the purple `:visited` link can be difficult to read.
Props laurelfulford.
Merges [44188] into trunk.
Fixes #45434 .
Built from https://develop.svn.wordpress.org/trunk@44299
git-svn-id: http://core.svn.wordpress.org/trunk@44129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:19:15 +00:00
desrosj
110aae8048
Twenty Nineteen: Code Quality Improvements.
...
This change adds general code quality and documentation improvements.
More info here: https://github.com/WordPress/twentynineteen/pull/546
Props grapplerulrich, iCaleb, allancole.
Merges [44187] to trunk.
See #45424 .
Built from https://develop.svn.wordpress.org/trunk@44298
git-svn-id: http://core.svn.wordpress.org/trunk@44128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:18:26 +00:00
Sergey Biryukov
8f4440eb10
Build Tools: Don't include `.map` files in the build.
...
These files are fairly large, and while they're useful in development, they're not needed in the final build.
Props pento, mcsf.
Merges [43931] and [43932] to trunk.
See #45201 .
Built from https://develop.svn.wordpress.org/trunk@44282
git-svn-id: http://core.svn.wordpress.org/trunk@44112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 03:14:52 +00:00
desrosj
a9b6d58870
Default Themes: Bump the version numbers and release dates.
...
The POT files for Twenty Ten and Eleven have also been updated.
Props laurelfulford, maedahbatool, mrahmadawais, pento.
Merges [43964] into trunk.
Fixes #45167 .
Built from https://develop.svn.wordpress.org/trunk@44279
git-svn-id: http://core.svn.wordpress.org/trunk@44109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 19:38:53 +00:00
desrosj
6bec9ed8f6
Twenty Sixteen: Update theme’s wide image styles to include Image Blocks
...
Twenty Sixteen includes functionality and styles that make full-size images extend wider than the content when they are added to posts, and appear below the post meta. This update adds the same behavior to image blocks and their captions.
Merges [43911] to trunk.
Props laurelfulford.
Fixes : #45380 .
Built from https://develop.svn.wordpress.org/trunk@44263
git-svn-id: http://core.svn.wordpress.org/trunk@44093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 15:46:52 +00:00
desrosj
147ce45d29
Hello Dolly: Hide the lyrics in the block editor.
...
I'm sorry, Hello Dolly. You're my favorite plugin, but the way you output your lyrics doesn't play nicely with the block editor, particuarly on mobile devices.
This isn't Farewell Dolly, you're still on every other admin page, and I know you'll come back better and stronger.
Merges [43900] to trunk.
Props joen.
See #45345 .
Built from https://develop.svn.wordpress.org/trunk@44229
git-svn-id: http://core.svn.wordpress.org/trunk@44059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:08:46 +00:00
desrosj
f4fa2c362e
Bundled Themes: Add theme support for responsive embeds
...
Add `add_theme_support( 'responsive-embeds' );` to all of the responsive default themes as part of their block editor support. This makes sure any embeds coming from the new block-based editor maintain their aspect ratios at different screen sizes.
Merges [43868] into trunk.
Props laurelfulford.
Fixes #45274 .
Built from https://develop.svn.wordpress.org/trunk@44227
git-svn-id: http://core.svn.wordpress.org/trunk@44057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:07:04 +00:00
Gary Pendergast
9c8a29c889
General: Fix some code formatting issues.
...
A handful of code formatting issues were introduced in recent commits, runs the auto-fixer on them.
Built from https://develop.svn.wordpress.org/trunk@44155
git-svn-id: http://core.svn.wordpress.org/trunk@43985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:25:40 +00:00
desrosj
4d3f9732b1
Bundled Themes: Expand initial block editor support.
...
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238 , #45239 , #45240 , #45242 , #45243 , #45244 , #45245 , #45246 .
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:55:39 +00:00
Gary Pendergast
5432b8e055
Default Themes: Import Twenty Nineteen from the 5.0 branch.
...
Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.
Fixes #45424 .
Built from https://develop.svn.wordpress.org/trunk@44149
git-svn-id: http://core.svn.wordpress.org/trunk@43979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:33:41 +00:00
desrosj
39a7f9a6d7
Twenty Seventeen: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Seventeen.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
Props laurelfulford, ianbelanger, crunnells, davidkennedy.
Merges [43800] to trunk.
Fixes #45045 .
Built from https://develop.svn.wordpress.org/trunk@44148
git-svn-id: http://core.svn.wordpress.org/trunk@43978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:22:37 +00:00
desrosj
d30ab8fc85
Twenty Sixteen: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Sixteen.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props laurelfulford, davidkennedy.
Merges [43799] to trunk.
Fixes #45044 .
Built from https://develop.svn.wordpress.org/trunk@44147
git-svn-id: http://core.svn.wordpress.org/trunk@43977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:18:37 +00:00
desrosj
9bbc000c65
Twenty Fifteen: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Fifteen.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props laurelfulford, davidkennedy.
Merges [43798] to trunk.
Fixes #45043 .
Built from https://develop.svn.wordpress.org/trunk@44145
git-svn-id: http://core.svn.wordpress.org/trunk@43975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:13:38 +00:00
desrosj
f6fafb8f3c
Twenty Fourteen: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Fourteen.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props laurelfulford, crunnells, ianbelanger, davidkennedy.
Merges [43797] to trunk.
Fixes #45042 .
Built from https://develop.svn.wordpress.org/trunk@44144
git-svn-id: http://core.svn.wordpress.org/trunk@43974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 02:04:37 +00:00
desrosj
76c23f00ff
Twenty Thirteen: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Thirteen.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
- Add theme support and styles for `align-wide`, to allow wide and full alignment styles on the blocks.
Props laurelfulford, ianbelanger, davidkennedy.
Merges [43796] to trunk.
Fixes #45041 .
Built from https://develop.svn.wordpress.org/trunk@44142
git-svn-id: http://core.svn.wordpress.org/trunk@43972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 01:59:38 +00:00
desrosj
cee266f5a7
Twenty Twelve: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Twelve.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props ianbelanger, crunnells, laurelfulford, davidakennedy.
Merges [43795] to trunk.
Fixes #45040 .
Built from https://develop.svn.wordpress.org/trunk@44140
git-svn-id: http://core.svn.wordpress.org/trunk@43970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 01:55:38 +00:00
desrosj
c41dede996
Twenty Eleven: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Eleven.
These are the specific changes made to this theme:
- Add `blocks.css`, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props ianbelanger, laurelfulford, davidakennedy.
Merges [43794] to trunk.
Fixes #45039 .
Built from https://develop.svn.wordpress.org/trunk@44139
git-svn-id: http://core.svn.wordpress.org/trunk@43969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 01:51:38 +00:00
desrosj
5e1e612528
Twenty Ten: Add styles and support for the new block-based editor.
...
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Ten.
These are the specific changes made to this theme:
- Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
- Add `editor-blocks.css` to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
- Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
- Add theme support for `wp-block-styles`, to load the default block styles on the front end.
- Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
Props nielslange, crunnells, laurelfulford, davidakennedy.
Merges [43793] to trunk.
Fixes #45038 .
Built from https://develop.svn.wordpress.org/trunk@44137
git-svn-id: http://core.svn.wordpress.org/trunk@43967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 01:46:38 +00:00
Sergey Biryukov
06b2e1776c
Twenty Seventeen: Use a simple counter incremented with each call instead of `uniqid()` for generating unique IDs for HTML elements.
...
Props westonruter.
Fixes #44883 .
Built from https://develop.svn.wordpress.org/trunk@43659
git-svn-id: http://core.svn.wordpress.org/trunk@43488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-09-24 20:57:47 +00:00
Peter Wilson
b8bf6de0ed
Twenty Sixteen: Add pre-connect resource hint for Google Fonts.
...
When using Google Fonts, pre-connect to https://fonts.gstatic.com to improve the performance downloading the webfont files.
Props westonruter.
Fixes #44668 .
Built from https://develop.svn.wordpress.org/trunk@43606
git-svn-id: http://core.svn.wordpress.org/trunk@43435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-09-03 00:53:23 +00:00
Gary Pendergast
56c162fbc9
Coding Standards: Upgrade WPCS to 1.0.0
...
WPCS 1.0.0 includes a bunch of new auto-fixers, which drops the number of coding standards issues across WordPress significantly. Prior to running the auto-fixers, there were 15,312 issues detected. With this commit, we now drop to 4,769 issues.
This change includes three notable additions:
- Multiline function calls must now put each parameter on a new line.
- Auto-formatting files is now part of the `grunt precommit` script.
- Auto-fixable coding standards issues will now cause Travis failures.
Fixes #44600 .
Built from https://develop.svn.wordpress.org/trunk@43571
git-svn-id: http://core.svn.wordpress.org/trunk@43400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-17 01:51:36 +00:00
laurelfulford
78a71b94bf
Twenty Seventeen: Correct date in changelog for 4.9.8 release.
...
Props pbiron, laurelfulford.
Fixes #44646 .
Built from https://develop.svn.wordpress.org/trunk@43550
git-svn-id: http://core.svn.wordpress.org/trunk@43379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-02 15:33:24 +00:00
laurelfulford
7063c45879
Twenty Seventeen: Bump version number and update changelog for 4.9.8 release.
...
Props pbiron.
Fixes #44646 .
Built from https://develop.svn.wordpress.org/trunk@43541
git-svn-id: http://core.svn.wordpress.org/trunk@43370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-27 18:37:25 +00:00
Sergey Biryukov
5d4df64715
Twenty Seventeen: Correct list item style for nested unordered lists.
...
Props macbookandrew, audrasjb.
Fixes #44109 .
Built from https://develop.svn.wordpress.org/trunk@43493
git-svn-id: http://core.svn.wordpress.org/trunk@43320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 16:35:24 +00:00
laurelfulford
12737b798b
Bundled Themes: Bump version numbers and update changelogs for 4.9.6 release
...
* Also, updates POT files for Twenty Ten and Twenty Eleven.
Props earnjam, laurelfulford.
Fixes #43915 .
Built from https://develop.svn.wordpress.org/trunk@43293
git-svn-id: http://core.svn.wordpress.org/trunk@43122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-17 17:07:22 +00:00
iandunn
aa01cbe691
Comments: Move comment consent `input` outside the `label` for a11y.
...
Non-wrapping `label`s are more widely supported by assitive technologies. The CSS changes account for the element re-ordering, and tweak the formatting for improved readability.
Props afercia, xkon, laurelfulford, azaozz.
Fixes #43436 .
Built from https://develop.svn.wordpress.org/trunk@43125
git-svn-id: http://core.svn.wordpress.org/trunk@42954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 22:00:49 +00:00
iandunn
b4290211f4
Bundled Themes: Add link to privacy policy page in footer.
...
If a privacy policy has been set, then a link to it will automatically be shown in the footer.
The element containing the "Proudly powered by WordPress" link was chosen for the new policy link, in order to minimize visual conflicts with custom CSS that was written before the new link existed. Unfortunately, some minor conflicts are expected and unavoidable. Adding this link is required as part of GDPR compliance, and the benefits outweigh the downsides.
To further mitigate the conflicts, a new `imprint` class was added to the "Proudly powered..." link, in order to facilitate targeting each link invididually with custom styles.
Props xkon, laurelfulford, birgire, azaozz, iandunn.
See #43715 .
Built from https://develop.svn.wordpress.org/trunk@43051
git-svn-id: http://core.svn.wordpress.org/trunk@42880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 06:28:21 +00:00
Sergey Biryukov
2f0f413aa5
Twenty Ten: Restore `max-width` on `.wp-caption`.
...
[42837] fixed the compatibility issue caused by [41724], returning the caption shortcode to the pre-4.9.0 behavior.
Reverts [42386].
Fixes #42604 .
Built from https://develop.svn.wordpress.org/trunk@42886
git-svn-id: http://core.svn.wordpress.org/trunk@42716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-28 01:51:29 +00:00
Sergey Biryukov
fa47925a9a
Twenty Seventeen: Bump version and update the changelog.
...
Props audrasjb.
Fixes #43572 .
Built from https://develop.svn.wordpress.org/trunk@42881
git-svn-id: http://core.svn.wordpress.org/trunk@42711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-27 21:06:30 +00:00
Joe McGill
0a02c87b48
Update Hello Dolly lyrics.
...
This updates the Hello Dolly plugin to remove lines which could be objectionable when shown in the admin out of context, and brings the lyrics more in line with Louis Armstrong's recording.
Props sebastienthivinfocom, birgire, audrasjb, joemcgill.
Fixes #43555 .
Built from https://develop.svn.wordpress.org/trunk@42839
git-svn-id: http://core.svn.wordpress.org/trunk@42669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-17 20:23:32 +00:00
Sergey Biryukov
510feac5bb
Twenty Fourteen: Remove redundant `@access` and `@static` notations from classes.
...
Props birgire.
See #41452 , #42803 , #42505 .
Built from https://develop.svn.wordpress.org/trunk@42749
git-svn-id: http://core.svn.wordpress.org/trunk@42579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-25 20:49:30 +00:00
Sergey Biryukov
7d2cd516d1
Twenty Seventeen: Underline links in comments.
...
Props jainnidhi, larrach, audrasjb.
Fixes #43317 .
Built from https://develop.svn.wordpress.org/trunk@42713
git-svn-id: http://core.svn.wordpress.org/trunk@42541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-15 03:34:30 +00:00
Sergey Biryukov
351d71d7ea
Twenty Seventeen: Remove unnecessary comment in `front-page.php`.
...
Props hardik-amipara, poena.
Fixes #42820 .
Built from https://develop.svn.wordpress.org/trunk@42437
git-svn-id: http://core.svn.wordpress.org/trunk@42267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-12 20:01:51 +00:00
atimmer
f6a37e7d39
Docs: Remove `@summary` tags from JSDoc.
...
As decided in the JavaScript core chat. With a few reasons:
* It is visually cleaner when reading the source.
* This bring the JavaScript documentation closer to the PHP documentation.
The only disadvantage is that the JSDoc parser doesn't split out the summary and the description in the new format. We've decided to solve this when building the JavaScript documentation parser.
Props herregroen.
Fixes #42901 .
Built from https://develop.svn.wordpress.org/trunk@42411
git-svn-id: http://core.svn.wordpress.org/trunk@42240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-18 14:14:53 +00:00
Konstantin Obenland
d6ffe16606
Twenty Ten: Use global img contraint for captions
...
Fixes an incompatibility with the way caption width is set since 4.9, where the caption element would cover the whole content width.
Props slilley, Clorith, hardeepasrani.
Fixes #42604 .
Built from https://develop.svn.wordpress.org/trunk@42386
git-svn-id: http://core.svn.wordpress.org/trunk@42215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-11 23:32:46 +00:00
Sergey Biryukov
216441356a
Twenty Seventeen: Correct the number of recent posts in a comment in `template-parts/page/content-front-page-panels.php`.
...
Props skostadinov, marcelo2605.
Fixes #42621 .
Built from https://develop.svn.wordpress.org/trunk@42348
git-svn-id: http://core.svn.wordpress.org/trunk@42177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-01 03:47:52 +00:00
Sergey Biryukov
82e5b30939
Twenty Seventeen: Use consistent wording when referring to the front page in inline docs.
...
Props chetan200891.
Fixes #42666 .
Built from https://develop.svn.wordpress.org/trunk@42347
git-svn-id: http://core.svn.wordpress.org/trunk@42176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-01 03:44:47 +00:00
Gary Pendergast
aaf99e6913
Code is Poetry.
...
WordPress' code just... wasn't.
This is now dealt with.
Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057 .
Built from https://develop.svn.wordpress.org/trunk@42343
git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-30 23:11:00 +00:00
Gary Pendergast
c90cfa3b50
General: Fix some precision alignment formatting warnings.
...
The WPCS `WordPress.WhiteSpace.PrecisionAlignment` rule throws warnings for a bunch of code that will likely cause issues for `wpcbf`. Fixing these manually beforehand gives us better auto-fixed results later.
See #41057 .
Built from https://develop.svn.wordpress.org/trunk@42228
git-svn-id: http://core.svn.wordpress.org/trunk@42057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-26 23:57:55 +00:00
Gary Pendergast
a779284c00
General: Reformat inline `if ()` statements inside HTML tags.
...
This pattern occurs a handful of times across the codebase:
`<div class="foo<?php if ( $bar ) { echo ' baz'; } ?>">`
Unfortunately, it doesn't really play nicely with `phpcbf`, so all instances need to be removed in preperation for auto code formatting.
See #41057 .
Built from https://develop.svn.wordpress.org/trunk@42217
git-svn-id: http://core.svn.wordpress.org/trunk@42046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-23 04:09:49 +00:00
David A. Kennedy
7b74056cf5
Bundled Themes: Bump version numbers and update changelogs for 4.9 release
...
* Also, updates POT files for Twenty Ten and Twenty Eleven.
Props lemacarl, maedahbatool, mrahmadawais, davidakennedy.
Fixes #42090 .
Built from https://develop.svn.wordpress.org/trunk@42105
git-svn-id: http://core.svn.wordpress.org/trunk@41934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-01 22:43:47 +00:00
David A. Kennedy
750098da21
Bundled Themes: Make sure new gallery widgets look good in themes
...
Twenty Ten: Reduces image size and removes image borders for galleries in widget areas.
Twenty Eleven: Reduces image size and removes image borders for galleries in widget areas.
Twenty Twelve: Reduces image size for some gallery sizes in widget areas.
Twenty Thirteen: Ensure proper clearing for images, hide captions for some gallery column combos and ensure good display for galleries in widget areas.
Twenty Fourteen: Ensure proper clearing for images and hide captions for some gallery column combos for galleries in widget areas.
Twenty Seventeen: Hide captions for some gallery column combos for galleries in widget areas.
Props joyously, williampatton, davidakennedy, melchoyce, crunnells.
Fixes #41969 .
Built from https://develop.svn.wordpress.org/trunk@42019
git-svn-id: http://core.svn.wordpress.org/trunk@41853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-25 02:17:47 +00:00
David A. Kennedy
55c8978f1f
Twenty Seventeen: Make gallery link styles consistent in all widget areas
...
Removes the box shadow on gallery links in footer widget areas so they're consistent with the sidebar widget area.
Props transl8or, sami.keijonen, davidakennedy.
Fixes #42302 .
Built from https://develop.svn.wordpress.org/trunk@42004
git-svn-id: http://core.svn.wordpress.org/trunk@41838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-24 21:53:51 +00:00
David A. Kennedy
b6539fb5a0
Twenty Seventeen: Fix double bottom-margins below embeds
...
Corrects an issue where both the containing paragraph and embed had bottom margins, causing unwanted extra space.
Props westonruter.
Fixes #42118 .
Built from https://develop.svn.wordpress.org/trunk@41888
git-svn-id: http://core.svn.wordpress.org/trunk@41722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-17 22:50:51 +00:00
Weston Ruter
da565a20b9
Twenty Seventeen: Fix positioning of edit shortcuts when partials are nested inside a frontpage panel.
...
Fixes #41557 .
Built from https://develop.svn.wordpress.org/trunk@41842
git-svn-id: http://core.svn.wordpress.org/trunk@41676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-12 04:44:45 +00:00
Sergey Biryukov
0b39f4c99d
Twenty Seventeen: Add missing `@return` tag for `twentyseventeen_video_controls()`.
...
Props ndoublehwp, audrasjb.
Fixes #41927 .
Built from https://develop.svn.wordpress.org/trunk@41780
git-svn-id: http://core.svn.wordpress.org/trunk@41614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-06 01:35:47 +00:00
Sergey Biryukov
2c5a378291
Twenty Fourteen: Add missing singular placeholder in `comments.php`.
...
Uses the recommended pattern for better compatibility with languages that use the singular form for other numbers. Also adds translator comments.
Props bplv, xkon.
See #39660 .
Built from https://develop.svn.wordpress.org/trunk@41762
git-svn-id: http://core.svn.wordpress.org/trunk@41596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 00:42:46 +00:00
Sergey Biryukov
0a2c1d7749
Twenty Fifteen: Add missing singular placeholder in `comments.php`.
...
Uses the recommended pattern for better compatibility with languages that use the singular form for other numbers. Also adds translator comments.
Props bplv, xkon.
See #39660 .
Built from https://develop.svn.wordpress.org/trunk@41761
git-svn-id: http://core.svn.wordpress.org/trunk@41595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 00:41:46 +00:00
Sergey Biryukov
9319a9cec9
Bundled Themes: Restore double line breaks before media queries.
...
See #40138 .
Built from https://develop.svn.wordpress.org/trunk@41757
git-svn-id: http://core.svn.wordpress.org/trunk@41591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 00:02:48 +00:00
Sergey Biryukov
203b275658
Bundled Themes: Change tag cloud format to a list (`<ul>`) for better semantics and accessibility.
...
List markup allows screen reader users to know in advance how many tags are within the list.
Props xkon, davidakennedy.
Fixes #40138 .
Built from https://develop.svn.wordpress.org/trunk@41756
git-svn-id: http://core.svn.wordpress.org/trunk@41590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 23:53:47 +00:00
Sergey Biryukov
821004b1a6
Twenty Seventeen: After [41703], adjust RTL styles for tag cloud widget.
...
Props davidakennedy.
Fixes #40184 .
Built from https://develop.svn.wordpress.org/trunk@41754
git-svn-id: http://core.svn.wordpress.org/trunk@41588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 23:35:50 +00:00
Sergey Biryukov
44e23c2dab
Twenty Sixteen: Make sure comment number comparison in `comments.php` works as expected.
...
`get_comments_number()` returns a numeric string, not an integer.
See #39660 .
Built from https://develop.svn.wordpress.org/trunk@41729
git-svn-id: http://core.svn.wordpress.org/trunk@41563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 13:22:48 +00:00
Sergey Biryukov
f67678b59a
Twenty Seventeen: Change tag cloud format to a list (`<ul>`) for better semantics and accessibility.
...
List markup allows screen reader users to know in advance how many tags are within the list.
Props sami.keijonen.
Fixes #40184 .
Built from https://develop.svn.wordpress.org/trunk@41703
git-svn-id: http://core.svn.wordpress.org/trunk@41537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-03 12:17:46 +00:00
Sergey Biryukov
c5c5fb1cd3
Twenty Seventeen: Add missing labels for `<aside role="complementary">` widget areas.
...
Props sami.keijonen.
Fixes #42056 .
Built from https://develop.svn.wordpress.org/trunk@41687
git-svn-id: http://core.svn.wordpress.org/trunk@41521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-02 22:04:46 +00:00
Sergey Biryukov
9597082ec9
Twenty Seventeen: Add Docker Hub icon to supported social links.
...
Props xkon.
Fixes #41529 .
Built from https://develop.svn.wordpress.org/trunk@41593
git-svn-id: http://core.svn.wordpress.org/trunk@41426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-25 13:49:43 +00:00
Sergey Biryukov
01efcd51a6
Twenty Seventeen: Add Periscope icon to supported social links.
...
Props xkon.
Fixes #40959 .
Built from https://develop.svn.wordpress.org/trunk@41592
git-svn-id: http://core.svn.wordpress.org/trunk@41425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-25 13:14:45 +00:00
Sergey Biryukov
29fa55f71d
Twenty Sixteen: After [41343], add missing space to `if` condition in `twentysixteen_content_image_sizes_attr()`.
...
Fixes #38468 .
Built from https://develop.svn.wordpress.org/trunk@41580
git-svn-id: http://core.svn.wordpress.org/trunk@41413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-23 12:25:45 +00:00
Sergey Biryukov
6918752529
Twenty Seventeen: Document the type of `$item` argument in `twentyseventeen_dropdown_icon_to_menu_link()` more accurately.
...
Props ndoublehwp.
Fixes #41923 .
Built from https://develop.svn.wordpress.org/trunk@41548
git-svn-id: http://core.svn.wordpress.org/trunk@41381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-20 18:15:46 +00:00
Sergey Biryukov
ca92da1dcc
Twenty Fifteen: Add missing comma in `ie.css`.
...
Props lalitpendhare.
Fixes #41890 .
Built from https://develop.svn.wordpress.org/trunk@41382
git-svn-id: http://core.svn.wordpress.org/trunk@41215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-16 05:12:48 +00:00
Sergey Biryukov
9da1dd552d
Twenty Fifteen: Remove "called called" dittography, missed in [41349].
...
Props birgire.
See #41841 , #41836 .
Built from https://develop.svn.wordpress.org/trunk@41357
git-svn-id: http://core.svn.wordpress.org/trunk@41190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-09 14:48:44 +00:00
Sergey Biryukov
6bea951e7a
Bundled Themes: Remove "called called" and "can can" dittography.
...
Props johnpgreen.
Fixes #41836 .
Built from https://develop.svn.wordpress.org/trunk@41349
git-svn-id: http://core.svn.wordpress.org/trunk@41182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-08 18:13:43 +00:00
Sergey Biryukov
8cfe233137
Twenty Sixteen: Replace inline control structureв to improve code readability.
...
Fixes #38468 .
Built from https://develop.svn.wordpress.org/trunk@41343
git-svn-id: http://core.svn.wordpress.org/trunk@41176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-08 06:04:44 +00:00
Sergey Biryukov
6880400dd5
Twenty Seventeen: Correct the `@return` value for `twentyseventeen_post_thumbnail_sizes_attr()`.
...
Props truongwp.
Fixes #41830 .
Built from https://develop.svn.wordpress.org/trunk@41342
git-svn-id: http://core.svn.wordpress.org/trunk@41175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-08 04:27:44 +00:00
Sergey Biryukov
15c38a8068
Twenty Sixteen: Correct the `@return` value for `twentysixteen_post_thumbnail_sizes_attr()`.
...
Props truongwp.
See #41830 .
Built from https://develop.svn.wordpress.org/trunk@41341
git-svn-id: http://core.svn.wordpress.org/trunk@41174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-08 04:26:45 +00:00
Weston Ruter
7af3b92736
Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3.
...
Props rafa8626, grosbouff, westonruter, azaozz, Plastikschnitzer for testing.
See #39686 .
Built from https://develop.svn.wordpress.org/trunk@41198
git-svn-id: http://core.svn.wordpress.org/trunk@41038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-01 04:43:51 +00:00
Drew Jaynes
07f01a2e10
Docs: Replace a variety of http links referenced in inline docs with their https counterparts (where possible).
...
Props johnpgreen.
Fixes #40732 .
Built from https://develop.svn.wordpress.org/trunk@40948
git-svn-id: http://core.svn.wordpress.org/trunk@40798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 22:06:41 +00:00
Sergey Biryukov
0990313c25
Twenty Sixteen: Allow category display in post preview even when there is only one category.
...
Props lancewillett, davidakennedy.
Fixes #39531 .
Built from https://develop.svn.wordpress.org/trunk@40908
git-svn-id: http://core.svn.wordpress.org/trunk@40758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:06:41 +00:00
Dominik Schilling
6a3be0ea29
Twenty Seventeen: Remove/merge unused variables in content-front-page.php.
...
#wceu2017
Props dingo_bastard, mariusvetrici.
Fixes #39771 .
Built from https://develop.svn.wordpress.org/trunk@40904
git-svn-id: http://core.svn.wordpress.org/trunk@40754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 10:20:42 +00:00
Aaron Jorbin
efc146a3ca
Bundled Themes - Bump themes in preparation for 4.8
...
Change version numbers in stylesheets, fix typo in Twenty Fourteen readme and update copyright dates for themes. Twentysixteen wasn't updated this cycle.
See #40745 for changes that helped push this along.
Fixes #40905 .
Props davidakennedy, mrahmadawais, maedahbatool.
Built from https://develop.svn.wordpress.org/trunk@40883
git-svn-id: http://core.svn.wordpress.org/trunk@40733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-08 04:40:43 +00:00
Konstantin Obenland
fd77b45b57
Twenty Sixteen: Add missing binary files
...
They slipped through the cracks when applying/creating patches.
See [40851], #36497 .
Built from https://develop.svn.wordpress.org/trunk@40852
git-svn-id: http://core.svn.wordpress.org/trunk@40703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 21:53:40 +00:00
Konstantin Obenland
d22061139e
Importing Twenty Sixteen, default theme for 2016.
...
Fixes #36497 .
Built from https://develop.svn.wordpress.org/trunk@40851
git-svn-id: http://core.svn.wordpress.org/trunk@40702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 21:21:43 +00:00
Konstantin Obenland
71cd7287ba
Default themes: Improve styles for 4.8 widgets
...
Mostly adds styles for lists and mediaelement.js instances within widgets.
Adds size classname to image widget so themes can customize their display.
Props Soean, obenland, celloexpressions, ocean90, karmatosed.
Fixes #40745 .
Built from https://develop.svn.wordpress.org/trunk@40839
git-svn-id: http://core.svn.wordpress.org/trunk@40690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:19:42 +00:00
Konstantin Obenland
14d0491fbf
Twenty Seventeen: Remove uneccessary return statement
...
Props truongwp.
Fixes #40516 .
Built from https://develop.svn.wordpress.org/trunk@40795
git-svn-id: http://core.svn.wordpress.org/trunk@40653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 15:19:41 +00:00
Weston Ruter
31d4d81039
Widgets: Introduce media widgets for images, audio, and video with extensible base for additional media widgets in the future.
...
The last time a new widget was introduced, Vuvuzelas were a thing, Angry Birds started taking over phones, and WordPress stopped shipping with Kubrick. Seven years and 17 releases without new widgets have been enough, time to spice up your sidebar!
Props westonruter, melchoyce, obenland, timmydcrawford, adamsilverstein, gonom9, wonderboymusic, Fab1en, DrewAPicture, sirbrillig, joen, matias, samikeijonen, afercia, celloexpressions, designsimply, michelleweber, ranh, kjellr, karmatosed.
Fixes #32417 , #39993 , #39994 , #39995 .
Built from https://develop.svn.wordpress.org/trunk@40640
git-svn-id: http://core.svn.wordpress.org/trunk@40501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-11 21:11:44 +00:00
Pascal Birchler
c58cb3af9e
Twenty Seventeen: Bump version and update the changelog.
...
Updates changelog to link to Codex pages, like other default themes.
Props swissspidy, davidakennedy.
Fixes #40461.
Built from https://develop.svn.wordpress.org/trunk@40472
git-svn-id: http://core.svn.wordpress.org/trunk@40348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-18 09:14:46 +00:00
Pascal Birchler
e5c05e18a1
Twenty Seventeen: Correct heading hierarchy for posts on the front page.
...
When the posts page is on the front page or within a front page section, the heading hierarchy for the individual post titles needs to be adjusted accordingly.
Props joedolson, celloexpressions, davidakennedy.
Fixes #40264 .
Built from https://develop.svn.wordpress.org/trunk@40458
git-svn-id: http://core.svn.wordpress.org/trunk@40334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-17 10:09:43 +00:00
Sergey Biryukov
090901009b
Twenty Seventeen: Declare jQuery as a dependency for `navigation.js`.
...
Props chesio.
Fixes #40224 .
Built from https://develop.svn.wordpress.org/trunk@40315
git-svn-id: http://core.svn.wordpress.org/trunk@40222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-23 16:22:44 +00:00
Sergey Biryukov
f44fe7f5fe
Twenty Seventeen: Use `esc_attr_e()` for translatable strings in HTML attributes.
...
Props bor0.
Fixes #40216 .
Built from https://develop.svn.wordpress.org/trunk@40311
git-svn-id: http://core.svn.wordpress.org/trunk@40218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-22 03:52:41 +00:00
Sergey Biryukov
59855beb7b
Twenty Seventeen: Correct grammar in 'Page Layout' control description.
...
Props zoonini, laurelfulford.
Fixes #40107 .
Built from https://develop.svn.wordpress.org/trunk@40270
git-svn-id: http://core.svn.wordpress.org/trunk@40189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-10 23:35:45 +00:00
David A. Kennedy
1015c3b3a0
Twenty Seventeen: Rename "Sidebar" widget area for clarity
...
Renames the "Sidebar" widget area to "Blog Sidebar" and adjust its description to set better expectations for users as to where it appears in the theme.
Props apmarshall
Fixes #39567 .
Built from https://develop.svn.wordpress.org/trunk@40024
git-svn-id: http://core.svn.wordpress.org/trunk@39961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-28 00:25:42 +00:00
David A. Kennedy
ca0274c2ce
Bundled Themes: Allow category display in post preview even when only one category
...
The category is not shown in the preview. And because of how `themename_categorized_blog()` function in each theme returns false for 1 or fewer categories, and in this case it won't show the new category.
The patch uses `is_preview()` to fix that in Twenty Fourteen, Fifteen and Seventeen.
Props lancewillett.
Fixes #39531 .
Built from https://develop.svn.wordpress.org/trunk@40023
git-svn-id: http://core.svn.wordpress.org/trunk@39960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-27 22:09:42 +00:00
David A. Kennedy
bccec366ca
Twenty Fourteen: Fix fatal errors in WordPress versions before 4.0.0
...
The line of code throwing the error was introduced in WordPress 4.5 in r37040 "Customize: Require opt-in for selective refresh of widgets". Since `is_customize_preview()` was introduced in 4.0.0 and Twenty Fourteen should work from WordPress 3.6 and up, this caused the issue.
The patch adds an `is_customize_preview` function if it's missing.
Props adamsilverstein.
Fixes #39407 .
Built from https://develop.svn.wordpress.org/trunk@40022
git-svn-id: http://core.svn.wordpress.org/trunk@39959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-27 20:31:42 +00:00
Sergey Biryukov
64694c6742
Twenty Seventeen: Improve typography for Simplified Chinese (`zh_CN`).
...
Props ze3kr, Dharm1025.
Fixes #39379 .
Built from https://develop.svn.wordpress.org/trunk@39942
git-svn-id: http://core.svn.wordpress.org/trunk@39879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-24 07:27:44 +00:00
Sergey Biryukov
1ba4484186
Twenty Seventeen: Remove duplicate `global $post` declaration in `twentyseventeen_front_page_section()`.
...
Props ixkaito.
Fixes #39590 .
Built from https://develop.svn.wordpress.org/trunk@39909
git-svn-id: http://core.svn.wordpress.org/trunk@39846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-15 12:50:39 +00:00
Sergey Biryukov
82e17902a9
Twenty Seventeen: Correct `@param` entries for `twentyseventeen_custom_colors_css` filter.
...
Props Soean.
Fixes #39575 .
Built from https://develop.svn.wordpress.org/trunk@39901
git-svn-id: http://core.svn.wordpress.org/trunk@39838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-13 15:03:41 +00:00
Sergey Biryukov
139a58b70a
Twenty Seventeen: Remove extra asterisk from a translator comment so the comment could be parsed correctly.
...
Props swissspidy.
See #39116 .
Built from https://develop.svn.wordpress.org/trunk@39894
git-svn-id: http://core.svn.wordpress.org/trunk@39831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-12 21:37:43 +00:00
Sergey Biryukov
1d05544828
Twenty Seventeen: Expand a changelog entry added in [39742] with the new item name.
...
See #39489 , [39575].
Built from https://develop.svn.wordpress.org/trunk@39752
git-svn-id: http://core.svn.wordpress.org/trunk@39690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-07 13:12:39 +00:00
Tammie Lister
979152be92
Twenty Seventeen: add more details about filter and requires version
...
The required version should be 4.7 and also adds more information to changelog.
Props @ocean90 @Presskopp
Built from https://develop.svn.wordpress.org/trunk@39744
git-svn-id: http://core.svn.wordpress.org/trunk@39684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:15:52 +00:00
Tammie Lister
b5908ad8c8
Twenty Seventeen: version bump and update changelog
...
Adds in changelog since last version and all the changes listed in readme.txt.
Bumps version numbers in style.css and readme.txt.
Props @ocean90
Built from https://develop.svn.wordpress.org/trunk@39742
git-svn-id: http://core.svn.wordpress.org/trunk@39682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:14:38 +00:00
Sergey Biryukov
f6cd778c84
Twenty Seventeen: Correct `@param` entries for `twentyseventeen_content_width`, `twentyseventeen_custom_colors_saturation` and `twentyseventeen_social_links_icons` filters.
...
Props Jaydeep Rami, BharatKambariya.
Fixes #39488 .
Built from https://develop.svn.wordpress.org/trunk@39733
git-svn-id: http://core.svn.wordpress.org/trunk@39673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:08:33 +00:00
Sergey Biryukov
2f50816f32
Twenty Seventeen: Correct `@param` entry for `twentyseventeen_front_page_sections` filter.
...
Props ketuchetan, priyankabehera155.
Fixes #39488 .
Built from https://develop.svn.wordpress.org/trunk@39732
git-svn-id: http://core.svn.wordpress.org/trunk@39672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:07:52 +00:00
Dominik Schilling
2e81d3ed88
Twenty Seventeen: Introduce a theme-specific filter `twentyseventeen_starter_content` for customizing the starter content array.
...
Add some documentation to the default starter content.
Props sanket.parmar, celloexpressions.
Fixes #39109 .
Built from https://develop.svn.wordpress.org/trunk@39720
git-svn-id: http://core.svn.wordpress.org/trunk@39660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:02:58 +00:00
David A. Kennedy
7a8e17d50a
Twenty Seventeen: Fix incorrect `$content_width` value in theme
...
This addresses a major bug. Incorrectly setting the `$content_width` causes media embeds to end up with the wrong aspect ratio, among other issues. This fix uses `template_redirect`, to ensure conditional theme tags can be used. It also defines a default value at `after_theme_setup` so that plugins have something to work with at `init`.
Props sstoqnov, laurelfulford, obenland.
Fixes #39272 .
Built from https://develop.svn.wordpress.org/trunk@39635
git-svn-id: http://core.svn.wordpress.org/trunk@39575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-22 23:24:44 +00:00
David A. Kennedy
4177e37593
Twenty Seventeen: Hardens the logic for calling featured image in `header.php`
...
This change uses `get_queried_object_id()` here since the `$post` global may not be set before a call to `the_post()`.
Props westonruter.
Fixes #39302 .
Built from https://develop.svn.wordpress.org/trunk@39624
git-svn-id: http://core.svn.wordpress.org/trunk@39564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-20 23:00:43 +00:00
David A. Kennedy
7d70dabf59
Twenty Seventeen: Ensure functions in `customize-controls.js` don't count on Customizer sections always being present
...
Before, the code assumed the `theme_options` section is always present, but it can be removed by plugins. This way, if it is, no JavaScript errors occur.
Props westonruter.
Fixes #39335 .
Built from https://develop.svn.wordpress.org/trunk@39623
git-svn-id: http://core.svn.wordpress.org/trunk@39563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-20 22:17:40 +00:00
David A. Kennedy
7ad554f955
Twenty Seventeen: Improves code readability and code standards in files
...
Adds better DocBlock comments and fixes some spacing issues based on PHP_CodeSniffer WordPress coding standards.
Props sstoqnov.
Fixes #39152 .
Built from https://develop.svn.wordpress.org/trunk@39618
git-svn-id: http://core.svn.wordpress.org/trunk@39558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-16 22:08:47 +00:00
Weston Ruter
57830bf2be
Customize: Deprecate `page_home` nav menu item starter content in favor of `home_link`; replace usage in Twenty Seventeen.
...
Props celloexpressions, westonruter.
Amends [38991].
See #38615 , #38114 .
Fixes #39104 .
Built from https://develop.svn.wordpress.org/trunk@39561
git-svn-id: http://core.svn.wordpress.org/trunk@39501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-10 23:39:43 +00:00
David A. Kennedy
f0b2b3f98f
Default Themes: Update version numbers and readme files for 4.7 release
...
Bump version numbers and update readme files for themes with changes. Also updates description for Twenty Seventeen and removes version number for HTML5 shiv for easier updates in the future.
Props davidakennedy.
Fixes #38858 .
Built from https://develop.svn.wordpress.org/trunk@39496
git-svn-id: http://core.svn.wordpress.org/trunk@39436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 23:27:41 +00:00
David A. Kennedy
6f5111d4e7
Twenty Seventeen: Fix CSS specificity problem with CSS feature query for `object-fit`
...
Previously, the theme's CSS feature query for `object-fit` overrode styles it shouldn't have on interior pages.
This moves the feature query farther down in the stylesheet so it takes precedence in the cascade in supported browsers, and applies the appropriate selector for the interior pages. In browsers that don't support feature queries or `object-fit`, the fallback styles are still applied. The problem was that the rules had the same specificity, so this way, the cascade takes over properly. The transforms and position changes for fallbacks are still needed in browsers that don't support `object-fit` and feature queries.
Props peterwilsoncc, davidakennedy.
Fixes #39073 .
Built from https://develop.svn.wordpress.org/trunk@39495
git-svn-id: http://core.svn.wordpress.org/trunk@39435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 23:12:42 +00:00
David A. Kennedy
94506367ac
Twenty Seventeen: Improve display of video header and header image in modern browsers
...
The theme uses a hack to help the video header and header image fill the available space. This centers around `max-width: 1000%;`. It causes visual issues (zooming of the header video or image) for all users though.
This fixes that with CSS Features Queries. The hack remains for browsers that don't support Feature Queries and `object-fit`. Browsers that do support both get a better experience with a more reliable styling of the video and image header container.
Props laurelfulford, peterwilsoncc.
Fixes #39035 .
Built from https://develop.svn.wordpress.org/trunk@39483
git-svn-id: http://core.svn.wordpress.org/trunk@39423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 19:16:42 +00:00
David A. Kennedy
04da99389d
Twenty Seventeen: Add specific font stack for Thai language
...
Improves legability and design for users viewing the theme with Thai language.
Props imnok, netweb, melchoyce.
Fixes #38937 .
Built from https://develop.svn.wordpress.org/trunk@39482
git-svn-id: http://core.svn.wordpress.org/trunk@39422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 19:06:41 +00:00
Helen Hou-Sandí
f048b66f95
Twenty Seventeen: Improve ARIA for the nav menu.
...
The `onResizeARIA()` function was not very useful and buggy.
props afercia.
fixes #39029 , #39026 .
Built from https://develop.svn.wordpress.org/trunk@39451
git-svn-id: http://core.svn.wordpress.org/trunk@39391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 03:41:41 +00:00
David A. Kennedy
5edaa49d99
Twenty Seventeen: Ensure header text color updates in Customizer preview when cleared
...
Checks if the text color has been cleared and removes the `style` block if it has been. Uses color styles in theme stylesheet.
Props sstoqnov, davidakennedy.
Fixes #38993 .
Built from https://develop.svn.wordpress.org/trunk@39447
git-svn-id: http://core.svn.wordpress.org/trunk@39387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 23:01:43 +00:00
David A. Kennedy
c0a9b1e57f
Twenty Seventeen: Fix broken menu toggle in Customizer after menu items are added
...
This simplifies the line `$( siteNavigation.closest( '.main-navigation' ), this ).toggleClass( 'toggled-on' );` to `$( siteNavContain ).toggleClass( 'toggled-on' );`, since `this` is the clicked button, so the extra context isn't needed.
Props afercia, laurelfulford.
Fixes #38992 .
Built from https://develop.svn.wordpress.org/trunk@39419
git-svn-id: http://core.svn.wordpress.org/trunk@39359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:25:42 +00:00
David A. Kennedy
68fd3f7989
Twenty Seventeen: Fix style issues with gallery image links
...
* Ensures dark color scheme has proper box shadow and hover/focus styles.
* Make sure links are correct width.
Props afercia, laurelfulford.
Fixes #38969 .
Built from https://develop.svn.wordpress.org/trunk@39418
git-svn-id: http://core.svn.wordpress.org/trunk@39358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:10:42 +00:00
David A. Kennedy
853acee460
Twenty Seventeen: Hide front section panels on page load of Customizer.
...
Props sstoqnov.
Fixes #38951 .
Built from https://develop.svn.wordpress.org/trunk@39417
git-svn-id: http://core.svn.wordpress.org/trunk@39357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 05:57:43 +00:00
Joe McGill
6995048c9f
Twenty Seventeen: Add `.has-header-video` styles for custom color schemes.
...
Following [39413], this adds `.has-header-video` style definitions in
`/inc/custom-header.php` to support custom color schemes.
Props laurelfulford.
Fixes 38995.
Built from https://develop.svn.wordpress.org/trunk@39415
git-svn-id: http://core.svn.wordpress.org/trunk@39355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 05:44:42 +00:00
Joe McGill
e2b7762e9a
Twenty Seventeen: Better handling of custom headers when no image is set.
...
This ensures that a standard header is shown on the front page whenever
a header video is set without a header image if the video doesn't load,
e.g., on mobile sizes or if the JS doesn't fire.
This adds a new class, `.has-header-video` that is added whenever the
`wp-custom-header-video-loaded` event is fired, which is then used to style
the custom headers along with `.has-header-image` whenever a header image
is available. This also changes the class name on the custom header media
wrapping `div` from `.custom-header-image` to `.custom-header-media`.
Props laurelfulford, joemcgill.
Fixes #38995 .
Built from https://develop.svn.wordpress.org/trunk@39413
git-svn-id: http://core.svn.wordpress.org/trunk@39353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 05:12:41 +00:00
David A. Kennedy
bfdb5f5cd4
Twenty Seventeen: Make spacing on pages without comments consistent
...
Previously, the top of the page had more space than the bottom, not matching the original design.
Props laurelfulford, melchoyce.
Fixes #38972 .
Built from https://develop.svn.wordpress.org/trunk@39404
git-svn-id: http://core.svn.wordpress.org/trunk@39344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 02:48:48 +00:00
David A. Kennedy
396c93121c
Twenty Seventeen: Make sure header text color is applied when color schemes are active.
...
Props laurelfulford, ocean90.
Fixes #38980 .
Built from https://develop.svn.wordpress.org/trunk@39397
git-svn-id: http://core.svn.wordpress.org/trunk@39337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 00:04:40 +00:00
David A. Kennedy
b17e25ff34
Twenty Seventeen: Make fixed navigation apply at correct height on front page, without header video or image
...
Props laurelfulford, littlebigthing.
Fixes #38927 .
Built from https://develop.svn.wordpress.org/trunk@39392
git-svn-id: http://core.svn.wordpress.org/trunk@39332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:30:40 +00:00
David A. Kennedy
f5dbc862df
Twenty Seventeen: Provide a background color fallback for non-webkit browsers on input styles
...
This allows the styles to work correctly when modified by high contrast computer setups.
Props presskopp.
Fixes #38939 .
Built from https://develop.svn.wordpress.org/trunk@39388
git-svn-id: http://core.svn.wordpress.org/trunk@39328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:03:43 +00:00
David A. Kennedy
d21272ae29
Twenty Seventeen: Allow child themes to easily extend custom color patterns
...
By adding a filter, child themes can add additional selectors onto the custom color scheme CSS. Like so:
{{{
// Add child theme selectors for color schemes.
function dynamic_seventeen_custom_colors_css( $css, $hue, $saturation ) {
$css .= '
.colors-custom .content-menu > article:not(.has-post-thumbnail),
.colors-custom .content-menu > section:not(.has-post-thumbnail) {
border-top-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
}';
return $css;
}
add_filter( 'twentyseventeen_custom_colors_css', 'dynamic_seventeen_custom_colors_css', 10, 3 );
}}}
Props celloexpressions.
Fixes #38949 .
Built from https://develop.svn.wordpress.org/trunk@39386
git-svn-id: http://core.svn.wordpress.org/trunk@39326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 22:51:42 +00:00
David A. Kennedy
ba18343ae6
Twenty Seventeen: Make screen reader text on scroll arrow more meaningful
...
This way screen reader users will know what to expect when they use this link.
Props rianrietveld.
Fixes #38970 .
Built from https://develop.svn.wordpress.org/trunk@39384
git-svn-id: http://core.svn.wordpress.org/trunk@39324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 22:16:42 +00:00
Joe McGill
dd46ba58ea
Twenty Seventeen: Keep header videos from extending past footer.
...
This adds 1px of bottom padding to header videos to keep them from
extending past the footer at the bottom of the page.
Fixes #38950 .
Built from https://develop.svn.wordpress.org/trunk@39380
git-svn-id: http://core.svn.wordpress.org/trunk@39320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 20:53:42 +00:00
Helen Hou-Sandí
b6c2f11c54
Twenty Seventeen: Add textdomain for starter content attachment titles.
...
fixes #38981 .
Built from https://develop.svn.wordpress.org/trunk@39373
git-svn-id: http://core.svn.wordpress.org/trunk@39313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 05:48:44 +00:00
Helen Hou-Sandí
70fc99e323
Theme starter content: Add support for featured images and page templates.
...
Featured image support means that attachments can now be imported. Media can be sideloaded from within theme or plugin directories. Like other posts, attachments are auto-drafts until customizer changes are published, and are not duplicated when they already exist in the customized state. Attachment IDs can be used for any number of purposes, much like post IDs. Twenty Seventeen now includes 3 images used as featured images to best showcase the multi-section homepage setup.
As featured image IDs are stored in post meta, it also made sense to add support for page templates. Twenty Seventeen does not include any such templates, but the functionality can be quite important for displaying themes to their best effect.
props westonruter, helen, flixos90.
fixes #38615 .
Built from https://develop.svn.wordpress.org/trunk@39346
git-svn-id: http://core.svn.wordpress.org/trunk@39286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-23 09:53:33 +00:00
David A. Kennedy
68f5457770
Twenty Seventeen: Ensure edit button label displays properly in other languages
...
This bug occurred in any language where text wraps character-by-character, since those languages don't delimit words with spaces. In Japanese, Chinese and Korean, etc., it was possible for the label to be displayed vertically.
Props tg29359, afercia, odysseygate.
Fixes #38876 .
Built from https://develop.svn.wordpress.org/trunk@39341
git-svn-id: http://core.svn.wordpress.org/trunk@39281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-23 00:44:30 +00:00
Joe McGill
46b2ef90be
Twenty Seventeen: CSS coding standards fixes.
...
This makes a few adjustments to CSS to bring them inline with WordPress
CSS coding standards including:
* Font weights should be defined using numeric values
* Do not pad parentheses with spaces
This also fixes a couple of typos to inline comments.
Props netweb for initial patch.
Fixes #38901 .
Built from https://develop.svn.wordpress.org/trunk@39340
git-svn-id: http://core.svn.wordpress.org/trunk@39280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-22 20:47:33 +00:00
Helen Hou-Sandí
96960d8ed6
Twenty Seventeen: Ensure galleries display correctly in IE11.
...
It appears IE11 needs an explicit width for an `inline-block` parent element.
props derrickkoo, afercia.
fixes #38872 .
Built from https://develop.svn.wordpress.org/trunk@39339
git-svn-id: http://core.svn.wordpress.org/trunk@39279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-22 15:51:36 +00:00
Helen Hou-Sandí
7ba9399fbd
Twenty Seventeen: Avoid an undefined index notice after [39291].
...
props westonruter.
see #38847 .
Built from https://develop.svn.wordpress.org/trunk@39317
git-svn-id: http://core.svn.wordpress.org/trunk@39257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-19 04:55:35 +00:00
David A. Kennedy
b08d9893f6
Twenty Seventeen: Make all Codex links in DocBlocks use HTTPS
...
Props johnpgreen.
Fixes #38854 .
Built from https://develop.svn.wordpress.org/trunk@39300
git-svn-id: http://core.svn.wordpress.org/trunk@39240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 20:49:31 +00:00
David A. Kennedy
aaf3fe71dd
Twenty Seventeen: Adds `background-attachment: fixed;` to devices that should support it
...
iOS disables this feature under the hood, but it also distorts the images – unlike other mobile devices that don't support it. So this adds a check for both `background-attachment: fixed` support or whether it’s an iOS device - passing it adds the class `background-fixed` which is used to add the proper styles.
It also lowers the media query so the parallax-like style is present on a wider range of screens since this bug can be better targeted and avoided. In this way, screens that aren't the offending devices aren't punished merely based on screen size.
Props joemcgill, laurelfulford, helen.
Fixes #38395 .
Built from https://develop.svn.wordpress.org/trunk@39297
git-svn-id: http://core.svn.wordpress.org/trunk@39237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 20:11:30 +00:00
Helen Hou-Sandí
bbdf00c95c
Twenty Seventeen: Rename the starter content menus to match the menu area names.
...
Saves strings and is more descriptive.
props davidakennedy.
see #38615 .
Built from https://develop.svn.wordpress.org/trunk@39294
git-svn-id: http://core.svn.wordpress.org/trunk@39234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 19:05:29 +00:00
David A. Kennedy
7d96057b8b
Twenty Seventeen: Ensure the use of proper image size for custom header image
...
The `sizes` attribute was calculated incorrectly, resulting in the browser downloading the wrong resource. This filters the attribute to correct that.
Before the filter, the `img` contained:
`sizes="(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px"`
And after:
`sizes="100vw"`
Props joemcgill, transl8or.
Fixes #38847 .
Built from https://develop.svn.wordpress.org/trunk@39291
git-svn-id: http://core.svn.wordpress.org/trunk@39231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 18:43:30 +00:00
Helen Hou-Sandí
000cd0c68d
Twenty Seventeen: Remove some extraneous function calls.
...
fixes #38848 .
Built from https://develop.svn.wordpress.org/trunk@39286
git-svn-id: http://core.svn.wordpress.org/trunk@39226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 06:36:32 +00:00
Weston Ruter
560e93ec80
Customize: Remove obsolete edit shortcut style rules from Twenty Seventeen.
...
Props celloexpressions.
Fixes #38776 .
Built from https://develop.svn.wordpress.org/trunk@39285
git-svn-id: http://core.svn.wordpress.org/trunk@39225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 05:22:31 +00:00
Joe McGill
5e88248a44
Twenty Seventeen: Additional default header image optimizations.
...
This is a follow-up to [39248] that applies a bit more compression to
the default header image in Twenty Seventeen.
Props Presskopp, lukecavanagh.
Fixes #38793 .
Built from https://develop.svn.wordpress.org/trunk@39279
git-svn-id: http://core.svn.wordpress.org/trunk@39219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-17 17:13:30 +00:00
Joe McGill
72606bed34
Twenty Seventeen: Add styles for custom header video controls.
...
Following [39272], this uses the `header_video_settings` filter to modify
the default video header control markup and adds theme specific styles
for the play/pause button.
Props melchoyce, laurelfulford, joemcgill, davidakennedy, bradyvercher.
Fixes #38697 .
Built from https://develop.svn.wordpress.org/trunk@39273
git-svn-id: http://core.svn.wordpress.org/trunk@39213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-16 23:38:29 +00:00
Helen Hou-Sandí
2d9ac64c9f
Theme starter content: Add reference IDs for most default widgets.
...
Some widgets that require more configuration are not included, such as RSS and Custom Menu. Tag Cloud is also not included because fresh sites do not have any tags to display.
Also adds a search widget to a Twenty Seventeen footer widget area.
see #38615 .
Built from https://develop.svn.wordpress.org/trunk@39261
git-svn-id: http://core.svn.wordpress.org/trunk@39201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-16 00:40:32 +00:00
Helen Hou-Sandí
fd761208fc
Theme starter content: Refine the content for pages.
...
see #38615 .
Built from https://develop.svn.wordpress.org/trunk@39260
git-svn-id: http://core.svn.wordpress.org/trunk@39200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-16 00:29:31 +00:00
Helen Hou-Sandí
8485582c8a
Theme starter content: Revamp the credits widget into an about widget.
...
The credits widget from the original commit was a nice test to see the date changing, but isn't really very inspirational. Also, implement it in Twenty Seventeen.
see #38615 .
Built from https://develop.svn.wordpress.org/trunk@39255
git-svn-id: http://core.svn.wordpress.org/trunk@39195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 21:08:30 +00:00
Joe McGill
984ef6288a
Twenty Seventeen: Compress the default header image.
...
This replaces the default `header.jpg` with a compressed version.
The original was 209KB and the new version is 143KB with almost no
distinguishable visual loss.
Props Presskopp.
Fixes #38793 .
Built from https://develop.svn.wordpress.org/trunk@39248
git-svn-id: http://core.svn.wordpress.org/trunk@39188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 18:01:33 +00:00
Weston Ruter
011391007c
Customize: Ensure edit shortcuts have same background color regardless of theme colors.
...
Fixes #38776 .
Built from https://develop.svn.wordpress.org/trunk@39243
git-svn-id: http://core.svn.wordpress.org/trunk@39183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 09:14:31 +00:00
Weston Ruter
a69d66bac3
Customize: Adjust layout for edit shortcuts only when shown.
...
Add theme-specific positioning of edit shortcuts in Twenty Fourteen and Twenty Seventeen.
Props sirbrillig, sstoqnov, westonruter.
Fixes #38651 .
Built from https://develop.svn.wordpress.org/trunk@39233
git-svn-id: http://core.svn.wordpress.org/trunk@39173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 00:15:30 +00:00
Tammie Lister
56723c61c6
Twenty Seventeen: Fix for mobile menu parent items requiring double tap
...
After further review from the accessibility team, it was determined that the menu items with sub-menus don't need the aria-haspopup attribute.
Props davidakennedy, celloexpressions, voldemortensen, afercia
See #38397
Built from https://develop.svn.wordpress.org/trunk@39232
git-svn-id: http://core.svn.wordpress.org/trunk@39172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 22:34:31 +00:00
Weston Ruter
dfbcdae985
Customize: Use selective refresh for custom header changes when possible.
...
* Use `postMessage` transport for header image settings by default when video headers are supported, and thus `the_custom_header_markup()` will necessarily be used (and thus a selective refresh partial will be available).
* Ensure that `the_custom_header_markup()` always outputs a container element in the customizer preview even if the header is empty.
* Ensure that edit shortcut appearing for custom header does not get positioned off-screen.
Props bradyvercher, westonruter.
See #38639 .
Fixes #38737 .
Built from https://develop.svn.wordpress.org/trunk@39227
git-svn-id: http://core.svn.wordpress.org/trunk@39167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 18:41:32 +00:00
Tammie Lister
9ef40ced2f
Twenty Fourteen: Removes video header support
...
Support was added to test implementation but never completed. This removes the test implementation.
Props davidakennedy
Fixes #38783
Built from https://develop.svn.wordpress.org/trunk@39226
git-svn-id: http://core.svn.wordpress.org/trunk@39166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 17:17:31 +00:00
Tammie Lister
9e110f8aed
Twenty Seventeen: Resolves focused controls hidden by the top menu.
...
When a page is scrolled, the top nav menu become fixed. Depending on the page content this caused issue where focused links or buttons may be hidden behind the nav menu.
Props afercia, davidakennedy, Fencer04
Fixes #38476
Built from https://develop.svn.wordpress.org/trunk@39225
git-svn-id: http://core.svn.wordpress.org/trunk@39165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 17:01:30 +00:00
Tammie Lister
1c2343e4ea
Twenty Seventeen: Fixes custom header text color issues
...
Removes default header text color and updates and updates selectors.
Props laurelfulford, davidakennedy, Idealien
Fixes #38391
Built from https://develop.svn.wordpress.org/trunk@39224
git-svn-id: http://core.svn.wordpress.org/trunk@39164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 16:49:32 +00:00
David A. Kennedy
b6e848e638
Twenty Seventeen: Make sure theme JavaScript follows proper coding standards
...
Props sstoqnov, afercia.
Fixes #38752 .
Built from https://develop.svn.wordpress.org/trunk@39221
git-svn-id: http://core.svn.wordpress.org/trunk@39161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 11:41:31 +00:00
David A. Kennedy
f5cdba121f
Twenty Seventeen: Make custom header preview match front end in Customizer when changed
...
* Toggles `has-header-image` body class in Customizer preview whenever images or videos are added or removed.
* Hides the `.custom-header-image`div in CSS when an image or video haven't been set so preview changes are smoother.
* Also fixes the main issues in #38391 – making the preview match.
Props bradyvercher.
Fixes #38627 .
See #38391 .
Built from https://develop.svn.wordpress.org/trunk@39220
git-svn-id: http://core.svn.wordpress.org/trunk@39160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 11:23:32 +00:00
David A. Kennedy
126c7e4c72
Twenty Seventeen: Adds numbers to the table of contents in `style.css`
...
Props karmatosed.
Fixes #38767 .
Built from https://develop.svn.wordpress.org/trunk@39216
git-svn-id: http://core.svn.wordpress.org/trunk@39156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 23:45:32 +00:00
David A. Kennedy
d902f1f167
Twenty Seventeen: Fix Customizer preview display issues in IE9
...
IE9 doesn't understands `vh ` (vertical height) when inside of an `iframe`. Normally IE9 will understand `vh` as the vertical height relative to the viewport, but in an `iframe`, IE9 thinks the vertical height is relative to the size of the whole page. So this fixes that when the site is viewed in the Customizer preview – an `iframe`.
Props laurelfulford.
Fixes #38722 .
Built from https://develop.svn.wordpress.org/trunk@39215
git-svn-id: http://core.svn.wordpress.org/trunk@39155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 23:31:31 +00:00
David A. Kennedy
fe01b8b926
Twenty Seventeen: Fix typos in font family translator comment
...
Props dimadin.
Fixes #38740 .
Built from https://develop.svn.wordpress.org/trunk@39208
git-svn-id: http://core.svn.wordpress.org/trunk@39148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 01:30:30 +00:00
David A. Kennedy
1b5ffcd3f0
Twenty Seventeen: Update screen-reader-text to reset word-wrap
...
This resets the property to normal where needed and, to be safe, uses `!important`. It avoids screen readers reading out words ignoring spaces between words in some cases.
Props afercia.
Fixes #38764 .
Built from https://develop.svn.wordpress.org/trunk@39207
git-svn-id: http://core.svn.wordpress.org/trunk@39147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 00:26:30 +00:00
Tammie Lister
41cf4e1656
Twenty Seventeen: Keyboard navigation on Safari 10 fix
...
This resolves the weird behaviour on Safari 10 has some weird behaviour.
Props rianrietveld, swisspidy, afercia, sami.keijonen, arush, davidakennedy
Fixes #38387
Built from https://develop.svn.wordpress.org/trunk@39206
git-svn-id: http://core.svn.wordpress.org/trunk@39146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-12 23:39:34 +00:00
Helen Hou-Sandí
99f0a4de76
Twenty Seventeen: Better RTL positioning for scroll down arrow.
...
props adamsilverstein.
fixes #38706 .
Built from https://develop.svn.wordpress.org/trunk@39198
git-svn-id: http://core.svn.wordpress.org/trunk@39138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-10 13:54:30 +00:00
Tammie Lister
8e3e901559
Twenty Seventeen fix for Travis Error
...
Removed semi-colo on line 46
Props swissspidy
Built from https://develop.svn.wordpress.org/trunk@39184
git-svn-id: http://core.svn.wordpress.org/trunk@39124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-09 16:55:31 +00:00
Tammie Lister
6c435f5afb
Twenty Seventeen: Fixes focused controls hidden by top menu.
...
When a page is scrolled, the top nav menu became fixed. This resolves that.
Props afercia, Fencer04, davidakennedy
Fixes #38476
Built from https://develop.svn.wordpress.org/trunk@39183
git-svn-id: http://core.svn.wordpress.org/trunk@39123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-09 16:13:34 +00:00
David A. Kennedy
fa4cbf29f1
Twenty Seventeen: Fix badly pixelated images on iOS devices
...
The CSS property `background-attachment: fixed` is disabled in some mobile browsers for performance reasons. So here, the fix increases the breakpoint where the `background-attachment: fixed` is applied to the front page images. Doing this removes the fixed backgrounds and the issue from all smaller screens, but the downside is that it also removes the fixed backgrounds from smaller laptops. It's also possible future devices could fall into this breakpoint, but this seems to be the most practical solution.
Props laurelfulford.
Fixes #38395 .
Built from https://develop.svn.wordpress.org/trunk@39176
git-svn-id: http://core.svn.wordpress.org/trunk@39116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-09 01:13:00 +00:00
David A. Kennedy
35035be00b
Twenty Seventeen: Improve SVG markup, providing more options customization
...
* Removes `aria-hidden` argument. Lets `aria-hidden="true"` be there by default and sets it empty when there is `title` and `desc`.
* Adds unique IDs for title and desc for accessible implementation options.
* Removes absolute path in the Customizer. It didn't work in Internet Explorer, and the original bug is fixed in #30028 .
* Add whitespace around `<use>`, from #38387 .
Props sami.keijonen, swissspidy, laurelfulford.
Fixes #38659 .
See #38387 .
Built from https://develop.svn.wordpress.org/trunk@39164
git-svn-id: http://core.svn.wordpress.org/trunk@39104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-08 18:01:33 +00:00
David A. Kennedy
1d8d59a21a
Twenty Seventeen: Fix post navigation font legibility issue
...
The combination of font-size and weight for post navigation made lower case "i"s illegible in some cases. Using `15px` seemed to be the best choice all around. Also adjusts the spacing around the arrows a bit, since they touch the text on small screen sizes.
Props laurelfulford.
Fixes #38670 .
Built from https://develop.svn.wordpress.org/trunk@39152
git-svn-id: http://core.svn.wordpress.org/trunk@39092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-07 21:07:34 +00:00
David A. Kennedy
4c5f80c839
Twenty Seventeen: Fix playlists not rendering on blog/archive pages when using video or audio post format
...
TwentySeventeen attempts to highlight media found in post content by using `get_media_embedded_in_content()` to extract videos from the content and display their HTML differently. However, the HTML being generated by the playlist shortcode relies on JavaScript to update the video element with the markup needed to display the playlist properly. The `get_media_embedded_in_content()` function wasn't designed to handle this use case.
The patch looks for the presence of `wp-playlist-script` in the content and shows the standard content rather than trying to pluck the media elements from the content using `get_media_embedded_in_content()`.
Props joemcgill.
Fixes #38390 .
Built from https://develop.svn.wordpress.org/trunk@39146
git-svn-id: http://core.svn.wordpress.org/trunk@39086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-05 00:45:31 +00:00
Weston Ruter
f4c3b8352e
Customize: Use `button` with `svg` as click target instead of `:before` content, improving clickability of edit shortcuts in Firefox.
...
Props sirbrillig, celloexpressions, delawski.
See #38532 .
Built from https://develop.svn.wordpress.org/trunk@39136
git-svn-id: http://core.svn.wordpress.org/trunk@39076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-04 17:16:26 +00:00
David A. Kennedy
495b2d835f
Twenty Seventeen: Make sure skip link works in all versions of Internet Explorer
...
This also reduces the number of browsers detected and patched with this fix. Most modern browsers have patched this common bug, where an anchor link does not move focus when clicked. Twenty Seventeen will only worry about older versions of Internet Explorer in this regard.
Props afercia, sami.keijonen.
See #38604 .
Built from https://develop.svn.wordpress.org/trunk@39135
git-svn-id: http://core.svn.wordpress.org/trunk@39075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-04 17:15:55 +00:00
David A. Kennedy
0a3d034962
Twenty Seventeen: Correct issues with hidden overflow and height on site header
...
In -r39124, some additional issues were introduced:
* The 'overflow: hidden' on the `.site-header;` was added to prevent a side-scrolling issue, but it ended up cutting off the menu. It looks like the cause of the side-scroll was related to how the scroll down icon was rotated, so it's addressed by rotating the icon and not the `<a>`.
* Also, `min-height` doesn't play well with `display: table;` in Firefox. So it's addressed with just `height`.
Props laurelfulford, sami.keijonen.
See #38543 .
Built from https://develop.svn.wordpress.org/trunk@39129
git-svn-id: http://core.svn.wordpress.org/trunk@39069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-04 17:12:57 +00:00
David A. Kennedy
6c82930a5d
Twenty Seventeen: Fix site name and description appearing off screen in some browsers
...
* Occurred in Firefox and IE 11.
* Removes Flexbox in favor of more well-supported `display: table; ` layout technique.
* Maintains consistent layout on smaller screens.
Props laurelfulford.
Fixes #38543 .
Built from https://develop.svn.wordpress.org/trunk@39124
git-svn-id: http://core.svn.wordpress.org/trunk@39064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-04 17:10:31 +00:00
Joe McGill
89a70eb859
Themes: Remove jQuery dependency from wp-custom-header.js.
...
In [38985], we used jQuery to trigger a custom event once a video
handler has completed so themes, like Twenty Fourteen, can execute
their own adjustments after the header video has loaded.
This replaces the jQuery `trigger()` method with a native event and
updates Twenty Fourteen accordingly.
Props adamsilverstein, joemcgill.
Fixes #38550 .
Built from https://develop.svn.wordpress.org/trunk@39102
git-svn-id: http://core.svn.wordpress.org/trunk@39044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-03 01:21:28 +00:00
Tammie Lister
40dc499cda
Twenty Seventeen: Unifies the labels for front page sections
...
Front page sesctions # Content were labelled in Customizer Theme Options but the preview called it Panel # placeholder. This unifies that.
Props Clorith, ahortin, celloexpressions, davidakennedy
Fixes #38567
Built from https://develop.svn.wordpress.org/trunk@39094
git-svn-id: http://core.svn.wordpress.org/trunk@39036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-02 19:09:32 +00:00
David A. Kennedy
4b3a9de5b5
Twenty Seventeen: Fix `supportsInlineSVG()` being unnecessarily called twice
...
* Also, fix spacing inconsistency in comment.
Props tywayne.
Fixes #38556 .
Built from https://develop.svn.wordpress.org/trunk@39081
git-svn-id: http://core.svn.wordpress.org/trunk@39023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 21:24:30 +00:00
Tammie Lister
9cf5aa4381
Twenty Seventeen: Sticky icon fix to stop appearing in regular post flow
...
The sticky icon was appearing in posts it shouldn't have, not just when stuck. This fixes that.
Props laurelfulford, mageshp, davidakennedy
Fixes #38534
Built from https://develop.svn.wordpress.org/trunk@39080
git-svn-id: http://core.svn.wordpress.org/trunk@39022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 20:56:30 +00:00
Tammie Lister
2b611c2b1d
Twenty Seventeen: Fixes ul inside ol being wrongly ordered.
...
Now the listing displays correctly.
Props tg29359, Soean, laurelfulford, davidakennedy
Fixes #38515
Built from https://develop.svn.wordpress.org/trunk@39079
git-svn-id: http://core.svn.wordpress.org/trunk@39021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 20:53:30 +00:00
David A. Kennedy
9510f68efa
Twenty Seventeen: Update page layout setting for all use cases
...
* Makes sure the page layout setting also applies to pages, and is not completely hidden from them when a sidebar widget is present. Pages do not have a sidebar, so that was incorrect.
* Updates description in Customizer for brevity and accuracy.
* Applies setting to archive pages as well.
* Updates CSS to reflect changes.
Props celloexpressions, laurelfulford.
Fixes #38538 .
Built from https://develop.svn.wordpress.org/trunk@39078
git-svn-id: http://core.svn.wordpress.org/trunk@39020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 20:40:31 +00:00
David A. Kennedy
906eb80953
Twenty Seventeen: Remove unnecessary l10n variables
...
* Relies on header skip link instead of l10n variables in JavaScript.
* Fixes issue where scroll down arrow appeared next to the navigation on the front page with no header image or video. It now only appears with a big header.
Props enodekciw, laurelfulford.
Fixes #38502 .
Built from https://develop.svn.wordpress.org/trunk@39073
git-svn-id: http://core.svn.wordpress.org/trunk@39015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 19:00:32 +00:00
David A. Kennedy
3711c0664d
Twenty Seventeen: Replace remaining Genericons with Font Awesome icons
...
* Replaces: icon-pinned with icon-thumb-tack
* Replaces: icon-next with icon-arrow-right
* Replaces: icon-previous with icon-arrow-left
* Replaces: icon-expand with icon-angle-down
* Removes: Path, Polldaddy
Props sami.keijonen, melchoyce, laurelfulford.
Fixes #38488 .
Built from https://develop.svn.wordpress.org/trunk@39072
git-svn-id: http://core.svn.wordpress.org/trunk@39014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-01 17:26:32 +00:00
Tammie Lister
67bd634b69
Twenty Seventeen: Fixes unexpected behaviour of scroll down arrow
...
This ensures the arrorw disappears once the top menu sticks.
Props LittleBigThing, davidakennedy
Fixes #38555
Built from https://develop.svn.wordpress.org/trunk@39004
git-svn-id: http://core.svn.wordpress.org/trunk@38946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-29 09:45:31 +00:00
David A. Kennedy
ce81b7a849
Twenty Seventeen: Adds missing theme text domains to starter content
...
* Also, changes the top menu label so it has better context when read alone by assistive technology.
Props anilbasnet.
Fixes #38542 .
Built from https://develop.svn.wordpress.org/trunk@39001
git-svn-id: http://core.svn.wordpress.org/trunk@38943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 23:44:33 +00:00
David A. Kennedy
42f804e4cb
Twenty Seventeen: Don't modify excerpt link in admin
...
* Since this is a filter the original value is returned if `is_admin()` is true.
* Removes portion of the doc block since function is not pluggable.
Props mangeshp.
Fixes #38510 .
Built from https://develop.svn.wordpress.org/trunk@39000
git-svn-id: http://core.svn.wordpress.org/trunk@38942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 23:16:34 +00:00
David A. Kennedy
f7552bbf53
Twenty Seventeen: Remove excessive escaping in `color-patterns.php`
...
Uses `absint()` to escape when getting value. Removes `esc_attr` from each instance of the variable.
Props fencer04.
Fixes #38449 .
Built from https://develop.svn.wordpress.org/trunk@38999
git-svn-id: http://core.svn.wordpress.org/trunk@38941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 21:53:46 +00:00
Tammie Lister
9fccac28d8
Twenty Seventeen: Hidden article tags on home page fix
...
This prevents the issue of hidden article tags on home page.
Props ElectricFeet, iv.dimova. morettigeorgiev, davidakennedy
Fixes #38404
M twentyseventeen/inc/template-tags.php
M twentyseventeen/style.css
Built from https://develop.svn.wordpress.org/trunk@38998
git-svn-id: http://core.svn.wordpress.org/trunk@38940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 21:01:34 +00:00
David A. Kennedy
a8b19ca223
Twenty Seventeen: Fix broken and crowded pagination navigation on small screens
...
* Hides page numbers visually at smaller screen sizes.
* Reduced padding around `.wrap` class on smaller screens.
* Fixed issue with the page numbers not displaying the underline on `:hover`. This has been updated in the custom colors files, too.
Props laurelfulford, caspie.
Fixes #38394 .
Built from https://develop.svn.wordpress.org/trunk@38996
git-svn-id: http://core.svn.wordpress.org/trunk@38938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 17:38:42 +00:00
Weston Ruter
75535c596b
Customize: Introduce starter content and site freshness state.
...
A theme can opt-in for tailored starter content to apply to the customizer when previewing the theme on a fresh install, when `fresh_site` is at its initial `1` value. Starter content is staged in the customizer and does not go live unless the changes are published. Initial starter content is added to Twenty Seventeen.
* The `fresh_site` flag is cleared when a published post or page is saved, when widgets are modified, or when the customizer state is saved.
* Starter content is registered via `starter-content` theme support, where the argument is an array containing `widgets`, `posts`, `nav_menus`, `options`, and `theme_mods`. Posts/pages in starter content are created with the `auto-draft` status, re-using the page/post stubs feature added to nav menus and the static front page controls.
* A `get_theme_starter_content` filter allows for plugins to extend a theme's starter content.
* Starter content in themes can/should re-use existing starter content items in core by using named placeholders.
* Import theme starter content into customized state when fresh site.
* Prevent original_title differences from causing refreshes if title is present.
* Ensure nav menu item url is set according to object when previewing.
* Make sure initial saved state is false if there are dirty settings without an existing changeset.
* Ensure dirty settings are cleaned upon changeset publishing.
Props helen, westonruter, ocean90.
Fixes #38114 , #38533 .
Built from https://develop.svn.wordpress.org/trunk@38991
git-svn-id: http://core.svn.wordpress.org/trunk@38934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-28 02:57:35 +00:00
David A. Kennedy
69c8c4ede0
Twenty Seventeen: Make border colors for panels match WordPress UI
...
Also, fixes the visibility of the borders for panels after the header videos commit.
Props celloexpressions.
Fixes #38408 .
See #38172 .
Built from https://develop.svn.wordpress.org/trunk@38988
git-svn-id: http://core.svn.wordpress.org/trunk@38931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-27 23:24:32 +00:00
David A. Kennedy
1ccea74e32
Twenty Seventeen: Fix issue with missing background color in dark color scheme.
...
A background color style that was added to the front page during video header implementation did not get included in the `colors-dark.css`, causing a display issue with the dark color scheme.
Props laurelfulford.
See #38172 .
Built from https://develop.svn.wordpress.org/trunk@38987
git-svn-id: http://core.svn.wordpress.org/trunk@38930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-27 23:01:30 +00:00
David A. Kennedy
769e718d2c
Twenty Seventeen: Improve user and developer experience with the customizer integration
...
* Rename customizer JS files to customize-preview.js and customize-controls.js to align with the core file naming and make it clearer where each file runs.
* Only show the colorscheme_hue control when there's a custom color scheme.
* Update preview JS handling for revised front page section handling, see below.
* Remove all references to "Theme Customizer" in code comments. It hasn't been called that since before 4.0.
* Clarify the purpose of the JS files by updated the code comments in the file headers.
* Improve code readability.
* Make the arbitrary number of front page sections filterable, for UI registration and output.
* Rename twentyseventeen_sanitize_layout to twentyseventeen_sanitize_page_layout to be clearer about what it sanitizes in case child themes or plugins consider reusing it.
* Rename page_options setting/control to page_layout as that's more reflective of what that option does; and again, helps for potential extensions.
* Make the page layout option contextual to pages and the sidebar being inactive, as the option only applies when there is no sidebar (per its description).
* Condense options into a single section.
* Add selective refresh for front page sections.
* Locate active_callback functions within customizer.php so that they're easier to find when editing customizer registrations, similarly to sanitize callbacks.
* Adjust the styling for placeholders for panels that aren't active.
* Ensure that the new visible edit shortcuts don't have any issues.
Props celloexpressions.
Fixes #38426 .
Built from https://develop.svn.wordpress.org/trunk@38986
git-svn-id: http://core.svn.wordpress.org/trunk@38929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-27 22:09:40 +00:00
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
Tammie Lister
4233a600bf
Twenty Seventeen: Placeholder styling
...
These were designed but never implemented.
Props melchoyce, davidakennedy
Fixes #38519
Built from https://develop.svn.wordpress.org/trunk@38969
git-svn-id: http://core.svn.wordpress.org/trunk@38912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 21:56:29 +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
David A. Kennedy
834b7c608e
Twenty Seventeen: Implement selective refresh for site title and tagline
...
Adding the `opacity` property to the site title prevents opacity from changing during selective refreshes in the Customizer preview.
Props celloexpressions.
Fixes #38513 .
Built from https://develop.svn.wordpress.org/trunk@38966
git-svn-id: http://core.svn.wordpress.org/trunk@38909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 18:43:42 +00:00
David A. Kennedy
a6df2cced5
Twenty Seventeen: Fix header height on sub-pages.
...
Moves `setNavProps` so it's no longer only fired on load when the scroll down arrow is present.
Props laurelfulford.
Fixes #38496 .
Built from https://develop.svn.wordpress.org/trunk@38964
git-svn-id: http://core.svn.wordpress.org/trunk@38907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 17:39:31 +00:00
David A. Kennedy
3103b1ac78
Twenty Seventeen: Make table styles more consistent
...
* Removes the left padding on the first cell in a row, and the right padding on the last cell in each row - the padding is still there between cells, so the contents don't meet.
* Does the opposite for RTL, and fixes some spacing issues.
* Updates the editor styles to match.
Props laurelfulford, snacking.
Fixes #38447 .
Built from https://develop.svn.wordpress.org/trunk@38963
git-svn-id: http://core.svn.wordpress.org/trunk@38906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 17:25:40 +00:00
David A. Kennedy
24ab3657cb
Twenty Seventeen: Improve front end display in Internet Explorer 8
...
* Fixes the display issues with the header. The header doesn't look exactly like it does in newer browsers, but it's closer.
* Gets the font sizes a bit more consistent with how it looks like other browsers.
* IE8 doesn't support SVGs, so it's using the fallback styles for some of the icons. The fallbacks are limited to the absolutely necessary icons - so there is one for the submenu dropdown toggle icon, but not for the little 'hamburger' and X that sit in front of the 'menu' button.
Props laurelfulford.
Fixes #38472 .
Built from https://develop.svn.wordpress.org/trunk@38962
git-svn-id: http://core.svn.wordpress.org/trunk@38905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 16:43:34 +00:00
Weston Ruter
8d1cb3068a
Customize: Add hue-only mode to color picker.
...
The color control in the customizer can use the new mode by supplying the `mode` param with `hue` (as opposed to the new default `full` value). New control replaces the `range` control in Twenty Seventeen for `colorscheme_hue`. The `wpColorPicker` can opt for hue-only mode via supplying `hue` as the `type` option. Iris Color Picker is updated from v1.0.7 to v1.1.0-beta.
Props mattwiebe, celloexpressions.
Fixes #38263 .
Built from https://develop.svn.wordpress.org/trunk@38931
git-svn-id: http://core.svn.wordpress.org/trunk@38874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-25 22:33:30 +00:00
David A. Kennedy
df7e53707e
Twenty Seventeen: Refresh color patterns for changes in style.css
...
This brings the custom colors CSS in line with the stylesheet. Some selectors were missing since many changes occurred in `style.css` a few days before the original merge to Core.
Props celloexpressions, laurelfulford.
Fixes #38389 .
Built from https://develop.svn.wordpress.org/trunk@38918
git-svn-id: http://core.svn.wordpress.org/trunk@38861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-25 20:00:42 +00:00
Tammie Lister
67dbadd476
Twenty Seventeen: Display scroll down arrow when no menu
...
This improves scrollability without a menu.
Props nnaimov, melchoyce, davidakennedy
Fixes #38392
Built from https://develop.svn.wordpress.org/trunk@38909
git-svn-id: http://core.svn.wordpress.org/trunk@38852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-25 16:51:35 +00:00
Tammie Lister
23a4550b0d
Twenty Seventeen: Resolves the pin icon having variations
...
This fixes the pin icon having variations in position and size depending on screen and device.
Props metodiew, mbelchev, davidakennedy
Fixes #38407
Built from https://develop.svn.wordpress.org/trunk@38892
git-svn-id: http://core.svn.wordpress.org/trunk@38835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-24 22:31:12 +00:00
Tammie Lister
e2c22fa367
Twenty Seventeen: iPad mini, iPhone 5 search form rendering issues fix
...
On the these devices, there is an issue with the button rendering for the search form. This resolves that.
Props Caspie, alex27, davidakennedy
Fixes #38396
Built from https://develop.svn.wordpress.org/trunk@38888
git-svn-id: http://core.svn.wordpress.org/trunk@38831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-24 19:11:35 +00:00
David A. Kennedy
5452a6a21d
Twenty Seventeen: Fix smooth scrolling skip link
...
The link was scrolling too far. The main problem was that the `menuTop` variable lost it's initial definition of `0`, so all future subtractions were failing.
Props tywayne.
Fixes #38448 .
Built from https://develop.svn.wordpress.org/trunk@38886
git-svn-id: http://core.svn.wordpress.org/trunk@38829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-24 17:59:47 +00:00
Tammie Lister
bb91701a02
Twenty Seventeen: Fixes incorrect use of _x()
...
There is an incorrect use in twentyseventeen_posted_on(). This fixes that.
Props ocean90, dineshc, mbelchev, davidakennedy
Fixes #38383
Built from https://develop.svn.wordpress.org/trunk@38885
git-svn-id: http://core.svn.wordpress.org/trunk@38828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-24 17:27:51 +00:00
Tammie Lister
dc35c19f60
Twenty Seventeen: Renaming of directory structure
...
This changes components directory to be called template-parts. Changes reflected in all files that call those sections.
Props bronsonquick, dd32
Fixes #38375
Built from https://develop.svn.wordpress.org/trunk@38875
git-svn-id: http://core.svn.wordpress.org/trunk@38818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-23 12:29:30 +00:00
Tammie Lister
05e4d10851
Revert [38873]: Commit does not keep file history due to deleted directory
...
The last commit to change directory structure for Twenty Seventee, didn't keep the file history so reverting in favour of doing that.
Props Ocean90
Built from https://develop.svn.wordpress.org/trunk@38874
git-svn-id: http://core.svn.wordpress.org/trunk@38817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-23 12:23:41 +00:00
Tammie Lister
552b119431
Twenty Seventeen: Renaming of directory structure
...
This changes components directory to be called template-parts. Changes reflected in all files that call those sections.
Props bronsonquick, dd32
Fixes #38375
Built from https://develop.svn.wordpress.org/trunk@38873
git-svn-id: http://core.svn.wordpress.org/trunk@38816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-23 12:07:32 +00:00
Tammie Lister
85d3ca7940
Twenty Seventeen: Remove whitelisting comments for PHP_Codesniffer
...
Some comments to whitelist PHP_CodeSniffer errors were left in the theme as on GitHub it intergrated with Travis testing. Those are now removed in this patch.
props davidakennedy
Built from https://develop.svn.wordpress.org/trunk@38872
git-svn-id: http://core.svn.wordpress.org/trunk@38815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-23 11:06:31 +00:00
Peter Wilson
8db6c6c4ef
Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes.
...
Add preconnect hinting for `https://fonts.gstatic.com ` in the bundled themes using Google fonts. WordPress versions 4.7+ include a crossorigin attribute, earlier versions will not.
Props leobaiano, swissspidy, peterwilsoncc.
Fixes #37171 .
Built from https://develop.svn.wordpress.org/trunk@38870
git-svn-id: http://core.svn.wordpress.org/trunk@38813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-23 01:56:32 +00:00
David A. Kennedy
e58856bbd0
Twenty Seventeen: Display featured image on static front page
...
This improves UX, since an image added will be displayed on front end as opposed to not at all. This fix added the front page's featured image above the front page content, similar to how it's handled in the other panels. Also it removed code that was setting the front page's featured image as a fallback to the custom header, and updated the conditions that add the `has-header-image` to remove reference to the front page's featured image.
Props laurelfulford.
Fixes #38402 .
Built from https://develop.svn.wordpress.org/trunk@38868
git-svn-id: http://core.svn.wordpress.org/trunk@38811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 22:15:50 +00:00
David A. Kennedy
0794b2489b
Twenty Seventeen: Add theme support for customize selective refresh widgets
...
Props celloexpressions.
Fixes #38400 .
Built from https://develop.svn.wordpress.org/trunk@38867
git-svn-id: http://core.svn.wordpress.org/trunk@38810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 21:48:48 +00:00
David A. Kennedy
222240c4da
Twenty Seventeen: Fix spacing issue on pages with comments
...
This effected the two column layout on pages. The entry content and comment areas needed to be floated and cleared properly.
Props laurelfulford.
Fixes #38388 .
Built from https://develop.svn.wordpress.org/trunk@38866
git-svn-id: http://core.svn.wordpress.org/trunk@38809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 20:51:53 +00:00
David A. Kennedy
36f6079b15
Twenty Seventeen: Add post author comment styles
...
Currently, it's hard to output an SVG in the comment function without a lot of extra effort. So this adds a simple border to the author avatar and removes previous code related to SVGs and/or Genericons.
Props laurelfulford.
Fixes #38403 .
Built from https://develop.svn.wordpress.org/trunk@38865
git-svn-id: http://core.svn.wordpress.org/trunk@38808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 20:37:34 +00:00
Gary Pendergast
802736514b
Tests: Prevent Twenty Seventeen from interfering with Customizer tests.
...
This was previously fixed in [38837], but it wasn't really the correct answer, to fix it in the theme. So, [38837] is reverted in this commit, and the Twenty Seventeen actions causing problems are unhooked before tests are run.
See #38372 .
Built from https://develop.svn.wordpress.org/trunk@38850
git-svn-id: http://core.svn.wordpress.org/trunk@38793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-21 05:28:31 +00:00
David A. Kennedy
8cfe2973d3
Twenty Seventeen: Replace inline control structure to improve code readability
...
Props vrundakansara, aaroncampbell.
Fixes #38384 .
Built from https://develop.svn.wordpress.org/trunk@38847
git-svn-id: http://core.svn.wordpress.org/trunk@38790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-20 22:18:29 +00:00
David A. Kennedy
89b20fcf8f
Twenty Fifteen, Twenty Seventeen: Add documentation to filters in themes.
...
Documents a missing one Twenty Fifteen and all four missing ones in Twenty Seventeen.
Props brainstormforce.
Fixes #38382 .
Built from https://develop.svn.wordpress.org/trunk@38846
git-svn-id: http://core.svn.wordpress.org/trunk@38789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-20 20:34:31 +00:00
Gary Pendergast
bf5d081fe4
Twenty Seventeen: Remove some whitespace accidentally introduced in [38837].
...
See #38372 .
Built from https://develop.svn.wordpress.org/trunk@38841
git-svn-id: http://core.svn.wordpress.org/trunk@38784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-20 09:27:32 +00:00
Gary Pendergast
35186cff65
Twenty Seventeen: Fix a PHP warning on fresh installs.
...
When setting the `transport` parameter on Customizer settings, we need to ensure the setting exists, particularly on new sites.
See #38372 .
Built from https://develop.svn.wordpress.org/trunk@38837
git-svn-id: http://core.svn.wordpress.org/trunk@38780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-20 09:04:31 +00:00
David A. Kennedy
7fbb094586
Importing Twenty Seventeen, our new default theme for 2017, set for 4.7.
...
With a focus on business sites, it will let you get down to business in style. Initial development occurred on GitHub. See: https://github.com/WordPress/twentyseventeen
Props melchoyce, laurelfulford, davidakennedy, grapplerulrich, manishsongirkar36, joefusco, smyoon315, b-07, rabmalin, mrahmadawais, hardeepasrani, implenton, acmethemes, claudiosanches, valeriutihai, pressionate, sgr33n, doughamlin, zodiac1978, tsl143, nikschavan, joshcummingsdesign, enodekciw, jordesign, patilvikasj, ryelle, mahesh901122, williampatton, juanfra, imnok, littlebigthing, mor10, samikeijonen, celloexpressions, akshayvinchurkar, davidmosterd, hiddenpearls, netweb, pratikchaskar, taggon, nukaga, ranh, yoavf, karmatosed, sandesh055, adammacias, noplanman, yogasukma, binarymoon, swapnilld, swissspidy, joyously, allancole, rianrietveld, sixhours, alex27, themeshaper, mapk, leobaiano.
See #38372 .
Built from https://develop.svn.wordpress.org/trunk@38833
git-svn-id: http://core.svn.wordpress.org/trunk@38776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-20 04:12:31 +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
Tammie Lister
ee20f7606b
Remove .pot files from Default Themes
...
Fixes #34884
Props davidakennedy
Built from https://develop.svn.wordpress.org/trunk@38093
git-svn-id: http://core.svn.wordpress.org/trunk@38034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-18 14:33:31 +00:00
Weston Ruter
36e46af382
Twenty Thirteen: Fix selective refresh of Masonry-laid out widgets by deferring initialization until DOM ready.
...
This ensures that the `wp.customize.selectiveRefresh` object will be available when in the Customizer preview.
Fixes #37390 .
Props westonruter, celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@38083
git-svn-id: http://core.svn.wordpress.org/trunk@38024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-17 21:14:29 +00:00
Tammie Lister
5bcc4e7b35
PHP 7 compatibility issues fixed in Twenty Thirteen and Twenty Fourteen
...
Props xknown
Fixes #37227
--This Line, and those below, will be ignored--
M themes/twentyfourteen/functions.php
M themes/twentythirteen/functions.php
Built from https://develop.svn.wordpress.org/trunk@38026
git-svn-id: http://core.svn.wordpress.org/trunk@37967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-09 15:11:33 +00:00
Konstantin Obenland
2678153cd4
Twenty Ten: Revert pot changes after update test.
...
Introduced in [37714].
Built from https://develop.svn.wordpress.org/trunk@37715
git-svn-id: http://core.svn.wordpress.org/trunk@37681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 16:46:29 +00:00
Konstantin Obenland
8c82515ab6
Update/Install: Shiny Updates v2.
...
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029 , #25828 , #31002 , #31529 , #31530 , #31773 , #33637 , #35032 .
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 16:37:29 +00:00
Tammie Lister
c0302df02f
Twenty Elevent Ephemera widget fix for caching in Customizer preview.
...
Fixes #36429 . Props anneschmidt, westonruter.
Built from https://develop.svn.wordpress.org/trunk@37590
git-svn-id: http://core.svn.wordpress.org/trunk@37558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-29 16:06:30 +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
cbbf361c03
Customize: Bring custom-logo args closer to custom-header.
...
Allows themes to specify the desired width and height of logos, and whether
that is flexible or not. Has the benefit of not having to generate a logo-sized
file for every image uploaded.
Props westonruter, celloexpressions.
Fixes #36255 .
Built from https://develop.svn.wordpress.org/trunk@37077
git-svn-id: http://core.svn.wordpress.org/trunk@37044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-24 02:02:27 +00:00
Weston Ruter
f3f84d2f21
Customize: Require opt-in for selective refresh of widgets.
...
* Introduces `customize-selective-refresh-widgets` theme support feature and adds to themes.
* Introduces `customize_selective_refresh` arg for `WP_Widget::$widget_options` and adds to all core widgets.
* Remove `selective_refresh` from being a component that can be removed via `customize_loaded_components` filter.
* Add `WP_Customize_Widgets::get_selective_refreshable_widgets()` and `WP_Customize_Widgets::is_widget_selective_refreshable()`.
* Fix default `selector` for `Partial` instances.
* Implement and improve Masronry sidebar refresh logic in Twenty Thirteen and Twenty Fourteen, including preservation of initial widget position after refresh.
* Re-initialize ME.js when refreshing `Twenty_Fourteen_Ephemera_Widget`.
See #27355 .
Fixes #35855 .
Built from https://develop.svn.wordpress.org/trunk@37040
git-svn-id: http://core.svn.wordpress.org/trunk@37007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-21 21:59:29 +00:00
Tammie Lister
3be543d7af
Twenty Thirteen, Twenty Fourteen, Twenty Fifteen: Update screenshots to 1200 x 900
...
Fixes #34806
Props: iamtakashi
Built from https://develop.svn.wordpress.org/trunk@37033
git-svn-id: http://core.svn.wordpress.org/trunk@37000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 17:01:29 +00:00
Tammie Lister
12c6679165
Twenty Thirteen, Twenty Fourteen and Twenty Fifteen: Fixes insufficient check for existence of DOM elements in jQuery object
...
Fixes #34033
Props: tywayne
Built from https://develop.svn.wordpress.org/trunk@36999
git-svn-id: http://core.svn.wordpress.org/trunk@36966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 21:33:28 +00:00
Tammie Lister
74e13b1149
Twenty Elevent: Captioned image fix for editor
...
Fixes #33153
Props: @iseulde
Built from https://develop.svn.wordpress.org/trunk@36957
git-svn-id: http://core.svn.wordpress.org/trunk@36925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:13:26 +00:00
Tammie Lister
d8636e70d7
Twenty Thirteen: Removes title attribute from footer
...
Fixes #35843
Props: @davidakennedy
Built from https://develop.svn.wordpress.org/trunk@36956
git-svn-id: http://core.svn.wordpress.org/trunk@36924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:07:26 +00:00
Konstantin Obenland
91460e2af1
Twenty Fifteen: Simplify `twentyfifteen_the_custom_logo()`.
...
See b72e3d8059
See #35944 .
Built from https://develop.svn.wordpress.org/trunk@36943
git-svn-id: http://core.svn.wordpress.org/trunk@36911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:21:27 +00:00
Aaron Jorbin
1972aa2a2a
Add grunt prerelease task
...
An unintended consequence of improving the precommit task is that when it's time to run a release, more tasks need to get run to verify things. This adds a prerelease task to help fix that situation. grunt prerelease should include tasks that verify the code base is ready to be released to the wild and find all the tears on the mausoleum floor and help Blood stain the Colosseum doors.
See #35557
Built from https://develop.svn.wordpress.org/trunk@36930
git-svn-id: http://core.svn.wordpress.org/trunk@36898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 05:37:27 +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
Weston Ruter
f78775a6db
Customize: Use selective refresh to preview changes to site title and tagline in core themes.
...
Fixes issue where `wptexturize` and other filters fail to apply when previewing changes via `postMessage` transport.
See #27355 .
Fixes #33738 .
Built from https://develop.svn.wordpress.org/trunk@36797
git-svn-id: http://core.svn.wordpress.org/trunk@36764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 22:18:26 +00:00
Dominik Schilling
e5ea82d81a
Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective).
...
Props obrienlabs, thewanderingbrit.
Fixes #34887 .
Built from https://develop.svn.wordpress.org/trunk@36709
git-svn-id: http://core.svn.wordpress.org/trunk@36676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-25 12:53:27 +00:00
Weston Ruter
6b775d4afe
Customize: Add selective refresh framework with implementation for widgets and re-implementation for nav menus.
...
See https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/ .
Props westonruter, valendesigns, DrewAPicture, ocean90.
Fixes #27355 .
Built from https://develop.svn.wordpress.org/trunk@36586
git-svn-id: http://core.svn.wordpress.org/trunk@36553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-19 18:41:28 +00:00
Dominik Schilling
7d378fce01
Bundled Themes: Bump version number of Twenty Thirteen.
...
Props davidakennedy.
Fixes #35319 .
Built from https://develop.svn.wordpress.org/trunk@36179
git-svn-id: http://core.svn.wordpress.org/trunk@36146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 22:20:26 +00:00
Pascal Birchler
d15b5318b5
Twenty Thirteen: Add missing loop in the image attachment template.
...
Props vtieu.
Fixes #35110 .
Built from https://develop.svn.wordpress.org/trunk@36136
git-svn-id: http://core.svn.wordpress.org/trunk@36102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-31 11:39:26 +00:00
Sergey Biryukov
421604cb67
Twenty Fifteen: Add left margin for lists inside blockquotes in `editor-style.css`.
...
Props diddledan.
Fixes #33380 .
Built from https://develop.svn.wordpress.org/trunk@36075
git-svn-id: http://core.svn.wordpress.org/trunk@36040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 13:10:28 +00:00
Pascal Birchler
54b8c3e53b
Docs: Fix some minor DocBlock alignment issues.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35885
git-svn-id: http://core.svn.wordpress.org/trunk@35849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 15:37:28 +00:00
Dominik Schilling
1b41572d4c
Bundled Themes: Update POT files.
...
See #34804 .
Built from https://develop.svn.wordpress.org/trunk@35829
git-svn-id: http://core.svn.wordpress.org/trunk@35793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-08 15:18:28 +00:00
Mel Choyce
bba9132925
Twenty Eleven/Docs: Remove duplicate "can" from footer template.
...
See #34885 .
Built from https://develop.svn.wordpress.org/trunk@35807
git-svn-id: http://core.svn.wordpress.org/trunk@35771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-06 22:12:25 +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
Sergey Biryukov
1137b70ef3
Twenty Fifteen: Document the `'twentyfifteen_color_schemes'` filter.
...
Props DrewAPicture.
Fixes #34119 .
Built from https://develop.svn.wordpress.org/trunk@34791
git-svn-id: http://core.svn.wordpress.org/trunk@34756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-03 01:10:26 +00:00
Sergey Biryukov
cf3203e016
Twenty Fifteen: Add missing commas in `rtl.css`.
...
Props netweb.
Fixes #33985 .
Built from https://develop.svn.wordpress.org/trunk@34586
git-svn-id: http://core.svn.wordpress.org/trunk@34550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-26 10:49:26 +00:00
Dominik Schilling
38b561e8df
Twenty Fifteen: Add a missing comma in rtl.css.
...
Props Toro_Unit.
Fixes #33985 .
Built from https://develop.svn.wordpress.org/trunk@34501
git-svn-id: http://core.svn.wordpress.org/trunk@34465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-24 16:03:24 +00:00
Dominik Schilling
620abd39a1
Bundled Themes: Update `Tested up to`.
...
Props mercime.
Fixes #33794 .
Built from https://develop.svn.wordpress.org/trunk@34079
git-svn-id: http://core.svn.wordpress.org/trunk@34047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-12 12:47:25 +00:00
Sergey Biryukov
0764191402
Twenty Fifteen: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33800
git-svn-id: http://core.svn.wordpress.org/trunk@33768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:55:00 +00:00
Sergey Biryukov
a17a93dfc9
Twenty Fourteen: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33799
git-svn-id: http://core.svn.wordpress.org/trunk@33767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:54:41 +00:00
Sergey Biryukov
a842133f97
Twenty Thirteen: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33798
git-svn-id: http://core.svn.wordpress.org/trunk@33766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:54:20 +00:00
Sergey Biryukov
5035f85bb4
Twenty Twelve: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33797
git-svn-id: http://core.svn.wordpress.org/trunk@33765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:53:02 +00:00
Sergey Biryukov
0a40e3a1eb
Twenty Eleven: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33796
git-svn-id: http://core.svn.wordpress.org/trunk@33764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:52:41 +00:00
Sergey Biryukov
5373802ffa
Twenty Ten: Correct license information in `readme.txt`.
...
props Otto42.
see #33590 , #31814 .
Built from https://develop.svn.wordpress.org/trunk@33795
git-svn-id: http://core.svn.wordpress.org/trunk@33763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-28 16:52:21 +00:00
Weston Ruter
49b3ad2251
Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated.
...
* Fix a bug where updating the social menu links would cause the main navigation to get its toggle-expanded buttons duplicated.
* Persist any existing submenu expanded states on the updated menu.
* Improve naming of `customize-preview-menu-refreshed` event param from `wpNavArgs` to `wpNavMenuArgs` (old name is retained and marked as deprecated).
Fixes #33177 .
Built from https://develop.svn.wordpress.org/trunk@33491
git-svn-id: http://core.svn.wordpress.org/trunk@33458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-29 18:13:24 +00:00
Konstantin Obenland
387d94ada4
Themes: Update readme files.
...
Adds information about changes in the current release, links to changlogs from
previous releases, and improves links to use `https`.
Release date for the latest versions will be August 18 even in the event of a
delayed core release. Since all themes are backwards compatible we don't have
a dependency there.
Props mercime, davidakennedy.
Fixes #32978 .
Built from https://develop.svn.wordpress.org/trunk@33463
git-svn-id: http://core.svn.wordpress.org/trunk@33430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 15:14:25 +00:00
Sergey Biryukov
ca038394e9
Twenty Eleven: Fix "Skip to content" links appearance after [31464].
...
props davidakennedy.
fixes #32231 .
Built from https://develop.svn.wordpress.org/trunk@33457
git-svn-id: http://core.svn.wordpress.org/trunk@33424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-28 11:14:24 +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
Ella Iseulde Van Dorpe
19dc4bb13a
Revert [31849] and [33351]
...
Also set the max-width of images in themes to 100%, not in pixels.
See #33022 and #31250 .
Built from https://develop.svn.wordpress.org/trunk@33418
git-svn-id: http://core.svn.wordpress.org/trunk@33386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-25 23:00:24 +00:00
Lance Willett
7b7fe01f76
Twenty Fifteen: don't hyphenate input elements. Fixes #32880 .
...
Built from https://develop.svn.wordpress.org/trunk@33093
git-svn-id: http://core.svn.wordpress.org/trunk@33064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 18:03:25 +00:00
Konstantin Obenland
ae2cafe1e1
Twenty Fifteen: Display sidebar background color with Header Image.
...
If the header image has a transparent background, the sidebar background color
should be visible. With the `background` shorthand it could never be over set
on the front-end however.
Props valendesigns.
Fixes #31460 .
Built from https://develop.svn.wordpress.org/trunk@33092
git-svn-id: http://core.svn.wordpress.org/trunk@33063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 17:27:26 +00:00
Konstantin Obenland
72ae151dfd
Remove deprecated constructor notice.
...
Since Twenty Eleven can be used with WordPress releases prior to 4.3, it can't
contain calls to functions that were introduced after its initial release.
Props ocean90.
Fixes #32881 .
Built from https://develop.svn.wordpress.org/trunk@33086
git-svn-id: http://core.svn.wordpress.org/trunk@33057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-04 20:43:25 +00:00
Konstantin Obenland
cc43eae995
Deprecate PHP4 style contructor in Twenty Eleven's Ephemera widget.
...
See #31982 .
Props Frank Klein.
Fixes #32881 .
Built from https://develop.svn.wordpress.org/trunk@33085
git-svn-id: http://core.svn.wordpress.org/trunk@33056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-04 20:29:23 +00:00
Konstantin Obenland
8217b0f2f7
Twenty Fifteen: Add missing textdomain.
...
Props pavelevap.
See #32001 .
Built from https://develop.svn.wordpress.org/trunk@33005
git-svn-id: http://core.svn.wordpress.org/trunk@32976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 19:23:25 +00:00
Konstantin Obenland
f051c59433
Twenty Fifteen: Use default strings for comments link.
...
Also adds context for screen readers, like in default strings.
Props pavelevap for initial patch.
Fixes #32001 .
Built from https://develop.svn.wordpress.org/trunk@33003
git-svn-id: http://core.svn.wordpress.org/trunk@32974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 15:39:25 +00:00
Konstantin Obenland
81df9bffc5
Use https for Google API external libraries.
...
Google recommends it and users are more likely to have the https version cached in their browser already.
Props rommelxcastro.
Fixes #32552 .
Built from https://develop.svn.wordpress.org/trunk@32843
git-svn-id: http://core.svn.wordpress.org/trunk@32814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-18 15:51:26 +00:00
Dominik Schilling
b2b3f1c3ff
Twenty Fifteen: Wrap navigation helpers into a function so it can be called on a refresh event of the Customize Preview.
...
props westonruter.
see #32576 .
Built from https://develop.svn.wordpress.org/trunk@32807
git-svn-id: http://core.svn.wordpress.org/trunk@32778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-16 22:18:24 +00:00
Lance Willett
4633e1eb79
Twenty Fifteen: add missing social link Genericons styles for Skype and Path.
...
Fixes #32332 , props philiparthurmoore.
Built from https://develop.svn.wordpress.org/trunk@32497
git-svn-id: http://core.svn.wordpress.org/trunk@32467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 18:15:27 +00:00
Lance Willett
ede6d64e7b
Twenty Twelve: fix typo in readme.txt file.
...
See #31814 , props TomasM.
Built from https://develop.svn.wordpress.org/trunk@32494
git-svn-id: http://core.svn.wordpress.org/trunk@32464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 23:32:26 +00:00
Lance Willett
a170135a7c
Twenty Fifteen: fix typo in readme file, props obenland. Format the release dates as per other bundled themes readme.txt file format.
...
See #31814 .
Built from https://develop.svn.wordpress.org/trunk@32493
git-svn-id: http://core.svn.wordpress.org/trunk@32463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:56:25 +00:00
Lance Willett
c4f78c9c29
Twenty Ten: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
Closes #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32492
git-svn-id: http://core.svn.wordpress.org/trunk@32462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:53:25 +00:00
Lance Willett
daae491af9
Twenty Eleven: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32491
git-svn-id: http://core.svn.wordpress.org/trunk@32461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:52:25 +00:00
Lance Willett
d3dc56d6bd
Twenty Twelve: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32490
git-svn-id: http://core.svn.wordpress.org/trunk@32460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:49:26 +00:00
Lance Willett
0dce6cb21d
Twenty Thirteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32489
git-svn-id: http://core.svn.wordpress.org/trunk@32459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:48:26 +00:00
Lance Willett
3d2ff11479
Twenty Fourteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32488
git-svn-id: http://core.svn.wordpress.org/trunk@32458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:46:25 +00:00
Lance Willett
7053929095
Twenty Fifteen: update readme file.
...
Props mercime, lancewillett. See #31814 .
Built from https://develop.svn.wordpress.org/trunk@32487
git-svn-id: http://core.svn.wordpress.org/trunk@32457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:42:27 +00:00
Lance Willett
86c5b28894
Twenty Twelve: fix content skip link appearance.
...
Props davidakennedy, fixes #32232 .
Built from https://develop.svn.wordpress.org/trunk@32486
git-svn-id: http://core.svn.wordpress.org/trunk@32456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:01:28 +00:00
Andrew Nacin
9c7a8b386d
Twenty Fifteen is 1.2 after [32392].
...
Built from https://develop.svn.wordpress.org/trunk@32442
git-svn-id: http://core.svn.wordpress.org/trunk@32412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 01:39:26 +00:00
Dominik Schilling
9e8d400c9d
Bundled Themes: Remove Genericons example.html files.
...
Built from https://develop.svn.wordpress.org/trunk@32392
git-svn-id: http://core.svn.wordpress.org/trunk@32362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:27:26 +00:00
Sergey Biryukov
b525634313
Bundled themes: use SSL WordPress.org URL in `rtl.css`.
...
see #32083 .
Built from https://develop.svn.wordpress.org/trunk@32315
git-svn-id: http://core.svn.wordpress.org/trunk@32286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 18:12:25 +00:00
Lance Willett
5404fa2097
Bundled themes: use SSL WordPress.org URLs.
...
Props SergeyBiryukov, fixes #32083 .
Built from https://develop.svn.wordpress.org/trunk@32314
git-svn-id: http://core.svn.wordpress.org/trunk@32285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 17:36: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
Andrew Ozz
6bdd0658be
Twenty Fifteen: remove `a img { display: block; }` from editor-style.css. Matches previous changes to style.css and fixes extra space when displaying captions in Firefox.
...
Fixes #32007 .
Built from https://develop.svn.wordpress.org/trunk@32231
git-svn-id: http://core.svn.wordpress.org/trunk@32205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 23:47:29 +00:00
Dominik Schilling
64fc7294b6
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
Built from https://develop.svn.wordpress.org/trunk@32116
git-svn-id: http://core.svn.wordpress.org/trunk@32095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-12 21:29:32 +00:00
Lance Willett
2c4b63826a
Twenty Fourteen: update editor styles to better account for adaptive images in small screens.
...
Fixes #31934 , props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@32094
git-svn-id: http://core.svn.wordpress.org/trunk@32073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:29:25 +00:00
Lance Willett
de3e344b2a
Twenty Fifteen: update editor styles to better account for adaptive images in small screens.
...
See #31934 , props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@32090
git-svn-id: http://core.svn.wordpress.org/trunk@32069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 22:01:27 +00:00
Lance Willett
8f6f787d13
Twenty Eleven: add `postMessage` support for `header_textcolor` to improve the user experience in the Customizer.
...
Fixes #24128 , props kovshenin, jcastaneda, and lancewillett.
Built from https://develop.svn.wordpress.org/trunk@31971
git-svn-id: http://core.svn.wordpress.org/trunk@31950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 21:42:27 +00:00
Lance Willett
57918dfc8f
Twenty Fifteen: adjust scroll behavior to make sure sidebar height is calculated during scroll events, not just resize events.
...
Fixes #31734 . Props jartes, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@31934
git-svn-id: http://core.svn.wordpress.org/trunk@31913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-30 22:49:27 +00:00
Lance Willett
b8e58b3352
Twenty Thirteen: make sure submenu links work correctly on small screens with touch events.
...
Fixes #31762 , props davidhamiltron.
Built from https://develop.svn.wordpress.org/trunk@31932
git-svn-id: http://core.svn.wordpress.org/trunk@31911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-30 19:20:27 +00:00
Lance Willett
a7eedc5f23
Bundled themes: update editor styles to better display images and captions in small screens.
...
Props jacklenox, see #31250 .
Built from https://develop.svn.wordpress.org/trunk@31849
git-svn-id: http://core.svn.wordpress.org/trunk@31828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 16:35:28 +00:00
Sergey Biryukov
31c11b1f0d
Bundled themes: After [31453], replace `current()` with `reset()`, which is guaranteed to be the first item.
...
see #31259 , #31260 .
Built from https://develop.svn.wordpress.org/trunk@31842
git-svn-id: http://core.svn.wordpress.org/trunk@31824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 02:04:27 +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
80faa524fe
Bundled themes: add documentation for new `onResizeARIA` function.
...
See #31527 . Props davidakennedy, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@31814
git-svn-id: http://core.svn.wordpress.org/trunk@31796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 18:31:26 +00:00
Lance Willett
913c4cd69c
Twenty Fourteen: add ARIA attributes to search toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31794
git-svn-id: http://core.svn.wordpress.org/trunk@31776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 18:51:29 +00:00
Lance Willett
c0c8c61d26
Twenty Thirteen: add ARIA attributes to menu toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31785
git-svn-id: http://core.svn.wordpress.org/trunk@31765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:01:26 +00:00
Lance Willett
f81f253434
Twenty Fourteen: add ARIA attributes to menu toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31784
git-svn-id: http://core.svn.wordpress.org/trunk@31764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:00:27 +00:00
Lance Willett
04ff214073
Twenty Fifteen: add ARIA attributes to menu toggle.
...
See #31527 , props davidakennedy, lance.
Built from https://develop.svn.wordpress.org/trunk@31644
git-svn-id: http://core.svn.wordpress.org/trunk@31625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 17:34:26 +00:00
Dominik Schilling
121d2ee4cb
Update POT file for Twenty Fourteen.
...
props SergeyBiryukov.
see #30972 , #30603 .
Built from https://develop.svn.wordpress.org/trunk@31501
git-svn-id: http://core.svn.wordpress.org/trunk@31482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 15:16:24 +00:00
Dominik Schilling
a748574c29
Revert [30790] and update POT file for Twenty Fifteen.
...
see #30972 , #30603 .
Built from https://develop.svn.wordpress.org/trunk@31500
git-svn-id: http://core.svn.wordpress.org/trunk@31481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 13:43:24 +00:00
Drew Jaynes
64bc6934f1
Add an entry to the changelog for `twentyfourteen_post_thumbnail()` noting that it was made 'pluggable'.
...
Fixes #31374 .
Built from https://develop.svn.wordpress.org/trunk@31482
git-svn-id: http://core.svn.wordpress.org/trunk@31463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-20 10:35:28 +00:00
Lance Willett
5dc3b77be3
Twenty Fourteen: make `twentyfourteen_post_thumbnail()` pluggable.
...
Fixes #31374 , props wordpressorru.
Built from https://develop.svn.wordpress.org/trunk@31481
git-svn-id: http://core.svn.wordpress.org/trunk@31462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-19 19:43:28 +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
86a133a79a
Bundled themes: replace `array_shift()` with `current()` for performance.
...
Props SergeyBiryukov, fixes #31260 .
Built from https://develop.svn.wordpress.org/trunk@31453
git-svn-id: http://core.svn.wordpress.org/trunk@31434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 17:52:27 +00:00
Lance Willett
cfba917080
Twenty Fifteen: move RSS icon style rule lower to prevent it from being overridden by other social icon rules.
...
Props iamtakashi, fixes #31129 .
Built from https://develop.svn.wordpress.org/trunk@31283
git-svn-id: http://core.svn.wordpress.org/trunk@31264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-26 15:58:23 +00:00
Lance Willett
3982471a5c
Twenty Eleven and Twelve: fill in support for `screen-reader-text` class.
...
Props obenland, fixes #31095 .
Built from https://develop.svn.wordpress.org/trunk@31268
git-svn-id: http://core.svn.wordpress.org/trunk@31249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-22 00:56:22 +00:00
Lance Willett
87279ec9ea
Twenty Eleven: fix indentation (spaces to tabs). See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31267
git-svn-id: http://core.svn.wordpress.org/trunk@31248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-22 00:44:22 +00:00
Lance Willett
ff5628169e
Twenty Ten: fix escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31266
git-svn-id: http://core.svn.wordpress.org/trunk@31247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-22 00:42:44 +00:00
Lance Willett
dcf53d5bbb
Twenty Eleven: fix escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31265
git-svn-id: http://core.svn.wordpress.org/trunk@31246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-22 00:42:23 +00:00
Lance Willett
d9cda71f18
Twenty Twelve: more fixes for escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31262
git-svn-id: http://core.svn.wordpress.org/trunk@31243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-21 21:06:23 +00:00
Lance Willett
078de57052
Twenty Twelve: fix escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31261
git-svn-id: http://core.svn.wordpress.org/trunk@31242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-21 21:00:21 +00:00
Lance Willett
c25f0ae8f8
Twenty Thirteen: fix escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31260
git-svn-id: http://core.svn.wordpress.org/trunk@31241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-21 20:49:22 +00:00
Lance Willett
17f69a89d4
Twenty Fourteen: fix escaping and minor code style issues. See #29127 .
...
Built from https://develop.svn.wordpress.org/trunk@31250
git-svn-id: http://core.svn.wordpress.org/trunk@31231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-20 19:03:23 +00:00
Lance Willett
f6fd49b357
Twenty Fifteen: keep sub-menus open when visiting sub-menu pages, to show context when navigating a site.
...
Props jartes, fixes #30722 .
Built from https://develop.svn.wordpress.org/trunk@31214
git-svn-id: http://core.svn.wordpress.org/trunk@31195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-16 19:17:22 +00:00
Lance Willett
7be12f7d8d
Twenty Fifteen: move `js` and `no-js` class name functionality out of header template and into a `wp_head` hook in functions.php file so that the JavaScript functionality isn't hard-coded into a template file.
...
Fixes #30770 , props chipbennett, valendesigns, and peterwilsoncc.
Built from https://develop.svn.wordpress.org/trunk@31184
git-svn-id: http://core.svn.wordpress.org/trunk@31165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:10:22 +00:00
Lance Willett
4d00172987
Twenty Fifteen: remove unused CSS rules for `wp_page_menu` since are not used in the theme. And a bit of CSS cleanup.
...
Props iamtakashi, fixes #30957 .
Built from https://develop.svn.wordpress.org/trunk@31183
git-svn-id: http://core.svn.wordpress.org/trunk@31164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:05:22 +00:00
Lance Willett
6960d5ce12
Twenty Fifteen: remove border on post navigation when post thumbnail is available.
...
Props jartes, fixes #30918 .
Built from https://develop.svn.wordpress.org/trunk@31182
git-svn-id: http://core.svn.wordpress.org/trunk@31163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:03:26 +00:00
Sergey Biryukov
b2b4233b7b
Twenty Fifteen: Add print section to the table of contents in the stylesheet.
...
props iamtakashi.
fixes #30993 .
Built from https://develop.svn.wordpress.org/trunk@31175
git-svn-id: http://core.svn.wordpress.org/trunk@31156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-13 07:21:21 +00:00
Lance Willett
9917758155
Twenty Fifteen: more styles for multi-site forms.
...
Props iamtakashi, closes #30776 .
Built from https://develop.svn.wordpress.org/trunk@31001
git-svn-id: http://core.svn.wordpress.org/trunk@30983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-30 10:30:22 +00:00
Lance Willett
5ccb434f15
Twenty Fifteen: fix missing style for menu in small screens.
...
Props valendesigns, fixes #30857 .
Built from https://develop.svn.wordpress.org/trunk@30997
git-svn-id: http://core.svn.wordpress.org/trunk@30979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 12:01:25 +00:00
Lance Willett
dcb71eb1c9
Twenty Fifteen: pinking shears.
...
Built from https://develop.svn.wordpress.org/trunk@30996
git-svn-id: http://core.svn.wordpress.org/trunk@30978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 10:08:23 +00:00
Lance Willett
e389e306ad
Twenty Fifteen: add styles for multisite registration forms.
...
Props valendesigns, fixes #30776 .
Built from https://develop.svn.wordpress.org/trunk@30995
git-svn-id: http://core.svn.wordpress.org/trunk@30977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 09:58:24 +00:00
Andrew Nacin
48560edcb8
Update theme POT files in trunk.
...
Built from https://develop.svn.wordpress.org/trunk@30969
git-svn-id: http://core.svn.wordpress.org/trunk@30956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 17:01:23 +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
Andrew Nacin
aef38fcd4a
Update bundled theme POT files in trunk.
...
Built from https://develop.svn.wordpress.org/trunk@30965
git-svn-id: http://core.svn.wordpress.org/trunk@30952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 01:33:22 +00:00
Lance Willett
b335af9e63
Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
...
Props iamtakashi, see #30752 .
Built from https://develop.svn.wordpress.org/trunk@30961
git-svn-id: http://core.svn.wordpress.org/trunk@30949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 22:30:24 +00:00
Lance Willett
3bb98189d7
Twenty Fifteen: ensure RTL editor font style is consistent with front-end font style.
...
Props iamtakashi and alex-ye, see #30746 .
Built from https://develop.svn.wordpress.org/trunk@30956
git-svn-id: http://core.svn.wordpress.org/trunk@30944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:22:25 +00:00
Lance Willett
8ccffecf03
Twenty Fifteen: ensure menu icon is properly centered for RTL views on small screens.
...
Props iamtakashi, fixes #30739 .
Built from https://develop.svn.wordpress.org/trunk@30955
git-svn-id: http://core.svn.wordpress.org/trunk@30943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 16:39:46 +00:00
Lance Willett
e5b753a48a
Twenty Fifteen: fix styles for screen-reader-only search button in small screens.
...
Props iamtakashi, fixes #30744 .
Built from https://develop.svn.wordpress.org/trunk@30953
git-svn-id: http://core.svn.wordpress.org/trunk@30941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 16:38:24 +00:00
Lance Willett
6b9d5a87e3
Twenty Fifteen: hide search input cancel button. See #30728 .
...
Built from https://develop.svn.wordpress.org/trunk@30945
git-svn-id: http://core.svn.wordpress.org/trunk@30934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:43:22 +00:00
Dominik Schilling
6f937df4e5
Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
...
props iamtakashi.
see #30733 .
Built from https://develop.svn.wordpress.org/trunk@30932
git-svn-id: http://core.svn.wordpress.org/trunk@30921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:35:23 +00:00
Lance Willett
2a170d1f13
Twenty Fifteen: fallback hex color for no-comments text should come first.
...
Props iamtakashi, fixes #30730 .
Built from https://develop.svn.wordpress.org/trunk@30910
git-svn-id: http://core.svn.wordpress.org/trunk@30900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 16:19:22 +00:00
Dominik Schilling
e328484e66
Twenty Fifteen: Remove unnecessary `esc_html()` from `get_the_date()` and `get_the_modified_date()`.
...
see #30724 .
Built from https://develop.svn.wordpress.org/trunk@30905
git-svn-id: http://core.svn.wordpress.org/trunk@30895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 14:19:22 +00:00
Dominik Schilling
0419c86b54
Twenty Fifteen: Remove `esc_html()` from `get_the_author()`.
...
The display name is sanitized through `sanitize_text_field`, `wp_filter_kses`, and `_wp_specialchars`.
see #30724 .
Built from https://develop.svn.wordpress.org/trunk@30901
git-svn-id: http://core.svn.wordpress.org/trunk@30891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:40:22 +00:00
Dominik Schilling
52454ce5df
Twenty Fifteen: Don't escape translated strings.
...
Replace every unnecessary instance of `esc_html_x()` with just `_x()`.
see #30724 .
Built from https://develop.svn.wordpress.org/trunk@30899
git-svn-id: http://core.svn.wordpress.org/trunk@30889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:25:23 +00:00
Dominik Schilling
3749d51b72
Twenty Fifteen: Remove `esc_html()` from blog description.
...
The blog description gets esc_html()'d *into* the DB. It's also escaped because the filter for `get_bloginfo()` is set to 'display'.
see #30724 .
Built from https://develop.svn.wordpress.org/trunk@30897
git-svn-id: http://core.svn.wordpress.org/trunk@30887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:20:23 +00:00
Dominik Schilling
289f29ac0b
Twenty Fifteen: Don't escape translated strings.
...
Replace every unnecessary instance of `esc_html__()` and `esc_html_e()` with just `__()` and `_e()`.
see #30724 .
Built from https://develop.svn.wordpress.org/trunk@30896
git-svn-id: http://core.svn.wordpress.org/trunk@30886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:00:22 +00:00
Dominik Schilling
7e98a6647e
Twenty Fifteen: Don't save unfiltered CSS in a setting.
...
Introduce `twentyfifteen_get_color_scheme_css( $colors )` which will be used for Underscore/Backbone and the PHP side. Let `twentyfifteen_color_scheme_css()` handle the color calculation on PHP side.
see #30409 .
Built from https://develop.svn.wordpress.org/trunk@30893
git-svn-id: http://core.svn.wordpress.org/trunk@30883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:27:26 +00:00
Lance Willett
62fc271e6a
Twenty Fifteen: minor updates to readme.txt file for clarity and removing non-ASCII characters. Closes #30675 .
...
Built from https://develop.svn.wordpress.org/trunk@30869
git-svn-id: http://core.svn.wordpress.org/trunk@30859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 19:09:22 +00:00
Lance Willett
6e4c453897
Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.
...
Props TomasM, hiwhatsup. Fixes #28938 .
Built from https://develop.svn.wordpress.org/trunk@30868
git-svn-id: http://core.svn.wordpress.org/trunk@30858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:56:21 +00:00
Lance Willett
e5e99398ce
Twenty Fifteen: remove license details for the image shown in the theme screenshot file as it is Creative Commons Zero, which doesn't require attribution.
...
Props iamtakashi, fixes #30156 .
Built from https://develop.svn.wordpress.org/trunk@30867
git-svn-id: http://core.svn.wordpress.org/trunk@30857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:44:23 +00:00
Lance Willett
2a01466813
Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet. See #30532 .
...
Built from https://develop.svn.wordpress.org/trunk@30866
git-svn-id: http://core.svn.wordpress.org/trunk@30856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:40:22 +00:00
Lance Willett
2457e9d7b6
Twenty Fifteen: remove Genericons as a dependency from loading the main stylesheet.
...
Props iamtakashi, fixes #30532 .
Built from https://develop.svn.wordpress.org/trunk@30865
git-svn-id: http://core.svn.wordpress.org/trunk@30855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:38:26 +00:00
Dominik Schilling
9416431655
Twenty Fifteen: Update the .pot file for [30834].
...
fixes #30152 .
Built from https://develop.svn.wordpress.org/trunk@30845
git-svn-id: http://core.svn.wordpress.org/trunk@30835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 12:34:22 +00:00
Lance Willett
deb5337d7c
Twenty Fifteen: update scroll functionality to make sure child menu items are always reachable.
...
Props iamtakashi, fixes #30674 .
Built from https://develop.svn.wordpress.org/trunk@30838
git-svn-id: http://core.svn.wordpress.org/trunk@30828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 23:59:22 +00:00
Andrew Ozz
56d0d9c31e
Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor. Fixes #30697 .
...
Built from https://develop.svn.wordpress.org/trunk@30836
git-svn-id: http://core.svn.wordpress.org/trunk@30826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 21:45:22 +00:00
Lance Willett
ac1b60c018
Twenty Fifteen: update archive pagination links to use `aria-hidden` for better accessibility.
...
Props SergeyBiryukov, fixes #30152 .
Built from https://develop.svn.wordpress.org/trunk@30834
git-svn-id: http://core.svn.wordpress.org/trunk@30824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:37:22 +00:00
Lance Willett
b9bc6cc2dd
Twenty Fifteen: update readme.txt file, props iamtakashi. See #30675 .
...
Built from https://develop.svn.wordpress.org/trunk@30833
git-svn-id: http://core.svn.wordpress.org/trunk@30823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:28:22 +00:00
Lance Willett
c5825f02c0
Twenty Fifteen: remove fonts as a style dependency.
...
Props obenland, SergeyBiryukov. Fixes #30678 .
Built from https://develop.svn.wordpress.org/trunk@30832
git-svn-id: http://core.svn.wordpress.org/trunk@30822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:26:24 +00:00
Sergey Biryukov
ad3963c7e8
Twenty Fifteen: Reflect the change from "no" to "share" icon in [30810] in readme.txt.
...
props iamtakashi.
fixes #30148 .
Built from https://develop.svn.wordpress.org/trunk@30828
git-svn-id: http://core.svn.wordpress.org/trunk@30818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 17:45:22 +00:00
John Blackbourn
904f70c8e1
Switch to `(get_)the_posts_pagination()` in Twenty Fifteen.
...
See #29808
Props obenland
Built from https://develop.svn.wordpress.org/trunk@30824
git-svn-id: http://core.svn.wordpress.org/trunk@30814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:24:21 +00:00
Ian Stewart
c468ce8f15
Twenty Fifteen: updating the .pot to reflect changes in r30790.
...
Props iamtakashi, fixes #30603 .
Built from https://develop.svn.wordpress.org/trunk@30811
git-svn-id: http://core.svn.wordpress.org/trunk@30801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:33:23 +00:00
Ian Stewart
82f6daf913
Twenty Fifteen: using an opaque share icon as the default instead of semi-opaque "no" icon that suggests a bug.
...
Props iamtakashi, fixes #30148 .
Built from https://develop.svn.wordpress.org/trunk@30810
git-svn-id: http://core.svn.wordpress.org/trunk@30800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:14:23 +00:00
Ian Stewart
a06651b4ce
Twenty Fifteen: Removing the empty changelog.txt.
...
Fixes #30650 .
Built from https://develop.svn.wordpress.org/trunk@30809
git-svn-id: http://core.svn.wordpress.org/trunk@30799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:06:22 +00:00
Ian Stewart
d3adc02051
Twenty Fifteen: correcting odd scrolling and jumping in IE and no-scroll with window resize.
...
Props iamtakashi, ocean90, fixes #30632 , #30645 .
Built from https://develop.svn.wordpress.org/trunk@30808
git-svn-id: http://core.svn.wordpress.org/trunk@30798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:02:23 +00:00
Ian Stewart
65ed77974b
Twenty Fifteen: minor file cleanup.
...
Props iamtakashi, fixes #30653 .
Built from https://develop.svn.wordpress.org/trunk@30806
git-svn-id: http://core.svn.wordpress.org/trunk@30796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:39:24 +00:00
Ian Stewart
32e2d396bf
Twenty Fifteen: correct escaping.
...
Props iamtakashi, fixes #30651 .
Built from https://develop.svn.wordpress.org/trunk@30805
git-svn-id: http://core.svn.wordpress.org/trunk@30795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:34:22 +00:00
Ian Stewart
867aabca4a
Twenty Fifteen: less than or equal to is incorrect here when the sidebar only appears at 955px -- it should be less than for removal of inline styles.
...
Props iamtakashi, fixes #30656
Built from https://develop.svn.wordpress.org/trunk@30804
git-svn-id: http://core.svn.wordpress.org/trunk@30794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:31:22 +00:00
Ian Stewart
9584678932
Twenty Fifteen: prevent jumping on hover in blog footer links with Safari
...
Props iamtakashi, fixes #30654 .
Built from https://develop.svn.wordpress.org/trunk@30803
git-svn-id: http://core.svn.wordpress.org/trunk@30793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:24:21 +00:00
Ian Stewart
8feb6cfcf3
Twenty Fifteen: we should be checking for twentyfifteen_get_color_scheme_choices here not twentyfifteen_get_color_scheme_control_options
...
Props iamtakashi, fixes #30652
Built from https://develop.svn.wordpress.org/trunk@30802
git-svn-id: http://core.svn.wordpress.org/trunk@30792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:21:23 +00:00
Ian Stewart
b2ca8af3bf
Twenty Fifteen: admin-custom-header.css was emptied in r30567 so let's remove it entirely.
...
Props kwight, fixes #30648 .
Built from https://develop.svn.wordpress.org/trunk@30801
git-svn-id: http://core.svn.wordpress.org/trunk@30791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:17:22 +00:00
Drew Jaynes
d72fac0131
Twenty Fifteen: Replace encoded HTML entities in the file header DocBlock for header.php with 'head element'.
...
Props iamtakashi.
Fixes #30649 .
Built from https://develop.svn.wordpress.org/trunk@30798
git-svn-id: http://core.svn.wordpress.org/trunk@30788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 03:02:23 +00:00
John Blackbourn
64fb3e7175
In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
...
See #30641
Built from https://develop.svn.wordpress.org/trunk@30796
git-svn-id: http://core.svn.wordpress.org/trunk@30786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 18:57:24 +00:00
John Blackbourn
e9f7c78d38
In Twenty Thirteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
...
See #30641
Built from https://develop.svn.wordpress.org/trunk@30795
git-svn-id: http://core.svn.wordpress.org/trunk@30785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 18:56:22 +00:00
Ian Stewart
aa9fa42f91
Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
...
Props netweb, DrewAPicture, fixes #30603 .
Built from https://develop.svn.wordpress.org/trunk@30790
git-svn-id: http://core.svn.wordpress.org/trunk@30780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 18:25:22 +00:00
Ian Stewart
3ec55886cd
Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
...
Props iamtakashi, fixes #30630 .
Built from https://develop.svn.wordpress.org/trunk@30789
git-svn-id: http://core.svn.wordpress.org/trunk@30779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 17:46:23 +00:00
Andrew Ozz
7f0526ad08
Twenty Fifteen: add spaces after screen reader text strings to make them readable. Props nvwd, pavelevap, afercia. Fixes #30606 .
...
Built from https://develop.svn.wordpress.org/trunk@30781
git-svn-id: http://core.svn.wordpress.org/trunk@30771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 23:28:21 +00:00
Andrew Ozz
adf4f440f5
Twenty Fifteen: clean up of `twentyfifteen_color_scheme_css_template()` in customizer.php. Props iamtakashi. Fixes #30601 .
...
Built from https://develop.svn.wordpress.org/trunk@30763
git-svn-id: http://core.svn.wordpress.org/trunk@30753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 02:40:21 +00:00
Andrew Ozz
1ce44564aa
Twenty Twelve: menu on touch devices: fix jQuery selector for menu items with submenus. props babbardel, fixes #24767 .
...
Built from https://develop.svn.wordpress.org/trunk@30746
git-svn-id: http://core.svn.wordpress.org/trunk@30736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-05 22:59:23 +00:00
Ian Stewart
a83fdf7b17
Twenty Fifteen: updating customizer label text for more clarity.
...
Props iamtakashi, fixes #30545 .
Built from https://develop.svn.wordpress.org/trunk@30741
git-svn-id: http://core.svn.wordpress.org/trunk@30731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 22:57:22 +00:00
Ian Stewart
f5697a4d62
Twenty Fifteen: updating one point oh version number in .pot.
...
Props ocean90, see #30502 .
Built from https://develop.svn.wordpress.org/trunk@30732
git-svn-id: http://core.svn.wordpress.org/trunk@30722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 18:32:22 +00:00
Ian Stewart
771c7e1954
Twenty Fifteen: updating everything to one point oh.
...
See #30502 .
Built from https://develop.svn.wordpress.org/trunk@30731
git-svn-id: http://core.svn.wordpress.org/trunk@30721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 18:24:24 +00:00
Ian Stewart
b6ddf3ab5d
Twenty Fifteen: It's about time we call it one point oh.
...
Closes #30502 .
Built from https://develop.svn.wordpress.org/trunk@30729
git-svn-id: http://core.svn.wordpress.org/trunk@30719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 18:08:23 +00:00
Ian Stewart
20ea28b289
Twenty Fifteen: removing unused styles.
...
Props iamtakashi, fixes #30578 .
Built from https://develop.svn.wordpress.org/trunk@30728
git-svn-id: http://core.svn.wordpress.org/trunk@30718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 18:03:23 +00:00
Ian Stewart
1cb6721c81
Twenty Fifteen: removing unused styles inherited from Twenty Fourteen.
...
Props iamtakashi, fixes #30572 .
Built from https://develop.svn.wordpress.org/trunk@30709
git-svn-id: http://core.svn.wordpress.org/trunk@30699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 16:05:22 +00:00
Ian Stewart
c9c02be354
Twenty Fifteen: correct stylesheet dependencies.
...
Props ocean90, fixes #30532 .
Built from https://develop.svn.wordpress.org/trunk@30692
git-svn-id: http://core.svn.wordpress.org/trunk@30682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 19:41:22 +00:00
Ian Stewart
4c86797ba7
Twenty Fifteen: broader selection of avatars that should catch any plugins adding avatars that use the avatar class.
...
Props iamtakashi, fixes #30541 .
Built from https://develop.svn.wordpress.org/trunk@30690
git-svn-id: http://core.svn.wordpress.org/trunk@30680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 19:34:22 +00:00
Ian Stewart
20d135f3b2
Twenty Fifteen: correct list indentation inside blockquotes.
...
Props iamtakashi, fixes #30543 .
Built from https://develop.svn.wordpress.org/trunk@30689
git-svn-id: http://core.svn.wordpress.org/trunk@30679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 19:31:24 +00:00
Ian Stewart
85e5ab64a5
Twenty Fifteen: better highlights for tapped links in iOS Safari.
...
Props iamtakashi, fixes #30524 .
Built from https://develop.svn.wordpress.org/trunk@30590
git-svn-id: http://core.svn.wordpress.org/trunk@30580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-27 20:41:22 +00:00
Ian Stewart
e2133880c1
Twenty Fifteen: overflow hidden can hide focus outlines here so out it goes.
...
Props iamtakashi, fixes #30523 .
Built from https://develop.svn.wordpress.org/trunk@30589
git-svn-id: http://core.svn.wordpress.org/trunk@30579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-27 20:36:24 +00:00
Ian Stewart
2e123ad458
Twenty Fifteen: minor corrections to borders and post title colors in custom color schemes.
...
Props iamtakashi, fixes #30521 .
Built from https://develop.svn.wordpress.org/trunk@30588
git-svn-id: http://core.svn.wordpress.org/trunk@30578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-27 20:34:24 +00:00
Ian Stewart
7e4486803b
Twenty Fifteen: docs correction.
...
Props rachelbaker, DrewAPicture, fixes #30456
Built from https://develop.svn.wordpress.org/trunk@30572
git-svn-id: http://core.svn.wordpress.org/trunk@30562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 21:11:22 +00:00
Ian Stewart
99c003c35d
Twenty Fifteen: update the .pot file.
...
Props iamtakashi, fixes #30433 .
Built from https://develop.svn.wordpress.org/trunk@30571
git-svn-id: http://core.svn.wordpress.org/trunk@30561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 21:08:23 +00:00
Ian Stewart
a360658866
Twenty Fifteen: make sure the 'says:' in comments is readable by a screen-reader.
...
Fixes #30479 .
Built from https://develop.svn.wordpress.org/trunk@30570
git-svn-id: http://core.svn.wordpress.org/trunk@30560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 21:05:23 +00:00
Ian Stewart
e11418abdc
Twenty Fifteen: docs correction and cleanup.
...
Props DrewAPicture, see #30149 .
Built from https://develop.svn.wordpress.org/trunk@30569
git-svn-id: http://core.svn.wordpress.org/trunk@30559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 20:57:24 +00:00
Ian Stewart
7a643924c2
Twenty Fifteen: correct number of menus used in comments
...
Props jeherve, see #30149
Built from https://develop.svn.wordpress.org/trunk@30568
git-svn-id: http://core.svn.wordpress.org/trunk@30558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 20:38:25 +00:00
Ian Stewart
cb2dcb9820
Twenty Fifteen: remove unneeded custom header admin callbacks.
...
Props philiparthurmoore, fixes #30432 .
Built from https://develop.svn.wordpress.org/trunk@30567
git-svn-id: http://core.svn.wordpress.org/trunk@30556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 15:12:22 +00:00
Ian Stewart
a88ec3f9de
Twenty Fifteen: prevent too-wide tables from popping out of posts.
...
Props iamtakashi, fixes #30420
Built from https://develop.svn.wordpress.org/trunk@30566
git-svn-id: http://core.svn.wordpress.org/trunk@30555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 15:04:23 +00:00
Ian Stewart
654047e35b
Twenty Fifteen: pinching to zoom in on landscape on iPads is breaking the layout with the sticky sidebar. Providing a one-column view on those screens looks good and will likely prevent other bugs we don't even know about.
...
Props iamtakashi, fixes #30366 .
Built from https://develop.svn.wordpress.org/trunk@30565
git-svn-id: http://core.svn.wordpress.org/trunk@30554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 14:58:21 +00:00
Ian Stewart
45343aa5d2
Twenty Fifteen: a shorter header on small screens when there is no header text or header image looks more correct.
...
Props iamtakashi, fixes #30326 .
Built from https://develop.svn.wordpress.org/trunk@30564
git-svn-id: http://core.svn.wordpress.org/trunk@30553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 14:47:22 +00:00
Andrew Ozz
0517ee7c6e
TwentyFifteen:
...
- Fix image caption alignment in the editor.
- Remove unused var from functions.js.
Also includes few images that were shrunk a bit when running grunt precommit.
Fixes #30493 .
Built from https://develop.svn.wordpress.org/trunk@30562
git-svn-id: http://core.svn.wordpress.org/trunk@30551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 06:12:22 +00:00
Lance Willett
7d95c83257
Twenty Twelve and Thirteen: Use proper way to get customizer settings values.
...
Props obenland, kdoran. Fixes #29577 .
Built from https://develop.svn.wordpress.org/trunk@30482
git-svn-id: http://core.svn.wordpress.org/trunk@30470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 17:06:23 +00:00
Ian Stewart
a69a12aab1
Twenty Fifteen: bring back the border between post navigation links we lost in the_post_navigation changes.
...
Props iamtakashi, fixes #30414 .
Built from https://develop.svn.wordpress.org/trunk@30479
git-svn-id: http://core.svn.wordpress.org/trunk@30467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 16:41:22 +00:00
Ian Stewart
ebc8c59a95
Twenty Fifteen: Removing unneeded CSS from RTL causing odd hover effects.
...
Props yoavf, iamtakashi, fixes #30360 .
Built from https://develop.svn.wordpress.org/trunk@30399
git-svn-id: http://core.svn.wordpress.org/trunk@30395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 01:39:22 +00:00
Ian Stewart
de060dcfee
Twenty Fifteen: escaping here breaks color schemes.
...
Props celloexpressions, iamtakashi, fixes #30409 .
Built from https://develop.svn.wordpress.org/trunk@30398
git-svn-id: http://core.svn.wordpress.org/trunk@30394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 01:35:24 +00:00
Ian Stewart
b7ede43c4f
Twenty Fifteen: doc cleanup, addresses removing periods from file header summaries, some spacing, loop documentation, and https instead of http.
...
Props DrewAPicture, MikeHansenMe, see #30149 .
Built from https://develop.svn.wordpress.org/trunk@30394
git-svn-id: http://core.svn.wordpress.org/trunk@30390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 20:28:25 +00:00
Ian Stewart
d06a94d1e4
Twenty Fifteen: Check if we're in the customizer before we avoid outputting HTML for an empty tagline. Avoids an issue with a not-updating customizer preview of the tagline if you're going in with an empty tagline.
...
Props philiparthurmoore, celloexpressions, fixes #30358 .
Built from https://develop.svn.wordpress.org/trunk@30391
git-svn-id: http://core.svn.wordpress.org/trunk@30388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:41:22 +00:00
Lance Willett
bbdafdc925
Twenty Thirteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
...
Props davidakennedy, lancewillett. Fixes #30178 .
Built from https://develop.svn.wordpress.org/trunk@30390
git-svn-id: http://core.svn.wordpress.org/trunk@30387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:35:21 +00:00
Lance Willett
f398bd07ce
Twenty Fourteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
...
Props davidakennedy, lancewillett. Fixes #30176 .
Built from https://develop.svn.wordpress.org/trunk@30389
git-svn-id: http://core.svn.wordpress.org/trunk@30386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:27:22 +00:00
Ian Stewart
5c6de0c973
Twenty Fifteen: Making the sidebar sticky for everyone. When we have a long sidebar, let it scroll with the content, but fixing the sidebar and no longer scrolling when we get to the end of the sidebar content. Scroll up and the sidebar starts scrolling up to, eventually staying fixed when it gets back to the top.
...
Props celloexpressions, avryl, fixes #30366 .
Built from https://develop.svn.wordpress.org/trunk@30388
git-svn-id: http://core.svn.wordpress.org/trunk@30385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:23:21 +00:00
Lance Willett
d2b903f896
Twenty Fourteen: improve post thumbnail HTML output.
...
* Add `aria-hidden` attribute to reduce verbosity on archive pages.
* Add alt text in archives to avoid confusing link texts, see #30076 for context in Twenty Fifteen.
Props hiwhatsup, joedolson. Fixes #30144 .
Built from https://develop.svn.wordpress.org/trunk@30387
git-svn-id: http://core.svn.wordpress.org/trunk@30384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:12:21 +00:00
Lance Willett
a9a3ee7e23
Twenty Thirteen: fix non-responsive layout in IE8. Props phpmypython, fixes #24194 .
...
Built from https://develop.svn.wordpress.org/trunk@30386
git-svn-id: http://core.svn.wordpress.org/trunk@30383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:07:22 +00:00
Lance Willett
a7418e092e
Twenty Fifteen: pinking shears.
...
Built from https://develop.svn.wordpress.org/trunk@30372
git-svn-id: http://core.svn.wordpress.org/trunk@30370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-17 18:25:23 +00:00
Lance Willett
bdffdafec4
Twenty Ten, Eleven, Thirteen: add bottom margin to audio and video players.
...
Fixes #29146 . Props mikeyarce, gregrickaby, DavidTheMachine, jeanyoungkim, ccprice.
Built from https://develop.svn.wordpress.org/trunk@30371
git-svn-id: http://core.svn.wordpress.org/trunk@30369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-17 18:10:23 +00:00
Dominik Schilling
281a929663
Change Twenty Eleven's header preview callback too, missed in [30327].
...
see #29289 .
Built from https://develop.svn.wordpress.org/trunk@30351
git-svn-id: http://core.svn.wordpress.org/trunk@30350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-15 19:15:21 +00:00
Dominik Schilling
e1cf2b8523
Twenty Fifteen: Add a transparent border to a link in the footer to avoid jumpiness on hover.
...
props iamtakashi.
fixes #30332 .
Built from https://develop.svn.wordpress.org/trunk@30331
git-svn-id: http://core.svn.wordpress.org/trunk@30330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 12:42:24 +00:00
Dominik Schilling
120cb5e6ef
Improve keyboard accessibility on Custom Header and Custom Background screen.
...
props florianziegler.
fixes #29289 .
Built from https://develop.svn.wordpress.org/trunk@30327
git-svn-id: http://core.svn.wordpress.org/trunk@30326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 12:00:57 +00:00
Ian Stewart
3acf55cf96
Twenty Fifteen: cleaning up JS introduced in r30305 that doesn't pass jshint.
...
Props boonebgorges, fixes #29988 .
Built from https://develop.svn.wordpress.org/trunk@30325
git-svn-id: http://core.svn.wordpress.org/trunk@30324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 03:18:23 +00:00
Ian Stewart
3f967c8f1a
Twenty Fifteen: unfix the sidebar if we have a menu with submenus as there is a chance visitors might not be able to scroll down to see submenus in some situations.
...
Props mattwiebe, fixes #30208 .
Built from https://develop.svn.wordpress.org/trunk@30324
git-svn-id: http://core.svn.wordpress.org/trunk@30323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 03:09:22 +00:00
Andrew Ozz
6b9b865b33
Twenty Fifteen: reduce the margins on the editor body in esitor-style.css. Fixes #30331 .
...
Built from https://develop.svn.wordpress.org/trunk@30321
git-svn-id: http://core.svn.wordpress.org/trunk@30320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 02:02:24 +00:00
Ian Stewart
07eba31e0b
Twenty Fifteen: improve appearance of page links when there are tons of pages to link to
...
Props iamtakashi, fixes #30301
Built from https://develop.svn.wordpress.org/trunk@30317
git-svn-id: http://core.svn.wordpress.org/trunk@30316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 23:39:23 +00:00
Ian Stewart
40c73b7d0d
Twenty Fifteen: adding context to pagination links for screenreaders.
...
Props afercia, iamtakashi, fixes #30152
Built from https://develop.svn.wordpress.org/trunk@30316
git-svn-id: http://core.svn.wordpress.org/trunk@30315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 23:26:25 +00:00
Ian Stewart
99a35f20e6
Twenty Fifteen: since color schemes can be customized let's call them base color schemes instead of just color schemes.
...
Props celloexpressions, iandstewart, fixes #30316
Built from https://develop.svn.wordpress.org/trunk@30315
git-svn-id: http://core.svn.wordpress.org/trunk@30314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 23:01:21 +00:00
Ian Stewart
7f970d53b1
Twenty Fifteen: adding context to page links for screenreaders.
...
Props afercia, fixes #30174 .
Built from https://develop.svn.wordpress.org/trunk@30314
git-svn-id: http://core.svn.wordpress.org/trunk@30313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 22:55:22 +00:00
Ian Stewart
50271a97d5
Twenty Fifteen: clean up sprintf from template tags and use the correct escaping for twentyfifteen template tags.
...
Props aprea, obenland, fixes #30319
Built from https://develop.svn.wordpress.org/trunk@30312
git-svn-id: http://core.svn.wordpress.org/trunk@30311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-12 17:21:21 +00:00
Ian Stewart
1317409eda
Twenty Fifteen: Minor formatting and docs tweaks, clearer variable name.
...
Props celloexpressions, see #29988
Built from https://develop.svn.wordpress.org/trunk@30305
git-svn-id: http://core.svn.wordpress.org/trunk@30304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 19:36:23 +00:00
Ian Stewart
87bd82a0ab
Twenty Fifteen: simplify the code used to generate screen reader text for the is_home title.
...
Props davidakennedy, fixes #30305
Built from https://develop.svn.wordpress.org/trunk@30304
git-svn-id: http://core.svn.wordpress.org/trunk@30303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 19:24:22 +00:00
Ian Stewart
47ec29c1ba
Twenty Fifteen: create consistent spacing with embeds and images.
...
Props afercia, fixes #30286
Built from https://develop.svn.wordpress.org/trunk@30303
git-svn-id: http://core.svn.wordpress.org/trunk@30302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 19:04:21 +00:00
Ian Stewart
1f2397af34
Twenty Fifteen: simpler CSS by using divs instead of spans for menu descriptions.
...
Props philiparthurmoore, fixes #30296
Built from https://develop.svn.wordpress.org/trunk@30302
git-svn-id: http://core.svn.wordpress.org/trunk@30301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 19:02:22 +00:00
Ian Stewart
68a6a69a91
Twenty Fifteen: updates to customize-preview.js missed in r30274.
...
Props celloexpressions, See #29988 .
Built from https://develop.svn.wordpress.org/trunk@30275
git-svn-id: http://core.svn.wordpress.org/trunk@30275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 21:11:25 +00:00
Ian Stewart
fa81522cb2
Twenty Fifteen: add instant updating of color schemes to the customizer with postMessage.
...
Props celloexpressions, bradyvercher, westonruter, fixes #29988 .
Built from https://develop.svn.wordpress.org/trunk@30274
git-svn-id: http://core.svn.wordpress.org/trunk@30274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 20:55:23 +00:00
Ian Stewart
066967be6c
Twenty Fifteen: Removing email obfuscation from social links menu.
...
We really should be doing this in all menus, at which point this becomes core or plugin functionality, not a theme feature.
Closes #30214 .
Built from https://develop.svn.wordpress.org/trunk@30273
git-svn-id: http://core.svn.wordpress.org/trunk@30273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 17:38:21 +00:00
Ian Stewart
c3ec04c532
Twenty Fifteen: adding help text to explain how color changes to header and sidebar are affected by responsive design.
...
Props iamtakashi, iandstewart, fixes #30165 .
Built from https://develop.svn.wordpress.org/trunk@30272
git-svn-id: http://core.svn.wordpress.org/trunk@30272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 17:31:22 +00:00
Ian Stewart
78c26017c6
Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions.
...
Props celloexpressions, fixes #30160 .
Built from https://develop.svn.wordpress.org/trunk@30271
git-svn-id: http://core.svn.wordpress.org/trunk@30271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 17:20:22 +00:00
Ian Stewart
1b0b11b593
Twenty Fifteen: use antispambot to obfuscate email adresses in the social links menu.
...
Props tywayne, fixes #30214 .
Built from https://develop.svn.wordpress.org/trunk@30270
git-svn-id: http://core.svn.wordpress.org/trunk@30270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 16:46:21 +00:00
Ian Stewart
85fd2fa467
Twenty Fifteen: update earlier patch to borders on linked images so we're not affecting the display of linked icons in widgets.
...
Props iamtakashi, fixes #29963 .
Built from https://develop.svn.wordpress.org/trunk@30269
git-svn-id: http://core.svn.wordpress.org/trunk@30269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-07 16:34:24 +00:00
Ian Stewart
cd0ba24e95
Twenty Fifteen: Our next-previous labels were reversed.
...
Props iamtakashi, fixes #30265 .
Built from https://develop.svn.wordpress.org/trunk@30247
git-svn-id: http://core.svn.wordpress.org/trunk@30247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-05 20:31:22 +00:00
Ian Stewart
6ad06ca03d
Twenty Fifteen: "detach" widgets from the header in mobile views.
...
Props iamtakashi, fixes #30252 .
Built from https://develop.svn.wordpress.org/trunk@30243
git-svn-id: http://core.svn.wordpress.org/trunk@30243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-05 18:03:23 +00:00
Ian Stewart
1483e80848
Twenty Fifteen: use continue reading links for auto-generated excerpts to provide a readable link for screenreaders.
...
Props davidakennedy, kraftbj, fixes #30135 .
Built from https://develop.svn.wordpress.org/trunk@30237
git-svn-id: http://core.svn.wordpress.org/trunk@30237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 21:19:22 +00:00
Ian Stewart
2047ff9e5a
Twenty Fifteen: Use the new archive template tags and make archive template titling way simpler!
...
Props obenland, fixes #30246 .
Built from https://develop.svn.wordpress.org/trunk@30236
git-svn-id: http://core.svn.wordpress.org/trunk@30236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 21:01:23 +00:00
Ian Stewart
0952952ef7
Twenty Fifteen: adding licensing info for the image used in the screenshot.
...
Props sakinshrestha, fixes #30156 .
Built from https://develop.svn.wordpress.org/trunk@30235
git-svn-id: http://core.svn.wordpress.org/trunk@30235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 20:55:22 +00:00
Ian Stewart
d21ea0a251
Twenty Fifteen: Formatting cleanup for documentation, crossing eyes, dotting tees.
...
Props lancewillett, MikeHansenMe, fixes #30149 .
Built from https://develop.svn.wordpress.org/trunk@30233
git-svn-id: http://core.svn.wordpress.org/trunk@30233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 20:26:23 +00:00
Ian Stewart
e2d03edb0d
Twenty Fifteen: missing spaces for code standards.
...
Props Jayjdk, fixes #30076 .
Built from https://develop.svn.wordpress.org/trunk@30232
git-svn-id: http://core.svn.wordpress.org/trunk@30232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 20:16:22 +00:00
Ian Stewart
b519db9ffa
Twenty Fifteen: accessible alt text for post thumbnail links.
...
Props joedolson, fixes #30076 .
Built from https://develop.svn.wordpress.org/trunk@30231
git-svn-id: http://core.svn.wordpress.org/trunk@30231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 18:57:27 +00:00
Ian Stewart
17dbe26df9
Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice.
...
Props celloexpressions, iamtakashi, fixes #30164 and #29980 .
Built from https://develop.svn.wordpress.org/trunk@30230
git-svn-id: http://core.svn.wordpress.org/trunk@30230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 18:42:22 +00:00
Ian Stewart
cc9c8edf83
Twenty Fifteen: Crashing chrome if you don't have Noto installed probably isn't the best experience -- removing font kerning.
...
Props iamtakashi, fixes #30195
Built from https://develop.svn.wordpress.org/trunk@30229
git-svn-id: http://core.svn.wordpress.org/trunk@30229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 17:41:21 +00:00
Ian Stewart
7a6ea1e83d
Twenty Fifteen: correct image alignment for RTL.
...
Props iamtakashi, fixes #30239 .
Built from https://develop.svn.wordpress.org/trunk@30222
git-svn-id: http://core.svn.wordpress.org/trunk@30222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 23:12:22 +00:00
Ian Stewart
7dfb040dde
Twenty Fifteen: check if user-selected custom colors are the same as default so we're not duplicating styles.
...
Props iamtakashi, fixes #30234
Built from https://develop.svn.wordpress.org/trunk@30221
git-svn-id: http://core.svn.wordpress.org/trunk@30221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:59:22 +00:00
Ian Stewart
8a930c93a8
Twenty Fifteen: Remove a gap between content and footer when the sidebar is longer than the content.
...
Props iamtakashi, fixes #30228 .
Built from https://develop.svn.wordpress.org/trunk@30220
git-svn-id: http://core.svn.wordpress.org/trunk@30220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:49:44 +00:00
Ian Stewart
9a3b7977fd
Twenty Fifteen: escaping for the HTML5 shiv call.
...
Props philiparthurmoore, fixes #30212
Built from https://develop.svn.wordpress.org/trunk@30218
git-svn-id: http://core.svn.wordpress.org/trunk@30218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:47:22 +00:00
Ian Stewart
3a0b05e5b1
Twenty Fifteen: kern everything -- it reads better.
...
Props afercia, fixes #30195 .
Built from https://develop.svn.wordpress.org/trunk@30217
git-svn-id: http://core.svn.wordpress.org/trunk@30217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:43:21 +00:00
Ian Stewart
6be421fb37
Twenty Fifteen: Use new core navigation tags.
...
Props obenland, iamtakashi, fixes #30189
Built from https://develop.svn.wordpress.org/trunk@30216
git-svn-id: http://core.svn.wordpress.org/trunk@30216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:40:23 +00:00
Ian Stewart
fe241e3fdc
Twenty Fifteen: Make sure that the edit link will always be right of it's icon.
...
Props iamtakashi, fixes #30171 .
Built from https://develop.svn.wordpress.org/trunk@30215
git-svn-id: http://core.svn.wordpress.org/trunk@30215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:36:23 +00:00
Ian Stewart
4b23645ad4
Twenty Fifteen: nicer styles for playlists.
...
Props iamtakashi, fixes #30163
Built from https://develop.svn.wordpress.org/trunk@30213
git-svn-id: http://core.svn.wordpress.org/trunk@30213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 19:33:23 +00:00
Ian Stewart
cdfbccddb2
Twenty Fifteen: add a fallback icon for social links where we don't have an icon
...
Props iamtakashi, fixes #30148
Built from https://develop.svn.wordpress.org/trunk@30212
git-svn-id: http://core.svn.wordpress.org/trunk@30212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 19:02:22 +00:00
Ian Stewart
c1b360a665
Twenty Fifteen: prevent a flash of visible sub menus before scripts load.
...
Props mattwiebe, aferica, fixes #30056 .
Built from https://develop.svn.wordpress.org/trunk@30211
git-svn-id: http://core.svn.wordpress.org/trunk@30211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 18:58:23 +00:00
Ian Stewart
a46c99cf78
Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus
...
Props morganestes, iamtakashi, fixes #30108
Built from https://develop.svn.wordpress.org/trunk@30208
git-svn-id: http://core.svn.wordpress.org/trunk@30208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 17:01:23 +00:00
Lance Willett
df455aa106
Twenty Fourteen: update table styles in editor CSS file for new TinyMCE class names.
...
Props slobodanmanic, fixes #28703 .
Built from https://develop.svn.wordpress.org/trunk@30147
git-svn-id: http://core.svn.wordpress.org/trunk@30147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:47:21 +00:00
Lance Willett
c604fd15b0
Twenty Fourteen: fix keyboard focus on Appearance > Header view.
...
Props florianziegler, fixes #29787 .
Built from https://develop.svn.wordpress.org/trunk@30146
git-svn-id: http://core.svn.wordpress.org/trunk@30146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:44:23 +00:00
Lance Willett
609335eef1
Twenty Ten and Eleven: don't display modified excerpt link in wp-admin.
...
Props kraftbj, fixes #30026 .
Built from https://develop.svn.wordpress.org/trunk@30145
git-svn-id: http://core.svn.wordpress.org/trunk@30145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:40:25 +00:00
Lance Willett
6ddbf3c8bd
Twenty Fourteen: Make featured content in Customizer contextual to the front page.
...
Props celloexpressions, fixes #29578 .
Built from https://develop.svn.wordpress.org/trunk@30143
git-svn-id: http://core.svn.wordpress.org/trunk@30143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 03:26:21 +00:00
Dominik Schilling
461507452a
Customizer: Improve `ColorControl`'s `wpColorPicker` to update UI based on setting changes.
...
Update Twenty Fifteen's `colorScheme` control to properly interact with the API, using `wp.customize.control()` instead of traversing DOM for other controls' container elements and stop manually updating color control UIs.
props westonruter.
fixes #30031 .
Built from https://develop.svn.wordpress.org/trunk@30126
git-svn-id: http://core.svn.wordpress.org/trunk@30126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-31 20:45:22 +00:00
Sergey Biryukov
b823b2f3c1
Twenty Fifteen: Change version compare string to '4.1-alpha' to avoid an error for alpha and beta testers during development.
...
fixes #30137 .
Built from https://develop.svn.wordpress.org/trunk@30116
git-svn-id: http://core.svn.wordpress.org/trunk@30116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-30 11:57:22 +00:00
Ian Stewart
27b88c350a
Twenty Fifteen: back compat checks in Twenty Fifteen are breaking the customizer, leaving them in for now, but commented out.
...
See #30137 .
Built from https://develop.svn.wordpress.org/trunk@30103
git-svn-id: http://core.svn.wordpress.org/trunk@30103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 22:52:22 +00:00
Ian Stewart
76876654ac
Twenty Fifteen: avoid errors by preventing Twenty Fifteen from being activated in old versions of WordPress
...
Props iamtakashi, fixes #30137 .
Built from https://develop.svn.wordpress.org/trunk@30099
git-svn-id: http://core.svn.wordpress.org/trunk@30099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 22:14:22 +00:00
Ian Stewart
e68c17cb7b
Twenty Fifteen: leading the way with support for title-tag
...
Props obenland, fixes #30146 .
Built from https://develop.svn.wordpress.org/trunk@30097
git-svn-id: http://core.svn.wordpress.org/trunk@30097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 21:56:23 +00:00
Lance Willett
85d3601ef6
Twenty Fifteen: only escape HTML attribute output with `esc_attr()`. See #30133 , props ocean90.
...
Built from https://develop.svn.wordpress.org/trunk@30081
git-svn-id: http://core.svn.wordpress.org/trunk@30081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 23:08:23 +00:00
Ian Stewart
9d0e0a00f9
Twenty Fifteen: Use a heading heirarchy to provide a better navigation experience when using screenreading software.
...
Props davidakennedy, rianrietveld, iamtakashi, afercia, davidakennedy, fixes #30065 .
Built from https://develop.svn.wordpress.org/trunk@30072
git-svn-id: http://core.svn.wordpress.org/trunk@30072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 21:03:22 +00:00
John Blackbourn
bc9446bd69
Make the Twenty Fifteen search form submit button screen reader accessible rather than hidden to all users. Fixes #30110 . Props mattweibe, rianrietveld.
...
Built from https://develop.svn.wordpress.org/trunk@30053
git-svn-id: http://core.svn.wordpress.org/trunk@30053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 18:14:18 +00:00
Lance Willett
550dc1a3de
Twenty Fifteen: minor CSS fixes. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30051
git-svn-id: http://core.svn.wordpress.org/trunk@30051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 17:18:19 +00:00
Lance Willett
a4879b23ed
Twenty Fifteen: minor CSS spacing fix. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30049
git-svn-id: http://core.svn.wordpress.org/trunk@30049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:45:18 +00:00
Lance Willett
29328f2512
Twenty Fifteen: minor code style for variable within array notation. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30048
git-svn-id: http://core.svn.wordpress.org/trunk@30048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:40:19 +00:00
Lance Willett
0b0b31993c
Twenty Fifteen: pinking shears. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30047
git-svn-id: http://core.svn.wordpress.org/trunk@30047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:30:20 +00:00
Lance Willett
f02161b05b
Twenty Fifteen: spacing and code style cleanup. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30045
git-svn-id: http://core.svn.wordpress.org/trunk@30045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:27:19 +00:00
Lance Willett
d583c5ecfc
Twenty Fifteen: escape variable in HTML attribute output in customer header. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30044
git-svn-id: http://core.svn.wordpress.org/trunk@30044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:25:18 +00:00
Lance Willett
aa78309255
Twenty Fifteen: squeeze a few more bytes from screenshot PNG file. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30043
git-svn-id: http://core.svn.wordpress.org/trunk@30043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:23:18 +00:00
Ian Stewart
a8f8a655f2
Twenty Fifteen: If the sidebar is taller than the viewport scroll it with the content, if it's shorter keep it fixed.
...
Props mattwiebe, iamtakashi, avryl, fixes #29979 .
Built from https://develop.svn.wordpress.org/trunk@30025
git-svn-id: http://core.svn.wordpress.org/trunk@30025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 15:04:21 +00:00
Sergey Biryukov
220213a3f9
Twenty Fifteen: Add Foursquare icon support to the social link menu.
...
props iamtakashi.
fixes #30100 .
Built from https://develop.svn.wordpress.org/trunk@30023
git-svn-id: http://core.svn.wordpress.org/trunk@30023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 10:45:18 +00:00
Ian Stewart
3ec1c95062
Twenty Fifteen: valid HTML for accessible child page menu expanding and collapsing -- now with even better accessiblity.
...
Props afercia, davidakennedy, iamtakashi, fixes #30083 .
Built from https://develop.svn.wordpress.org/trunk@30013
git-svn-id: http://core.svn.wordpress.org/trunk@30013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:15:20 +00:00
Ian Stewart
ea264c07b2
Twenty Fifteen: correct list indentation in older IE versions.
...
Props iamtakashi, fixes #30074 .
Built from https://develop.svn.wordpress.org/trunk@30012
git-svn-id: http://core.svn.wordpress.org/trunk@30012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:05:19 +00:00
Ian Stewart
164f786627
Twenty Fifteen: darken up the post navigation with thumbnail for better a11y.
...
Props davidakennedy, fixes #30069 .
Built from https://develop.svn.wordpress.org/trunk@30011
git-svn-id: http://core.svn.wordpress.org/trunk@30011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:59:19 +00:00
Ian Stewart
a031e94d8c
Twenty Fifteen: removing Skype from the list of social links is easier than adding skype to $allowed_protocols.
...
Props iamtakashi, fixes #30059 .
Built from https://develop.svn.wordpress.org/trunk@30010
git-svn-id: http://core.svn.wordpress.org/trunk@30010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:55:18 +00:00
Ian Stewart
fdbd6b439b
Twenty Fifteen: Use a p for the site description for a better experience when using a screenreader.
...
Props rianrietveld, fixes #30057 , see #30065 .
Built from https://develop.svn.wordpress.org/trunk@30009
git-svn-id: http://core.svn.wordpress.org/trunk@30009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:51:19 +00:00
Ian Stewart
10a752a61d
Twenty Fifteen: documentation for the twentyfifteen_credits action
...
Props iamtakashi, fixes #30051
Built from https://develop.svn.wordpress.org/trunk@29998
git-svn-id: http://core.svn.wordpress.org/trunk@29738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 18:37:19 +00:00
Sergey Biryukov
85c824218f
Twenty Fifteen: Isolate :not selectors from CSS2 selectors.
...
props peterwilsoncc, iamtakashi.
fixes #30014 .
Built from https://develop.svn.wordpress.org/trunk@29996
git-svn-id: http://core.svn.wordpress.org/trunk@29737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 11:44:19 +00:00
Sergey Biryukov
1c1139996a
Twenty Fifteen: Fix typo in a CSS comment.
...
props iamtakashi.
fixes #30081 .
Built from https://develop.svn.wordpress.org/trunk@29995
git-svn-id: http://core.svn.wordpress.org/trunk@29736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 11:37:18 +00:00
Sergey Biryukov
44b06991cb
Twenty Fifteen: Include post title in Continue Reading link in Link post format.
...
props davidakennedy.
fixes #30070 .
Built from https://develop.svn.wordpress.org/trunk@29991
git-svn-id: http://core.svn.wordpress.org/trunk@29733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 16:30:19 +00:00
Sergey Biryukov
43b2fe0f2f
Twenty Fifteen: Remove a non-relevant part of a string in 404.php.
...
props davidakennedy.
fixes #30061 .
Built from https://develop.svn.wordpress.org/trunk@29990
git-svn-id: http://core.svn.wordpress.org/trunk@29732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 12:00:21 +00:00
Sergey Biryukov
f64d9a10df
Twenty Fifteen: Fix missing commas in the stylesheet.
...
props iamtakashi.
fixes #30068 .
Built from https://develop.svn.wordpress.org/trunk@29988
git-svn-id: http://core.svn.wordpress.org/trunk@29730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 02:43:18 +00:00
Andrew Ozz
965e783fd8
Twenty Fifteen: better editor-style.css: slightly smaller fonts, make the body margins relative, fix dependency on the `mce-item-table` class for tables. Props iamtakashi, fixes #29986
...
Built from https://develop.svn.wordpress.org/trunk@29987
git-svn-id: http://core.svn.wordpress.org/trunk@29729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 02:40:17 +00:00
Ian Stewart
c481b6f1cf
Twenty Fifteen: updated styles for skip link.
...
Props afercia and iamtakashi, fixes #30043 .
Built from https://develop.svn.wordpress.org/trunk@29976
git-svn-id: http://core.svn.wordpress.org/trunk@29722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:39:20 +00:00
Ian Stewart
ccf74c19de
Twenty Fifteen: Adding in the twentyfifteen credits action.
...
Props iamtakashi, fixes #30051 .
Built from https://develop.svn.wordpress.org/trunk@29975
git-svn-id: http://core.svn.wordpress.org/trunk@29721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:21:18 +00:00
Ian Stewart
ff872080bc
Twenty Fifteen: correct comment meta alignment when avatar display is turned off.
...
Props iamtakashi, fixes #30046 .
Built from https://develop.svn.wordpress.org/trunk@29974
git-svn-id: http://core.svn.wordpress.org/trunk@29720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:19:18 +00:00
Ian Stewart
15ca2edb1e
Twenty Fifteen: correct button sizes.
...
Props iamtakashi, fixes #30045 .
Built from https://develop.svn.wordpress.org/trunk@29973
git-svn-id: http://core.svn.wordpress.org/trunk@29719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:16:19 +00:00
Ian Stewart
8cee0a57d1
Twenty Fifteen: beautify the header in IE 8.
...
Props afercia, fixes #30042 .
Built from https://develop.svn.wordpress.org/trunk@29972
git-svn-id: http://core.svn.wordpress.org/trunk@29718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 19:14:18 +00:00
Ian Stewart
5d4f0ac993
Twenty Fifteen: correct styles for color schemes
...
Props iamtakashi, fixes #29976 .
Built from https://develop.svn.wordpress.org/trunk@29971
git-svn-id: http://core.svn.wordpress.org/trunk@29717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 18:57:26 +00:00
Ian Stewart
1804918131
Twenty Fifteen: Swap order of description and caption so the caption is underneath an image on image attachment pages.
...
Props iamtakashi, fixes #30020 .
Built from https://develop.svn.wordpress.org/trunk@29951
git-svn-id: http://core.svn.wordpress.org/trunk@29700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 21:36:18 +00:00
Ian Stewart
d224b52731
Twenty Fifteen: centre gallery thumbnails
...
Props iamtakashi, fixes #30019
Built from https://develop.svn.wordpress.org/trunk@29949
git-svn-id: http://core.svn.wordpress.org/trunk@29698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 21:23:19 +00:00
Ian Stewart
cbc554946b
Twenty Fifteen: correct escaping to render HTML in no-content admin message.
...
Props dmchale, fixes #30011 .
Built from https://develop.svn.wordpress.org/trunk@29947
git-svn-id: http://core.svn.wordpress.org/trunk@29696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 21:16:20 +00:00
Ian Stewart
9ed425438f
Twenty Fifteen: Removing unused custom color controls.
...
Props cainm, fixes #29982 and #29959 .
Built from https://develop.svn.wordpress.org/trunk@29944
git-svn-id: http://core.svn.wordpress.org/trunk@29694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 20:52:19 +00:00
Ian Stewart
507fee2825
Twenty Fifteen: Fix hover and focus style for links in content with custom color schemes.
...
Props iamtakashi, fixes #29978 .
Built from https://develop.svn.wordpress.org/trunk@29942
git-svn-id: http://core.svn.wordpress.org/trunk@29693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 20:32:21 +00:00
Ian Stewart
31c0fa1c6e
Twenty Fifteen: readable comment details in the dark colour scheme.
...
Props NikV, fixes #29970 .
Built from https://develop.svn.wordpress.org/trunk@29930
git-svn-id: http://core.svn.wordpress.org/trunk@29682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 22:01:18 +00:00
Ian Stewart
48e1232075
Twenty Fifteen: document the site-branding class in header.php.
...
Props NikV, fixes #29961 .
Built from https://develop.svn.wordpress.org/trunk@29928
git-svn-id: http://core.svn.wordpress.org/trunk@29680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 20:52:18 +00:00
Ian Stewart
f196453cb8
Twenty Fifteen: make sure we don't see borders through transparent linked images.
...
Props iamtakashi, fixes #29963 .
Built from https://develop.svn.wordpress.org/trunk@29927
git-svn-id: http://core.svn.wordpress.org/trunk@29679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 20:48:18 +00:00
Ian Stewart
2934146919
Twenty Fifteen: Removes flashing of background behind fixed position elements when scrolling in mobile and desktop Safari.
...
Props iamtakashi, fixes #29973 and #29987 .
Built from https://develop.svn.wordpress.org/trunk@29926
git-svn-id: http://core.svn.wordpress.org/trunk@29678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 20:35:20 +00:00
Ian Stewart
da93ef02b9
Twenty Fifteen: indented nested lists in comments.
...
Props pauldewouters, iamtakashi, fixes #29981 .
Built from https://develop.svn.wordpress.org/trunk@29922
git-svn-id: http://core.svn.wordpress.org/trunk@29674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 19:32:19 +00:00
Ian Stewart
24e6e8cc0a
Twenty Fifteen: correct margin for pagination.
...
Props kwight; fixes #29964 .
Built from https://develop.svn.wordpress.org/trunk@29921
git-svn-id: http://core.svn.wordpress.org/trunk@29673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 19:16:18 +00:00
Ian Stewart
1a6b4131c7
Twenty Fifteen: add print styles.
...
Props iamtakashi, closes #29967
Built from https://develop.svn.wordpress.org/trunk@29919
git-svn-id: http://core.svn.wordpress.org/trunk@29671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 19:02:20 +00:00
Ian Stewart
747e7189a3
Twenty Fifteen: correct font fallback for Noto Serif in editor styles; Props Manoz69; Fixes #29984
...
Built from https://develop.svn.wordpress.org/trunk@29918
git-svn-id: http://core.svn.wordpress.org/trunk@29670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 18:40:20 +00:00
Andrew Ozz
6de7c43ab3
Twenty Fifteen, editor-style.css: revert the font-size back to 19px and margin back to 83px, merge the two body selectors (don't seem needed), remove redundant rtl rules and fix body.rtl selector. See #29799
...
Built from https://develop.svn.wordpress.org/trunk@29911
git-svn-id: http://core.svn.wordpress.org/trunk@29665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 00:27:19 +00:00
Andrew Ozz
f6e96fa748
Twenty Fifteen: no `rem` in editor-style.css for now, see #29799
...
Built from https://develop.svn.wordpress.org/trunk@29910
git-svn-id: http://core.svn.wordpress.org/trunk@29664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 22:48:18 +00:00
Andrew Ozz
dc0fee4550
Twenty Fifteen: make font-size/line-height in editor-style.css the same as in style.css. Remove margins from the editor body, interferes with autoresize in some browsers and is overriden in the default styles. See #29799
...
Built from https://develop.svn.wordpress.org/trunk@29909
git-svn-id: http://core.svn.wordpress.org/trunk@29663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 22:37:18 +00:00
Dominik Schilling
61819a36ea
Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
...
Also capitalize "Customizer".
See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/ .
props studionashvegas, tareq1988.
fixes #29947 .
Built from https://develop.svn.wordpress.org/trunk@29903
git-svn-id: http://core.svn.wordpress.org/trunk@29658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:21:19 +00:00
Andrew Ozz
ca92ca385e
Twenty Fifteen: clean up skip-link-focus-fix.js, see #29799
...
Built from https://develop.svn.wordpress.org/trunk@29897
git-svn-id: http://core.svn.wordpress.org/trunk@29652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 05:49:19 +00:00
Andrew Nacin
e2041b8fbb
Twenty Fifteen: JSHint fixes.
...
* Define global variables set by wp_localize_script().
* Remove currently unused $ variable.
* Use dot notation when appropriate.
* Update Gruntfile.js to ignore the html5 shiv.
see #29799 .
Built from https://develop.svn.wordpress.org/trunk@29893
git-svn-id: http://core.svn.wordpress.org/trunk@29649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 19:48:19 +00:00
Ian Stewart
affa411402
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
...
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 19:28:18 +00:00