Commit Graph

465 Commits

Author SHA1 Message Date
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
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
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 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 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 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 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
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
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
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 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
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 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
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
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 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
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 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
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 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
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 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
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 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
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
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
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
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
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 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
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 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 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 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
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 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
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
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
Sergey Biryukov 75484f9c20 Bundled themes: Add an alt attribute with the site title for header images linked to the home page.
props rianrietveld.
fixes #15926.
Built from https://develop.svn.wordpress.org/trunk@29842


git-svn-id: http://core.svn.wordpress.org/trunk@29606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-06 12:44:17 +00:00
Mark Jaquith 0d3b83551f Use HTTPS URLs for core.trac.wordpress.org
see #27115
Built from https://develop.svn.wordpress.org/trunk@29788


git-svn-id: http://core.svn.wordpress.org/trunk@29560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-29 13:28:16 +00:00
Sergey Biryukov f35285450a Bundled themes: Prevent the arrow in "Continue reading" links from wrapping to a second line.
props DustinHartzler, dominik.schwind.
fixes #27908.
Built from https://develop.svn.wordpress.org/trunk@29771


git-svn-id: http://core.svn.wordpress.org/trunk@29543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-27 08:02:16 +00:00
Andrew Nacin 767661ee0a Bump versions and POT files for all bundled themes. fixes #29478.
Built from https://develop.svn.wordpress.org/trunk@29682


git-svn-id: http://core.svn.wordpress.org/trunk@29457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 00:47:16 +00:00
Sergey Biryukov fd16ae485b Avoid a PHP notice in bundled themes if no images were found.
props nabil_kadimi.
fixes #28361.
Built from https://develop.svn.wordpress.org/trunk@28585


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


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


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


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

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


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


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

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

Fixes #27243.


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


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


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


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


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


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

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


git-svn-id: http://core.svn.wordpress.org/trunk@27120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:18:14 +00:00
Lance Willett 4e4e5166cb Bundled themes: new screenshots at 880x660 to maximize theme goodness in the new theme viewer design. See #26159.
Built from https://develop.svn.wordpress.org/trunk@26749


git-svn-id: http://core.svn.wordpress.org/trunk@26637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:07:10 +00:00
Lance Willett aff7304e0d Bundled Themes: pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26714


git-svn-id: http://core.svn.wordpress.org/trunk@26603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 02:23:10 +00:00
Matt Mullenweg ba93d95af0 Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442.
Props Otto42 and lancewillett.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Lance Willett 5bb8d78e07 Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888.
Built from https://develop.svn.wordpress.org/trunk@26070


git-svn-id: http://core.svn.wordpress.org/trunk@25990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:20:09 +00:00
Andrew Nacin 70fd806759 Revert r25824:25875 from the core.svn.wordpress.org repository.
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.


git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Andrew Nacin 5361a8abca Spell out duplicate hook locations.
props DrewAPicture.
fixes #25658.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:20 +00:00
Andrew Nacin 8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Andrew Nacin a275f43664 Update POT files for Twenty Ten through Twenty Thirteen.
Built from https://develop.svn.wordpress.org/trunk@25904


git-svn-id: http://core.svn.wordpress.org/trunk@25816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:02:10 +00:00
Lance Willett b3b963d6ee Bundled themes: bump version numbers (ignoring Twenty Ten).
Built from https://develop.svn.wordpress.org/trunk@25902


git-svn-id: http://core.svn.wordpress.org/trunk@25814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:37:08 +00:00
Andrew Nacin 74488bdcb0 Spell out duplicate hook locations.
props DrewAPicture.
fixes #25658.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:22:11 +00:00
Lance Willett 4359cfd88d Bundled Themes: pinking shears, fix a trailing period.
Built from https://develop.svn.wordpress.org/trunk@25824


git-svn-id: http://core.svn.wordpress.org/trunk@25736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 03:30:09 +00:00
Andrew Nacin f5eb32ec6b Default themes: Don't use /** docblocks for simple multiline comments.
props DrewAPicture, ericlewis.
fixes #25256.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 20:39:09 +00:00
Lance Willett 25d1363a66 Twenty Eleven: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25625


git-svn-id: http://core.svn.wordpress.org/trunk@25542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:50:11 +00:00
Andrew Nacin 032fa66fec Twenty Eleven: Fix some mobile layout bugs on single post format view. props lancewillett, fixes #25019.
Built from https://develop.svn.wordpress.org/trunk@25042


git-svn-id: http://core.svn.wordpress.org/trunk@25029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 21:15:08 +00:00
Bot (Translations) 9d24ab34f4 POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:10 +00:00
Lance Willett eddab8187b Bundled themes: bump version numbers.
git-svn-id: http://core.svn.wordpress.org/trunk@24958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 17:52:36 +00:00
Lance Willett a65a4e664d Twenty Eleven: use the new URL extraction function name, see #24202 and r24682.
git-svn-id: http://core.svn.wordpress.org/trunk@24709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-16 00:21:09 +00:00
Bot (Translations) 06f96735c1 POT, generated from r24434
git-svn-id: http://core.svn.wordpress.org/trunk@24435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 22:14:13 +00:00
Lance Willett b512e9b6a9 Twenty Eleven: use `get_content_url()` instead of `get_the_post_format_url()`. Fixes #23618.
git-svn-id: http://core.svn.wordpress.org/trunk@24434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 21:40:14 +00:00
Bot (Translations) dc6186258e POT, generated from r24322
git-svn-id: http://core.svn.wordpress.org/trunk@24324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:14:05 +00:00