Gary Pendergast
e467eb6c93
WPDB: When deciding if a query needs extra sanity checking based on collation, return early when we can. Merges [32232] and [32233] to the 4.1 branch.
...
See #32029 .
Built from https://develop.svn.wordpress.org/branches/4.1@32234
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 05:44:23 +00:00
Helen Hou-Sandí
ecd58ab7d2
The 4.1 branch is 4.1.2-RC1.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32226
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 19:38:24 +00:00
Gary Pendergast
97d7fd2cec
Fix an incorrect method name in 4.1, introduced in [32163].
...
Built from https://develop.svn.wordpress.org/branches/4.1@32223
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 18:40:22 +00:00
Gary Pendergast
877ff2ec15
Bump 4.1 branch to 4.1.2.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32221
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:41:46 +00:00
Gary Pendergast
6ecee8c8d5
Fix an incorrect PHPDoc added in [32163].
...
Built from https://develop.svn.wordpress.org/branches/4.1@32187
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 11:33:23 +00:00
Gary Pendergast
62c3bf486b
`wpdb::$checking_collation` was incorrectly marked as `protected` instead of `private` in [32163].
...
Built from https://develop.svn.wordpress.org/branches/4.1@32183
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 11:17:24 +00:00
Gary Pendergast
7d6b8c0a89
In Multisite, prevent plugins from unintentionally switching sites. Merge of [32173] to the 4.1 branch.
...
Props mdawaffe.
Built from https://develop.svn.wordpress.org/branches/4.1@32174
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 07:30:25 +00:00
Gary Pendergast
bc58804ad3
Revert [30640], as it was incorrectly checking some filenames. This merges [32171] in the 4.1 branch.
...
See #30377 .
Built from https://develop.svn.wordpress.org/branches/4.1@32172
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 06:44:23 +00:00
Gary Pendergast
bb5feb26d7
Update the Plupload Flash file to the latest version. Merge of [32168] to the 4.1 branch.
...
Props azaozz.
Built from https://develop.svn.wordpress.org/branches/4.1@32169
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 06:16:23 +00:00
Gary Pendergast
93eba2d6f9
Remove some old backwards compatibility code from TinyMCE. Merge of [32166] to the 4.1 branch.
...
Props azaozz.
Built from https://develop.svn.wordpress.org/branches/4.1@32167
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 05:53:23 +00:00
Gary Pendergast
96cffc1a02
Clean up some edge cases in `sanitize_sql_orderby()`. Merge of [32164] to the 4.1 branch.
...
Props vortfu, dd32.
Built from https://develop.svn.wordpress.org/branches/4.1@32165
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 05:46:22 +00:00
Gary Pendergast
a10714c271
Merge the query sanity checks from #21212 to the 4.1 branch.
...
Props pento, nacin, mdawaffe, DrewAPicture.
Built from https://develop.svn.wordpress.org/branches/4.1@32163
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 05:08:23 +00:00
Gary Pendergast
93644991eb
The 4.1 branch is now 4.1.2-alpha.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32144
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-19 05:27:26 +00:00
Andrew Nacin
da742c0489
Bump $tinymce_version in the 4.1 branch.
...
Built from https://develop.svn.wordpress.org/branches/4.1@31477
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 22:08:23 +00:00
Andrew Nacin
29a8d70a31
Update @since in [31084]. see #30843 .
...
Built from https://develop.svn.wordpress.org/branches/4.1@31476
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 21:56:23 +00:00
Helen Hou-Sandí
4a877ade5a
Revert [31198] from the 4.1 branch, as it is an incomplete fix that introduces more problems than the tiny issue it was attempting to solve.
...
see #30725 .
Built from https://develop.svn.wordpress.org/branches/4.1@31468
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-17 14:11:25 +00:00
Dion Hulse
4ff80ae587
Fix the display of Audio and Video in the Media Library when using IE8 and below.
...
This delays the execution of instantiating of the MediaElement.js player until the render is complete, and the node is in the DOM.
Although it's a bug that this is needed in the first place, this will cover us until a new MediaElement.ks release is made.
Props afercia.
Fixes #31058 for 4.1.
Built from https://develop.svn.wordpress.org/branches/4.1@31444
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 05:54:26 +00:00
Dion Hulse
8518481173
TinyMCE: ensure the image toolbar stays visible when the image is much wider than the editor.
...
Props iseulde.
Merges [31362] to the 4.1 branch.
Fixes #30696 .
Built from https://develop.svn.wordpress.org/branches/4.1@31437
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 06:02:24 +00:00
Dion Hulse
1c36669bce
TinyMCE: select the iframe element by id. Needed as some browser extensions insert extra elements in the page.
...
Props iseulde.
Merges [31180] to the 4.1 branch.
Fixes #30785 .
Built from https://develop.svn.wordpress.org/branches/4.1@31436
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 06:00:23 +00:00
Dion Hulse
0c28c25442
Revert [31080] from the 4.1 branch and replace it with a small function in an already changed file.
...
By doing this, we avoid shipping 400KB of changed CSS for such a minor css addition.
See https://build.trac.wordpress.org/changeset/31061 for the full size of [31080] in build.
See #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31435
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 05:37:22 +00:00
Dion Hulse
e2825e3004
In `paginate_links()`, don't override custom format arguments when setting up default 'add_args'.
...
Since 4.1 [29780], the default value of the 'add_args' argument in
paginate_links() has been determined by parsing the current URL. This change
had the side effect of overriding custom values of 'format' that changed the
pagination query var, with the result that plugins using `paginate_links()`
with a custom format generated the incorrect links unless explicitly
declaring 'add_args=false' to prevent the default values from overriding. We
fix this behavior by parsing URL query vars into the 'add_args' array only
after the explicit function params have been parsed, and by skipping the
current page's pagination query var when doing this parsing (to avoid the
override).
Props obenland.
Merges [31203], [31432] to the 4.1 branch.
Fixes #30831 .
Built from https://develop.svn.wordpress.org/branches/4.1@31433
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 02:20:22 +00:00
Dion Hulse
d349b9fdaf
Ensure that `WP_Customize_Setting::value()` returns default value for setting if not dirty.
...
There was regression introduced by #28580 where only changed (dirty) settings now are POST'ed to the Customizer preview.
* Allow WP_Customize_Manager::post_value() to accept a second $default argument.
* Introduce WP_Customize_Manager::unsanitized_post_values() for accessing previously-private member variable _post_values.
* Do require_once instead of require for Customizer classes.
* Add unit tests for WP_Customize_Manager and WP_Customize_Setting.
Props westonruter, boonebgorges.
Merges [31329] [31339] [31342] [31360] to the 4.1 branch.
Fixes #30988 .
Built from https://develop.svn.wordpress.org/branches/4.1@31410
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-11 06:25:23 +00:00
Dion Hulse
a8ac7d3dc1
jQuery UI: Add missing dependencies for puff and scale effects.
...
Props ocean90.
Merges [31273] to the 4.1 branch.
Fixes #31113 .
Built from https://develop.svn.wordpress.org/branches/4.1@31398
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:46:24 +00:00
Dion Hulse
14fb3b11d6
Customizer: Improve IE 8 compatibility.
...
* Use square bracket notation for `default` keywords.
* Use Underscores `indexOf` for arrays.
Props westonruter, ocean90.
Merges [30991] to the 4.1 branch.
Fixes #30781 .
Built from https://develop.svn.wordpress.org/branches/4.1@31397
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:41:24 +00:00
Dion Hulse
73ce260784
Support array values in `WP_Date_Query::validate_date_values()`.
...
Introduced in [29925], `validate_date_values()` throws `_doing_it_wrong()`
notices when values passed as part of a `WP_Date_Query` do not reflect actual
dates. However, the validation did not account properly for the case where an
array of multiple values is passed, as when doing IN or BETWEEN queries.
Props dlh.
Merges [31179] to the 4.1 branch.
Fixes #31001 .
Built from https://develop.svn.wordpress.org/branches/4.1@31396
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:14:23 +00:00
Dion Hulse
a496c6b42f
Avoid an IE8 JS error when removing a MediaElement player.
...
Props afercia.
Merges [31386] to the 4.1 branch.
Fixes #31058 .
Built from https://develop.svn.wordpress.org/branches/4.1@31395
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:01:22 +00:00
Dion Hulse
89150885b0
Revert [30696] pending further investigation.
...
Props johnbillion.
Merges [31390] to the 4.1 branch.
See #13071 . Fixes #31011 .
Built from https://develop.svn.wordpress.org/branches/4.1@31394
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 00:56:23 +00:00
Dion Hulse
7ba6f5dfd4
In `wp_update_term()`, limit duplicate slug checks to the same taxonomy as the updated term.
...
In 4.1 [30240], `wp_insert_term()` was modified to allow the creation of terms
with duplicate slugs, as long as the terms are in different taxonomies.
`wp_update_term()` didn't get the corresponding modification, with the result
that term updates fail when the term being updated shares a slug with an older
term, regardless of that older term's taxonomy.
Props ipm-frommen.
Merges [30985] to the 4.1 branch.
Fixes #30780 .
Built from https://develop.svn.wordpress.org/branches/4.1@31378
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 03:59:21 +00:00
Dion Hulse
93cf0191c3
`WP_Date_Query` date validation should not fail for hour = 0.
...
Props ChriCo, tyxla.
Merges [31251] to the 4.1 branch.
Fixes #31067 .
Built from https://develop.svn.wordpress.org/branches/4.1@31377
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 02:33:22 +00:00
Dion Hulse
6f1a6f77e8
The 4.1 branch is now for 4.1.1 development
...
Built from https://develop.svn.wordpress.org/branches/4.1@31375
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 02:10:24 +00:00
Helen Hou-Sandí
b7f0464ce4
Media: Prevent filter selects from jiggling when the spinner shows.
...
Merges [31197] to the 4.1 branch.
props valendesigns.
fixes #30725 .
Built from https://develop.svn.wordpress.org/branches/4.1@31198
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-16 03:08:24 +00:00
Aaron Jorbin
0c2e698a04
Pass $resource_type to 'get_ancestors' filter.
...
The $resource_type argument was added to the get_ancestors() function in
[30141]. In that changeset, the documentation for the filter was updated to
indicate that it would receive $resource_type as a param, but the filter
itself was not updated accordingly.
Merges [30993] to 4.1 branch
Props tmatsuur, DrewAPicture.
Fixes #30843 .
Built from https://develop.svn.wordpress.org/branches/4.1@31084
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 06:10:23 +00:00
Aaron Jorbin
c3e89ea432
Add context for 'Previous' and 'Next' strings in get_the_posts_pagination().
...
merges [31071] to 4.1 branch
props SergeyBiryukov
fixes #30762 for trunk.
Built from https://develop.svn.wordpress.org/branches/4.1@31082
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 05:57:22 +00:00
John Blackbourn
7f36f7b28f
WordPress 4.1
...
Built from https://develop.svn.wordpress.org/branches/4.1@30974
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:17:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Scott Taylor
845e8ab23d
When using the spacebar to select something in "bulk select" mode, don't scroll the page.
...
Props avryl.
Fixes #30622 .
Built from https://develop.svn.wordpress.org/trunk@30777
git-svn-id: http://core.svn.wordpress.org/trunk@30767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:11:43 +00:00
Drew Jaynes
cc4d102260
Flesh out information in the DocBlock for `wp_register_sidebar_widget()`.
...
Includes:
* Documenting the `$options` parameter in hash notation style
* Converting `@uses` tags to `@global`
* Various backtick-escaping.
See #30315 .
Built from https://develop.svn.wordpress.org/trunk@30776
git-svn-id: http://core.svn.wordpress.org/trunk@30766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:11:22 +00:00
Andrew Ozz
498c5d719c
TinyMCE: return focus to the editor after closing the image toolbar. Props afercia, see #27642 .
...
Built from https://develop.svn.wordpress.org/trunk@30775
git-svn-id: http://core.svn.wordpress.org/trunk@30765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:08:42 +00:00
Drew Jaynes
1f8f2e5ba1
Introduce documentation for three methods in `WP_Widget_Factory`: `register()`, `unregister()`, `_register_widgets()`.
...
See #30315 .
Built from https://develop.svn.wordpress.org/trunk@30774
git-svn-id: http://core.svn.wordpress.org/trunk@30764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:08:21 +00:00
Drew Jaynes
25a65d856b
Introduce documentation for the `$id_base`, `$name`, `$widget_options`, `$control_options`, `$number`, `$id`, and `$updated` properties in `WP_Widget'.
...
See #30315 .
Built from https://develop.svn.wordpress.org/trunk@30773
git-svn-id: http://core.svn.wordpress.org/trunk@30763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 20:05:22 +00:00
Drew Jaynes
ced94748fa
Tweak formatting in the DocBlock for the `install_themes_tabs` hook.
...
Props kpdesign.
See #28578 .
Built from https://develop.svn.wordpress.org/trunk@30772
git-svn-id: http://core.svn.wordpress.org/trunk@30762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 18:41:21 +00:00
Boone Gorges
7e69e5484f
In `WP_Query::get_queried_object()`, use the new format for referencing tax query clauses.
...
`queried_terms`, rather than `queries`, is the tax_query property where a flat
index of terms is stored.
See [29901] for a similar fix in `redirect_canonical()`. See #29738 .
Props dd32.
Fixes #30623 .
Built from https://develop.svn.wordpress.org/trunk@30771
git-svn-id: http://core.svn.wordpress.org/trunk@30761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 14:58:22 +00:00
Drew Jaynes
8b83a73511
Document the default arguments for `the_widget()` in the hash notation style.
...
Props coffee2code.
See #28298 .
Built from https://develop.svn.wordpress.org/trunk@30770
git-svn-id: http://core.svn.wordpress.org/trunk@30760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 11:04:23 +00:00
Drew Jaynes
2a9c5910c6
Document the default arguments for `register_sidebars()` in the hash notation style.
...
Props coffee2code.
See #28298 .
Built from https://develop.svn.wordpress.org/trunk@30769
git-svn-id: http://core.svn.wordpress.org/trunk@30759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 11:01:25 +00:00
Drew Jaynes
7c01a454ce
Improve inline documentation for `wpdb::has_cap()`.
...
Adds a changelog entry for the addition of the 'utf8mb4' feature, accepted values for `$db_cap`, and a return description.
Props kpdesign.
See #21212 .
Built from https://develop.svn.wordpress.org/trunk@30768
git-svn-id: http://core.svn.wordpress.org/trunk@30758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 05:23:22 +00:00
Drew Jaynes
0cbaa88027
Fix a typo in the DocBlock for `WP_Http_Curl::$bytes_written_total` introduced in [29968].
...
Props kpdesign.
See #26726 .
Built from https://develop.svn.wordpress.org/trunk@30767
git-svn-id: http://core.svn.wordpress.org/trunk@30757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 05:16:24 +00:00
Dion Hulse
e0ac8c0386
In the `links_add_base()` callback, use a HTTP-aware URL joining function, rather than a filesystem joining function to avoid PHP warnings on certain systems.
...
Fixes #29950
Built from https://develop.svn.wordpress.org/trunk@30766
git-svn-id: http://core.svn.wordpress.org/trunk@30756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 03:19:23 +00:00
Dion Hulse
26b85eb9b3
WP_HTTP: Revert r30491 which updated the bundled root certificates. There's a report that this is breaking under certain PHP/OpenSSL versions (which we've encountered before), and we're safer with a slighty out of date CA bundle than breaking HTTPS communication on affected sites.
...
See #30434
Built from https://develop.svn.wordpress.org/trunk@30765
git-svn-id: http://core.svn.wordpress.org/trunk@30755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 03:13:22 +00:00