Commit Graph

28444 Commits

Author SHA1 Message Date
Andrew Nacin 9917bc6ea3 Cache-bust CDN URLs, as the images have been optimized.
Built from https://develop.svn.wordpress.org/branches/4.1@30973


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:15:21 +00:00
Andrew Nacin 4c59429498 About page: CDN images.
Merges [30971] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@30972


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:01:25 +00:00
Andrew Nacin 9b8bf43b51 Update theme POT files in the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30970


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 17:02:23 +00:00
Andrew Nacin 0b64c326aa Bundled Themes: bump version numbers to coordinate with 4.1 release.
Merges [30967] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@30968


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 16:55:22 +00:00
Andrew Nacin 2921c659bc Update bundled theme POT files in the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30966


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 01:33:44 +00:00
John Blackbourn a71f4d4a62 4.1 RC3
Built from https://develop.svn.wordpress.org/branches/4.1@30964


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 00:18:23 +00:00
John Blackbourn e4c35bd9f0 Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
Merges [30961] to the 4.1 branch.

Props iamtakashi
Fixes #30752.

Built from https://develop.svn.wordpress.org/branches/4.1@30962


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 22:44:22 +00:00
Andrew Nacin ed60d52e69 Update individual term caches in `get_terms()`.
Merges [30954] to the 4.1 branch.

props boonebgorges.
fixes #30749. see #21760.

Built from https://develop.svn.wordpress.org/branches/4.1@30959


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:36:43 +00:00
Andrew Nacin a0d667ac2f Twenty Fifteen: Final RTL, editor-style, and search padding fixes.
Merges [30953], [30955], [30956] to the 4.1 branch.

Props iamtakashi, alex-ye.
fixes #30744, #30739, #30746.

Built from https://develop.svn.wordpress.org/branches/4.1@30958


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:36:23 +00:00
Andrew Nacin 6ace544904 About page RTL fixes.
Merges [30951] and [30952] to the 4.1 branch.

props helen, alex-ye.
fixes #30743, #30748.

Built from https://develop.svn.wordpress.org/branches/4.1@30957


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:31:23 +00:00
John Blackbourn 2fba9b2f63 About: Fix the WordPress badge.
`css-clean` (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the `.svg` CSS class.

Merges [30946] to the 4.1 branch.

Fixes #30735.

Built from https://develop.svn.wordpress.org/branches/4.1@30949


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:28:22 +00:00
John Blackbourn 3f08968a01 Pass locale to wordpress.org theme/plugin API.
In the future this will be used to return localized plugin/theme info.

Merges [30944] to the 4.1 branch.

See #30735.

Built from https://develop.svn.wordpress.org/branches/4.1@30948


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:24:23 +00:00
John Blackbourn b07eaf34ef Twenty Fifteen: hide search input cancel button.
Merges [30945] to the 4.1 branch.

Fixes #30728.

Built from https://develop.svn.wordpress.org/branches/4.1@30947


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:20:23 +00:00
John Blackbourn 7486afd1f0 Add braces around a Docblock in an if statement, although not required by PHP, this is required by our coding standards for readability.
Introduced in 3.9 with r27365

Merges [30886] to the 4.1 branch.

See #25905

Built from https://develop.svn.wordpress.org/branches/4.1@30943


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:37:22 +00:00
John Blackbourn de9f42c952 Editor, new DFW: fix fading out for the right sidebar in IE.
Merges [30853] to the 4.1 branch.

Fixes #30714.

Built from https://develop.svn.wordpress.org/branches/4.1@30942


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:31:21 +00:00
Sergey Biryukov c69d37da64 Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.
Merges [30868] to the 4.1 branch.

props TomasM, hiwhatsup.
see #28938.
Built from https://develop.svn.wordpress.org/branches/4.1@30941


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:24:22 +00:00
Sergey Biryukov 608ed06fc8 No need for wp_get_password_hint() to be prefixed as if it is private.
Merges [30855] to the 4.1 branch.

props nacin.
see #21243.
Built from https://develop.svn.wordpress.org/branches/4.1@30940


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:19:22 +00:00
Sergey Biryukov 01d91c36b7 Twenty Fifteen: fallback hex color for no-comments text should come first.
Merges [30910] to the 4.1 branch.

props iamtakashi.
see #30730.
Built from https://develop.svn.wordpress.org/branches/4.1@30939


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:09:22 +00:00
Sergey Biryukov 264ac59431 Twenty Fifteen: update scroll functionality to make sure child menu items are always reachable.
Merges [30838] to the 4.1 branch.

props iamtakashi.
see #30674.
Built from https://develop.svn.wordpress.org/branches/4.1@30938


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:08:23 +00:00
Sergey Biryukov 013133fe99 Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor.
Merges [30836] to the 4.1 branch.

props azaozz.
see #30697.
Built from https://develop.svn.wordpress.org/branches/4.1@30937


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:06:22 +00:00
Sergey Biryukov 7de0d9b820 Merge Twenty Fifteen commits [30834], [30845] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30936


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:02:43 +00:00
Sergey Biryukov 49e9049b41 Merge Twenty Fifteen commits [30828], [30833], [30869] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30935


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:02:22 +00:00
Andrew Nacin d41a0696dc Fix MEjs styles for screen reader text and overflow on the volume slider.
Merges [30907] to the 4.1 branch.

props obenland.
see #30281.

Built from https://develop.svn.wordpress.org/branches/4.1@30934


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:41:22 +00:00
Andrew Nacin 911874c761 Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
Merges [30932] to the 4.1 branch.

props iamtakashi.
see #30733.

Built from https://develop.svn.wordpress.org/branches/4.1@30933


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:39:22 +00:00
Andrew Nacin 84b9ec9070 Customizer: Add `_wp_attachment_is_custom_background` meta to uploaded background images.
Merges [30885] to the 4.1 branch.

props ocean90.
fixes #30707.

Built from https://develop.svn.wordpress.org/branches/4.1@30931


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:29:22 +00:00
Andrew Nacin 2b12434ad9 Last about page string. Merges [30929] to the 4.1 branch.
props celloexpressions.
fixes #30435.

Built from https://develop.svn.wordpress.org/branches/4.1@30930


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:28:24 +00:00
John Blackbourn 0e79ad1966 4.1 RC2
Built from https://develop.svn.wordpress.org/branches/4.1@30928


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:20:22 +00:00
John Blackbourn 2ca8a826ea 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.

Merges [30893] to the 4.1 branch.

Fixes #30409.
Props ocean90

Built from https://develop.svn.wordpress.org/branches/4.1@30927


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:19:23 +00:00
John Blackbourn ca16a486ec Twenty Fifteen: Remove various unnecessary `esc_html()` calls and replace various unnecessary `esc_html_x()` calls with `_x()`.
Merges [30899], [30901], and [30905] into 4.1.

Props ocean90
Fixes #30724

Built from https://develop.svn.wordpress.org/branches/4.1@30926


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:52:21 +00:00
John Blackbourn 395e007a29 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'.

Merges [30897] to the 4.1 branch.

see #30724.

Built from https://develop.svn.wordpress.org/branches/4.1@30925


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:34:22 +00:00
John Blackbourn 1a427602c5 Twenty Fifteen: Don't escape translated strings.
Replace every unnecessary instance of `esc_html__()` and `esc_html_e()` with just `__()` and `_e()`.

Merges [30896] to the 4.1 branch.

see #30724.

Built from https://develop.svn.wordpress.org/branches/4.1@30924


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:33:22 +00:00
John Blackbourn aea153bb20 Customizer: Export Preview instance to `wp.customize.preview`.
Merges [30891] to the 4.1 branch.

see #30409, #30726.

Built from https://develop.svn.wordpress.org/branches/4.1@30923


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:30:23 +00:00
John Blackbourn 9d8bc7aa6f Make the DFW paragraph on the About page narrower to mitigate an orphan in Firefox.
Merges [30921] to the 4.1 branch.

See #30435
Props melchoyce

Built from https://develop.svn.wordpress.org/branches/4.1@30922


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:03:23 +00:00
John Blackbourn 1b4e81a614 Background Updates: Pass back whether Group Writable support is being leveraged for an update to the WordPress.org API.
Merges [30860] to the 4.1 branch.

See #30245

Built from https://develop.svn.wordpress.org/branches/4.1@30920


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:54:23 +00:00
John Blackbourn 7cc8dd8985 Improve the fix for menu shakiness when over-scrolling. Recalculate heights on editor auto-resize.
Merges [30852] to the 4.1 branch.

See #30692.

Built from https://develop.svn.wordpress.org/branches/4.1@30918


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:43:22 +00:00
John Blackbourn 7736e255fc Fix menu shakiness when over-scrolling in Chrome and Safari on MacOS.
Merges [30844] to the 4.1 branch.

See #30692.

Built from https://develop.svn.wordpress.org/branches/4.1@30917


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:42:23 +00:00
John Blackbourn 2c5c4f0567 Customizer: Import missing `wp.customize.Control.prototype._toggleActive`.
Check also if `completeCallback` is set before calling it.

Merges [30871] to the 4.1 branch.

Props westonruter.
See #30701.

Built from https://develop.svn.wordpress.org/branches/4.1@30916


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:36:22 +00:00
John Blackbourn 3f71a916fa Customizer: Remove date filter from the Header/Background Image upload frames.
Adds an option to `wp.media.view.AttachmentsBrowser` to hide the date filter added in [29813].

Merges [30872] to the 4.1 branch.

See #30689.

Built from https://develop.svn.wordpress.org/branches/4.1@30915


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:21:22 +00:00
John Blackbourn db3f2449d9 Remove caching for `get_term_by()` calls.
The new cache group scheme causes term invalidation to be overly broad, so
that busting the cache for one term will bust the cache for all terms in the
taxonomy. We'll have another go at more focused use of the 'last_changed'
incrementor in a future release.

Reverts [29915], [30073], [30080], [30108], [30112].

Merges [30900] to the 4.1 branch.

See #21760.

Built from https://develop.svn.wordpress.org/branches/4.1@30914


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:07:23 +00:00
Mark Jaquith b67799149b Revert [30036].
Merges [30912] to the 4.1 branch.

see #18035
Built from https://develop.svn.wordpress.org/branches/4.1@30913


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 17:35:46 +00:00
John Blackbourn b7cb613504 Customizer: Re-add the possibility to remove and restore a default background image.
Merges [30849] to the 4.1 branch.

Fixes #30683

Built from https://develop.svn.wordpress.org/branches/4.1@30911


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 17:10:22 +00:00
John Blackbourn 46ff132197 iOS: do not autofocus the readonly textarea with the code for wp-config.php in setup-config.php.
Merges [30843] to the 4.1 branch.

Fixes #30703.

Built from https://develop.svn.wordpress.org/branches/4.1@30909


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:53:21 +00:00
John Blackbourn 7dd30dce0a Do not autofocus text fields on page load on mobile devices. This is currently broken in many mobile browsers:
- iOS Safari opens the keyboard and auto-scrolls on the first tap anywhere on the screen triggering the click at an unexpected place. That makes it impossible to follow links or press buttons.
- Chrome on iOS opens the keyboard on load and may scroll the focused field off screen.
- The Android 4.4 browser only highlights the field, the user has to tap it to open the keyboard and type.

Merges [30842] to the 4.1 branch.

See #30703.

Built from https://develop.svn.wordpress.org/branches/4.1@30908


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:52:23 +00:00
John Blackbourn 88cd5c58d2 TinyMCE: remove reposition delay on showing the image toolbar. Not needed when no animation.
Merges [30829] to the 4.1 branch.

Fixes #30670.

Built from https://develop.svn.wordpress.org/branches/4.1@30906


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:11:22 +00:00
John Blackbourn a4b0effcb6 Move a `<code>` tag out of a localised string on the About page.
Merges [30903] to the 4.1 branch.

Props pavelevap
See #30435

Built from https://develop.svn.wordpress.org/branches/4.1@30904


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 14:06:22 +00:00
John Blackbourn 3a78c06619 Autoprefixer for [30857].
Merges [30884] to the 4.1 branch.

See #30435.

Built from https://develop.svn.wordpress.org/branches/4.1@30902


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:43:22 +00:00
John Blackbourn bc2b5e6574 Update/add plugin recommendation strings.
Update [30887], add a translation function to the Vine string.

Merges [30889] to the 4.1 branch.

Fixes #30337.

Built from https://develop.svn.wordpress.org/branches/4.1@30898


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:21:22 +00:00
John Blackbourn 337444a837 Updates to the 'Log out everywhere' implementation.
* Include a message and a disabled button when you're only logged in at one location.
 * Avoid leaking the session token in HTML.
 * Simplify, simplify, simplify.

Merges [30888] to the 4.1 branch.

Fixes #30264.

Built from https://develop.svn.wordpress.org/branches/4.1@30895


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:53:24 +00:00
John Blackbourn dcf43205a0 Finalize two more about page strings.
Merges [30887] to the 4.1 branch.

See #30435

Built from https://develop.svn.wordpress.org/branches/4.1@30894


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:30:21 +00:00
John Blackbourn 20321d7cd9 Call it 'Distraction-free writing mode' and update the help string.
Merges [30890] to the 4.1 branch.

Fixes #30657.

Built from https://develop.svn.wordpress.org/branches/4.1@30892


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:15:24 +00:00