Commit Graph

28533 Commits

Author SHA1 Message Date
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
Andrew Nacin d90f484c29 Update Akismet external to 3.0.4 in the 4.1 branch.
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 02:47:27 +00:00
John Blackbourn 409ea2798a Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet.
Merges [30866] to the 4.1 branch.

See #30532.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 23:00:24 +00:00
John Blackbourn 9a88013b03 Twenty Fifteen: remove Genericons as a dependency from loading the main stylesheet.
Merges [30865] to the 4.1 branch.

Props iamtakashi
See #30532.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:59:23 +00:00
John Blackbourn dc488ed5a0 Twenty Fifteen: remove fonts as a style dependency.
Merges [30832] to the 4.1 branch.

Props obenland, SergeyBiryukov.
Fixes #30678.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:58:22 +00:00
John Blackbourn 45c28a1e96 Correct the height of the search type `select` element when searching the plugin directory.
Merges [30879] to the 4.1 branch.

Fixes #30719
Props pavelevap, eliorivero

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:34:24 +00:00
John Blackbourn 8e7db5e875 Fix search box position on the Add Plugins screen after resizing the window to narrower than 1000px and then back to wider than 1200px.
Merges [30830] to the 4.1 branch.

Fixes #30658.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:31:28 +00:00
John Blackbourn 5b317eb250 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.
Merges [30867] to the 4.1 branch.

Props iamtakashi
See #30156

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:02:24 +00:00
John Blackbourn 4812d2a5fa Clarify the behaviour of the `wp_editor_set_quality` and `jpeg_quality` filters.
Merges [30874] to the 4.1 branch.

Props DH-Shredder
See #29856

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 21:51:22 +00:00
John Blackbourn 296a23c662 Rename _wp_clear_update_cache() to wp_clean_update_cache().
This makes it match most cache-clearing functions, including the ones it wraps. Also no need for it to be prefixed as "private."

wp_clean_plugins_cache() doesn't always exist, so as a quick fix, clear the transient we care to clear.

Merges [30856] to the 4.1 branch.

Fixes #30369.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 19:35:23 +00:00
John Blackbourn 709da31957 Avoid repeatedly calling is_tax( 'post_format', '...' ) in get_the_archive_title().
Merges [30854] to the 4.1 branch.

See #21995.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 15:59:25 +00:00
John Blackbourn 8326ab1fc9 Customizer: Don't escape control descriptions in JavaScript templates.
Merges [30847] to the 4.1 branch.

Fixes #30682.

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


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