Commit Graph

28394 Commits

Author SHA1 Message Date
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
Dominik Schilling 332e0a7f82 Themes: Use Customizer deep-links inside the theme modal.
props DrewAPicture, ocean90.
see #25569, #25571.
fixes #30553.
Built from https://develop.svn.wordpress.org/trunk@30793


git-svn-id: http://core.svn.wordpress.org/trunk@30783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 22:23:23 +00:00
Dominik Schilling 93078d7d9f Fix JSHint error introduced in [30780].
see #30608.
Built from https://develop.svn.wordpress.org/trunk@30792


git-svn-id: http://core.svn.wordpress.org/trunk@30782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 22:07:24 +00:00
Sergey Biryukov 0ef8e683f2 Revert [28948], which caused a regression.
see #29573 for trunk. see #28350.
Built from https://develop.svn.wordpress.org/trunk@30791


git-svn-id: http://core.svn.wordpress.org/trunk@30781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 21:14:23 +00:00
Ian Stewart aa9fa42f91 Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
Props netweb, DrewAPicture, fixes #30603.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 18:25:22 +00:00
Ian Stewart 3ec55886cd Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
Props iamtakashi, fixes #30630.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 17:46:23 +00:00
Sergey Biryukov b2185048c6 Move the logic from WP_Image_Editor::get_quality() to WP_Image_Editor::set_quality(), so that 'wp_editor_set_quality' and 'jpeg_quality' filters run when setting the default value.
props markoheijnen.
fixes #29856.
Built from https://develop.svn.wordpress.org/trunk@30788


git-svn-id: http://core.svn.wordpress.org/trunk@30778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 16:19:23 +00:00
John Blackbourn fbb5c1f1f5 Improve the `doing_it_wrong()` text for `title-tag` theme support.
Props ocean90
Fixes #18548

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


git-svn-id: http://core.svn.wordpress.org/trunk@30777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 16:06:26 +00:00
Jeremy Felt 210b51552c Clean up factory arguments in ms-sites group.
* Arguments for user, path, and title are only necessary when we need to do something with those arguments later. Most cases in the ms-sites group do not require them.
* In `test_get_blog_id_from_url_is_case_insensitive()`, we should pass a lowercase domain argument.
* A user factory in `test_switch_restore_blog()` is not necessary.

See #30080

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


git-svn-id: http://core.svn.wordpress.org/trunk@30776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 02:33:22 +00:00
Jeremy Felt 1e6c83c130 Split current tests for `update_blog_status()`
The current tests for `update_blog_status()` mirrored the tests for `update_blog_details()` in many ways and can be split in the same way. A noticeable difference is that the the matching actions fire even when no change is made to a field.

See #30080

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


git-svn-id: http://core.svn.wordpress.org/trunk@30775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 02:15:22 +00:00
Jeremy Felt 96bb2247b6 Split current tests for `update_blog_details()`
The current tests for `upload_blog_details()` were focused on the actions fired whenever a site is marked as spam, archived, deleted, or matured. This breaks those into individual sections with fewer assertions per test.

See #30080

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


git-svn-id: http://core.svn.wordpress.org/trunk@30774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 01:44:22 +00:00
Scott Taylor a702c60e9d Incorporate https://github.com/johndyer/mediaelement/pull/1385 into our custom build of MediaElement 2.16.2.
Props bradyvercher.
Fixes #30281.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 23:59:23 +00:00
Andrew Ozz a445806c6f Plugins: move the recommender results to a separate tab. Any outstanding quality issues will be fixed on the API side without needing core changes. Props tellyworth, fixes #30337.
Built from https://develop.svn.wordpress.org/trunk@30782


git-svn-id: http://core.svn.wordpress.org/trunk@30772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 23:40:24 +00:00
Andrew Ozz 7f0526ad08 Twenty Fifteen: add spaces after screen reader text strings to make them readable. Props nvwd, pavelevap, afercia. Fixes #30606.
Built from https://develop.svn.wordpress.org/trunk@30781


git-svn-id: http://core.svn.wordpress.org/trunk@30771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 23:28:21 +00:00
Andrew Ozz 31990810f4 Media: ensure the toolbar is shown after leaving iframe-based content. Props mcsf, fixes #30608.
Built from https://develop.svn.wordpress.org/trunk@30780


git-svn-id: http://core.svn.wordpress.org/trunk@30770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 21:12:21 +00:00
Drew Jaynes 24090d065a Fix formatting in the DocBlock for `wp_get_sidebars_widgets()`.
See #30315.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:15:26 +00:00
Drew Jaynes 16e46b2a1e Flesh out and fix formatting in the DocBlock for `wp_register_widget_control()`.
Includes:
* Added todos for documenting `$options` in the hash notation style
* Backtick-escaping and general formatting

See #30315.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:13:23 +00:00