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
cee0dfd66f
Updates: Display plugin update rows even for plugins which are not hosted by WordPress.org or the HTTP request times out on.
...
See #29583 .
Merges [31382] to the 4.1 branch.
Fixes #30767 .
Built from https://develop.svn.wordpress.org/branches/4.1@31383
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 06:35:22 +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
ab103b5bf9
Default `$parent` in `category_exists()` should default to null rather than 0.
...
[29863] made the corresponding change in `term_exists()`. Failure to change the
default value in `category_exists()` meant that an unspecified value for
`$parent` would limit results to top-level categories.
Includes unit tests and corrected function documentation.
Props hissy.
Merges [31140] to the 4.1 branch.
Fixes #30975 .
Built from https://develop.svn.wordpress.org/branches/4.1@31376
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 02:22:23 +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
18d810cf14
TinyMCE: Remove dashicon-no-alt.png, unused since [30694].
...
merges [31073] to 4.1 branch.
props kpdesign, MattyRob.
fixes #30791 .
Built from https://develop.svn.wordpress.org/branches/4.1@31088
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 06:27:22 +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
Aaron Jorbin
fa81716df2
Themes: Fix position of admin notice with .notice class.
...
merges [31054] to the 4.1 branch
props SergeyBiryukov
fixes #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31080
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 05:54:23 +00:00
Aaron Jorbin
9c1e85d376
Set the type attribute of the buttons for logging out of all sessions to buttons
...
By not setting this attribute, the buttons default to submit and as the first
submit button on the page, it causes pressing the enter key to log you out of
all sessions. This change restores the pre 4.1 behavior where pressing enter
while focused on a form field submits the form.
merges [31010] to the 4.1 branch
props ocean90
fixes #30871
Built from https://develop.svn.wordpress.org/branches/4.1@31076
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 04:42:26 +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
Andrew Nacin
9917bc6ea3
Cache-bust CDN URLs, as the images have been optimized.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30973
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:15:21 +00:00
Andrew Nacin
4c59429498
About page: CDN images.
...
Merges [30971] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30972
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:01:25 +00:00
Andrew Nacin
9b8bf43b51
Update theme POT files in the 4.1 branch.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30970
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 17:02:23 +00:00
Andrew Nacin
0b64c326aa
Bundled Themes: bump version numbers to coordinate with 4.1 release.
...
Merges [30967] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30968
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 16:55:22 +00:00
Andrew Nacin
2921c659bc
Update bundled theme POT files in the 4.1 branch.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30966
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 01:33:44 +00:00
John Blackbourn
a71f4d4a62
4.1 RC3
...
Built from https://develop.svn.wordpress.org/branches/4.1@30964
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 00:18:23 +00:00
John Blackbourn
e4c35bd9f0
Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
...
Merges [30961] to the 4.1 branch.
Props iamtakashi
Fixes #30752 .
Built from https://develop.svn.wordpress.org/branches/4.1@30962
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 22:44:22 +00:00
Andrew Nacin
ed60d52e69
Update individual term caches in `get_terms()`.
...
Merges [30954] to the 4.1 branch.
props boonebgorges.
fixes #30749 . see #21760 .
Built from https://develop.svn.wordpress.org/branches/4.1@30959
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:36:43 +00:00
Andrew Nacin
a0d667ac2f
Twenty Fifteen: Final RTL, editor-style, and search padding fixes.
...
Merges [30953], [30955], [30956] to the 4.1 branch.
Props iamtakashi, alex-ye.
fixes #30744 , #30739 , #30746 .
Built from https://develop.svn.wordpress.org/branches/4.1@30958
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:36:23 +00:00
Andrew Nacin
6ace544904
About page RTL fixes.
...
Merges [30951] and [30952] to the 4.1 branch.
props helen, alex-ye.
fixes #30743 , #30748 .
Built from https://develop.svn.wordpress.org/branches/4.1@30957
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:31:23 +00:00
John Blackbourn
2fba9b2f63
About: Fix the WordPress badge.
...
`css-clean` (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the `.svg` CSS class.
Merges [30946] to the 4.1 branch.
Fixes #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30949
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:28:22 +00:00
John Blackbourn
3f08968a01
Pass locale to wordpress.org theme/plugin API.
...
In the future this will be used to return localized plugin/theme info.
Merges [30944] to the 4.1 branch.
See #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30948
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:24:23 +00:00
John Blackbourn
b07eaf34ef
Twenty Fifteen: hide search input cancel button.
...
Merges [30945] to the 4.1 branch.
Fixes #30728 .
Built from https://develop.svn.wordpress.org/branches/4.1@30947
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:20:23 +00:00
John Blackbourn
7486afd1f0
Add braces around a Docblock in an if statement, although not required by PHP, this is required by our coding standards for readability.
...
Introduced in 3.9 with r27365
Merges [30886] to the 4.1 branch.
See #25905
Built from https://develop.svn.wordpress.org/branches/4.1@30943
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:37:22 +00:00
John Blackbourn
de9f42c952
Editor, new DFW: fix fading out for the right sidebar in IE.
...
Merges [30853] to the 4.1 branch.
Fixes #30714 .
Built from https://develop.svn.wordpress.org/branches/4.1@30942
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:31:21 +00:00
Sergey Biryukov
c69d37da64
Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.
...
Merges [30868] to the 4.1 branch.
props TomasM, hiwhatsup.
see #28938 .
Built from https://develop.svn.wordpress.org/branches/4.1@30941
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:24:22 +00:00
Sergey Biryukov
608ed06fc8
No need for wp_get_password_hint() to be prefixed as if it is private.
...
Merges [30855] to the 4.1 branch.
props nacin.
see #21243 .
Built from https://develop.svn.wordpress.org/branches/4.1@30940
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:19:22 +00:00
Sergey Biryukov
01d91c36b7
Twenty Fifteen: fallback hex color for no-comments text should come first.
...
Merges [30910] to the 4.1 branch.
props iamtakashi.
see #30730 .
Built from https://develop.svn.wordpress.org/branches/4.1@30939
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:09:22 +00:00
Sergey Biryukov
264ac59431
Twenty Fifteen: update scroll functionality to make sure child menu items are always reachable.
...
Merges [30838] to the 4.1 branch.
props iamtakashi.
see #30674 .
Built from https://develop.svn.wordpress.org/branches/4.1@30938
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:08:23 +00:00
Sergey Biryukov
013133fe99
Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor.
...
Merges [30836] to the 4.1 branch.
props azaozz.
see #30697 .
Built from https://develop.svn.wordpress.org/branches/4.1@30937
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:06:22 +00:00
Sergey Biryukov
7de0d9b820
Merge Twenty Fifteen commits [30834], [30845] to the 4.1 branch.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30936
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:02:43 +00:00
Sergey Biryukov
49e9049b41
Merge Twenty Fifteen commits [30828], [30833], [30869] to the 4.1 branch.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30935
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:02:22 +00:00
Andrew Nacin
d41a0696dc
Fix MEjs styles for screen reader text and overflow on the volume slider.
...
Merges [30907] to the 4.1 branch.
props obenland.
see #30281 .
Built from https://develop.svn.wordpress.org/branches/4.1@30934
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:41:22 +00:00
Andrew Nacin
911874c761
Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
...
Merges [30932] to the 4.1 branch.
props iamtakashi.
see #30733 .
Built from https://develop.svn.wordpress.org/branches/4.1@30933
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:39:22 +00:00
Andrew Nacin
84b9ec9070
Customizer: Add `_wp_attachment_is_custom_background` meta to uploaded background images.
...
Merges [30885] to the 4.1 branch.
props ocean90.
fixes #30707 .
Built from https://develop.svn.wordpress.org/branches/4.1@30931
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:29:22 +00:00
Andrew Nacin
2b12434ad9
Last about page string. Merges [30929] to the 4.1 branch.
...
props celloexpressions.
fixes #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30930
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:28:24 +00:00
John Blackbourn
0e79ad1966
4.1 RC2
...
Built from https://develop.svn.wordpress.org/branches/4.1@30928
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:20:22 +00:00
John Blackbourn
2ca8a826ea
Twenty Fifteen: Don't save unfiltered CSS in a setting.
...
Introduce `twentyfifteen_get_color_scheme_css( $colors )` which will be used for Underscore/Backbone and the PHP side. Let `twentyfifteen_color_scheme_css()` handle the color calculation on PHP side.
Merges [30893] to the 4.1 branch.
Fixes #30409 .
Props ocean90
Built from https://develop.svn.wordpress.org/branches/4.1@30927
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:19:23 +00:00
John Blackbourn
ca16a486ec
Twenty Fifteen: Remove various unnecessary `esc_html()` calls and replace various unnecessary `esc_html_x()` calls with `_x()`.
...
Merges [30899], [30901], and [30905] into 4.1.
Props ocean90
Fixes #30724
Built from https://develop.svn.wordpress.org/branches/4.1@30926
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:52:21 +00:00
John Blackbourn
395e007a29
Twenty Fifteen: Remove `esc_html()` from blog description.
...
The blog description gets esc_html()'d *into* the DB. It's also escaped because the filter for `get_bloginfo()` is set to 'display'.
Merges [30897] to the 4.1 branch.
see #30724 .
Built from https://develop.svn.wordpress.org/branches/4.1@30925
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:34:22 +00:00
John Blackbourn
1a427602c5
Twenty Fifteen: Don't escape translated strings.
...
Replace every unnecessary instance of `esc_html__()` and `esc_html_e()` with just `__()` and `_e()`.
Merges [30896] to the 4.1 branch.
see #30724 .
Built from https://develop.svn.wordpress.org/branches/4.1@30924
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:33:22 +00:00
John Blackbourn
aea153bb20
Customizer: Export Preview instance to `wp.customize.preview`.
...
Merges [30891] to the 4.1 branch.
see #30409 , #30726 .
Built from https://develop.svn.wordpress.org/branches/4.1@30923
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:30:23 +00:00
John Blackbourn
9d8bc7aa6f
Make the DFW paragraph on the About page narrower to mitigate an orphan in Firefox.
...
Merges [30921] to the 4.1 branch.
See #30435
Props melchoyce
Built from https://develop.svn.wordpress.org/branches/4.1@30922
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:03:23 +00:00
John Blackbourn
1b4e81a614
Background Updates: Pass back whether Group Writable support is being leveraged for an update to the WordPress.org API.
...
Merges [30860] to the 4.1 branch.
See #30245
Built from https://develop.svn.wordpress.org/branches/4.1@30920
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:54:23 +00:00