Commit Graph

28610 Commits

Author SHA1 Message Date
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
John Blackbourn b21241c5db TinyMCE: add another `Edit` translatable string for the tooltip of the Edit button on the image toolbar.
Merges [30839] to the 4.1 branch.

Props pavelevap
Fixes #30694

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 14:57:23 +00:00
John Blackbourn 23baee556e TinyMCE: make the tooltip for the remove button in the image toolbar translatable.
Merges [30835] to the 4.1 branch.

Props pavelevap
Fixes #30694

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 14:55:24 +00:00
Andrew Nacin 5d800b2ea7 About page design for 4.1.
Merges [30857] to the 4.1 branch.

props melchoyce and ryelle, who again outdid themselves.
see #30435.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 10:51:24 +00:00
Andrew Nacin 5b0729aa10 About page updates.
* Live-update the number of active translations.
 * Finalize most strings.
 * Lazily remove links to admin-only screens based on cap checks.

Merges [30840] and [30841] to the 4.1 branch.

see #30435.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 10:50:25 +00:00
John Blackbourn 5a40287f23 Revisions: Fix initial state of `compareTwoMode`.
Merges [30831] to the 4.1 branch.

Fixes #30672.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 20:22:23 +00:00
John Blackbourn bb16b3b284 Improve text for the DFW admin pointer. Remove the concatenation.
Props kpdesign, ianmjones.

Merges [30837] to the 4.1 branch.

See #30671.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 19:59:22 +00:00
John Blackbourn 2fc06d04c5 In `WP_Meta_Query`, interpret 'value' correctly when used with EXISTS/NOT EXISTS.
As in earlier versions, EXISTS with a value is equivalent to '=', while NOT
EXISTS should always ignore 'value'.

Merges [30846] to the 4.1 branch.

Props barrykooij.
Fixes #30681

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 19:31:23 +00:00
John Blackbourn deec4ec7ee 4.1 RC1
Built from https://develop.svn.wordpress.org/branches/4.1@30827


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 11:01:24 +00:00
John Blackbourn 2827fd2a64 Switch to `(get_)the_posts_pagination()` in Twenty Fifteen.
Merges [30824] to the 4.1 branch.

See #29808
Props obenland

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:37:23 +00:00
John Blackbourn e2ad21e041 Rename `(get_)the_pagination()` to `(get_)the_posts_pagination()` for clarity.
Merges [30823] to the 4.1 branch

See #29808
Props obenland

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:35:22 +00:00
Andrew Nacin 7918030a9c About page text, first pass.
Merges [30821] to the 4.1 branch.

props johnbillion, helen, markjaquith, nacin.
see #30435.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:16:43 +00:00
John Blackbourn 28c8a775ca Allow the `type` argument to be passed through `get_the_pagination()` as long as its value isn't `array`.
See #29808

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:37:23 +00:00
Andrew Nacin 1db4d4e970 Editor focus: Don't trigger when typing while the mouse is outside the editor.
Merges [30817] to the 4.1 branch.

props avryl.
fixes #20668.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:35:22 +00:00
Andrew Nacin 96b5fdcc2d Fix the search field width in the media modal, media library grid and on the install new plugins screen.
Merges [30813] to the 4.1 branch.

props helen.
fixes #30658.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:32:44 +00:00
Andrew Nacin 98211e7dcd TinyMCE, image toolbar: remove the animation and make the box-shadow lighter.
Merges [30812] to the 4.1 branch.

props melchoyce.
fixes #30664.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:32:23 +00:00
Andrew Nacin c103b48395 Merge Twenty Fifteen commits [30801-30806], [30808-30811] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30814


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:30:26 +00:00
Gary Pendergast 3b5c56dda4 WPDB: In [30345,30346,30366,30375], we added sanity checks for saving posts containing emoji. We need to revert these checks for now, as they're not ready for release in 4.1.
See #21212.

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


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 22:58:28 +00:00
Andrew Nacin 28e0fefffd Branch 4.1
Built from https://develop.svn.wordpress.org/@30799

git-svn-id: http://core.svn.wordpress.org/branches/4.1@30789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 08:42:00 +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
Dominik Schilling 2428fce4ed Dashicons: Update to the latest files.
New icons:
* .dashicons-controls-play (f522)
* .dashicons-controls-pause (f523)
* .dashicons-controls-forward (f519)
* .dashicons-controls-skipforward (f517)
* .dashicons-controls-back (f518)
* .dashicons-controls-skipback (f516)
* .dashicons-controls-repeat (f515)
* .dashicons-controls-volumeon (f521)
* .dashicons-controls-volumeoff (f520)
* .dashicons-phone (f525)
* .dashicons-building (f512)
* .dashicons-store (f513)
* .dashicons-album (f514)
* .dashicons-palmtree (f527)
* .dashicons-tickets-alt (f524)
* .dashicons-money (f526)

Updated icons:
* .dashicons-align-left (f135)
* .dashicons-align-right (f136)
* .dashicons-align-center (f134)
* .dashicons-align-none (f138)

props liljimmi, melchoyce, empireoflight.
fixes #29444.
Built from https://develop.svn.wordpress.org/trunk@30797


git-svn-id: http://core.svn.wordpress.org/trunk@30787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 19:34: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
Dominik Schilling 18349e84cf Remove a stray $ from [30793].
props ipm-frommen.
see #30553.
Built from https://develop.svn.wordpress.org/trunk@30794


git-svn-id: http://core.svn.wordpress.org/trunk@30784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 11:27:22 +00:00