Dominik Schilling
c988d1e5ac
External Libraries: Update jQuery to 1.12.4.
...
Release post: https://blog.jquery.com/2016/05/20/jquery-1-12-4-and-2-2-4-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.3...1.12.4
Merge of [37433] and [37526] to the 4.5 branch.
Fixes #36533 .
Built from https://develop.svn.wordpress.org/branches/4.5@37528
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-23 09:34:30 +00:00
Dominik Schilling
4a57c6bace
Media: Remove medium_large size from `$whitelist_options['media']` in `options.php`.
...
The `medium_large_size_w` and `medium_large_size_h` options were added to the
`$whitelist_options['media']` in options.php in [35479], which causes both options
to be set to `0` when the media settings are changed. When this occurs, the
medium_large image size will no longer be created when an image is uploaded.
Since these options aren't meant to be updated via the settings UI, they can be
safely removed from the whitelist.
Merge of [37435] to the 4.5 branch.
Props joemcgill.
Fixes #36531 .
Built from https://develop.svn.wordpress.org/branches/4.5@37457
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:40:29 +00:00
Dominik Schilling
3d0c06e1f6
Embeds: Change attachment metadata condition to prevent a warning in the embeds template.
...
Merge of [37452] to the 4.5 branch.
Props swissspidy.
See #35237 .
Fixes #36838 .
Built from https://develop.svn.wordpress.org/branches/4.5@37455
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:38:32 +00:00
Dominik Schilling
677c67fa2f
TinyMCE: prevent showing the placeholder URL when adding a link and clicking more than once on the Insert Link button.
...
Merge of [37301] to the 4.5 branch.
Props iseulde.
Fixes #36637 .
Built from https://develop.svn.wordpress.org/branches/4.5@37454
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:36:34 +00:00
Dominik Schilling
53acd1636d
Customize: Handle filtering `sidebars_widgets` when the underlying option is non-existent.
...
Fixes warning related to a non-array argument for `array_merge()` in `WP_Customize_Widgets::customize_register()`.
Merge of [37352] to the 4.5 branch.
See [37166].
See #36389 .
Fixes #36660 .
Built from https://develop.svn.wordpress.org/branches/4.5@37453
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:34:30 +00:00
Dominik Schilling
e16574e010
Bootstrap/Load: Silence `ini_set()` in `wp_debug_mode()`.
...
Merge of [37448] to the 4.5 branch.
Props SergeyBiryukov.
Fixes #36708 .
Built from https://develop.svn.wordpress.org/branches/4.5@37451
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:31:29 +00:00
Dominik Schilling
946b2cc8a2
Customize: Remove use of reserved word `default` in Underscore template which breaks IE8.
...
Fixes regression introduced in [36769].
Merge of [37417] to the 4.5 branch.
Props adamsilverstein.
Fixes #36793 .
Built from https://develop.svn.wordpress.org/branches/4.5@37450
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 20:29:30 +00:00
Aaron Jorbin
5d60412106
Correct usage of Covers for Tests_Update_Comment_Count_Now
...
When @covers is used with a plain alphanumeric string, PHPUnit assumes that it is covering a class. If there is no class, it fails and exits rather than continuing to generate coverage. To cover a global function, the name must start with `::`. See https://phpunit.de/manual/5.3/en/appendixes.annotations.html#appendixes.annotations.covers
See #35060 , #36867
Built from https://develop.svn.wordpress.org/branches/4.5@37445
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 17:52:30 +00:00
Dion Hulse
d7d01a4a5e
Update Akismet external to 3.1.11 in branches/4.5.
...
See #36850
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-17 00:51:26 +00:00
Dominik Schilling
2429d91496
The 4.5 branch is now 4.5.3-alpha.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37420
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-12 11:54:30 +00:00
Dominik Schilling
ee28ddbf8f
Bump 4.5 branch to 4.5.2.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37384
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-06 18:11:28 +00:00
Nikolay Bachiyski
bb244816c7
External Libraries: Update plupload from upstream
...
Built from https://develop.svn.wordpress.org/branches/4.5@37382
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-06 18:01:28 +00:00
Dominik Schilling
a9a70e1bfb
External Libraries: Update MediaElement.js from upstream.
...
Merge of [37370] to the 4.5 branch.
Built from https://develop.svn.wordpress.org/branches/4.5@37371
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-06 17:52:29 +00:00
Helen Hou-Sandí
d7f37d8bc0
The 4.5 branch is now 4.5.2-alpha.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37312
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-26 20:25:28 +00:00
Pascal Birchler
31d8e7d909
Bump 4.5 branch to version 4.5.1.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37310
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-26 17:52:32 +00:00
Gary Pendergast
998a0152f4
Post 4.5.1-RC2 version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37295
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-22 05:57:27 +00:00
Gary Pendergast
20d537e973
4.5.1-RC2
...
Built from https://develop.svn.wordpress.org/branches/4.5@37294
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-22 05:52:27 +00:00
Gary Pendergast
59123b5b24
Database: Suppress connection error messages when `WP_DEBUG` isn't enabled.
...
This is a partial revert of [35860], which has been causing un-catchable warnings to be generated on some server configurations.
Merge of [37292] to the 4.5 branch.
Fixes #36629 .
See #21870 .
Built from https://develop.svn.wordpress.org/branches/4.5@37293
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-22 05:24:29 +00:00
Andrew Ozz
c84cda9fd0
Post 4.5.1-RC version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37291
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-22 01:26:28 +00:00
Andrew Ozz
44e684419b
4.5.1-RC
...
Built from https://develop.svn.wordpress.org/branches/4.5@37290
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-22 01:09:28 +00:00
Dominik Schilling
9bfc7ded12
Media: Remove an extra quote when sending a link of a media file to the editor.
...
Introduced in [37035].
Merge of [37288] to the 4.5 branch.
Props joemcgill, swissspidy, boonebgorges.
Fixes #36578 .
Built from https://develop.svn.wordpress.org/branches/4.5@37289
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-21 21:34:30 +00:00
Dominik Schilling
3ea969bb66
Media: Don't cache the results of `wp_mkdir_p()` in a persistent cache.
...
To improve the performance of `wp_upload_dir()` the result of `wp_mkdir_p()` was stored in a persistent cache, introduced in [36565]. But this becomes an issue when WordPress is scaled horizontally. You may end up caching a value for a server where the directory doesn't exist which will prevent further uploads on other servers because of the persistent cache.
The fix is to use a non-persistent cache.
Merge of [37285] to the 4.5 branch.
Props azaozz, ocean90.
See #34359 .
Fixes #36621 .
Built from https://develop.svn.wordpress.org/branches/4.5@37286
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-21 20:18:28 +00:00
John Blackbourn
ca63f2f7bc
Feeds: Revert [36230] which removed the `rss-http` feed content type. Removing this means that any feeds which are using this feed content type are now being served as `application/octet-stream` instead of `text/xml`.
...
See #36620
Merges [37282] to the 4.5 branch.
Built from https://develop.svn.wordpress.org/branches/4.5@37284
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-21 19:28:28 +00:00
Dominik Schilling
02f7ebf6bd
Update `svn:mergeinfo` for [37274].
...
Built from https://develop.svn.wordpress.org/branches/4.5@37275
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-21 09:45:28 +00:00
Dominik Schilling
9f63726656
Rewrite Rules: After [36953], correctly replace existing rules on IIS when updating them.
...
Merge of [37273] to the 4.5 branch.
Props WiZZarD_.
Fixes #36506 .
Built from https://develop.svn.wordpress.org/branches/4.5@37274
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-21 09:37:29 +00:00
Gary Pendergast
58ef0cfe87
Emoji: The diversity support test was incorrectly passing on all browsers.
...
[37028] missed some logic to capture the base emoji skin tone, to compare to the modified emoji skin tone. This caused all browsers to report that they supported skin tone modifiers, regardless of whether they actually did.
Merge of [37256] to the 4.5 branch.
Fixes #36604 .
Built from https://develop.svn.wordpress.org/branches/4.5@37257
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-20 14:08:30 +00:00
Andrew Ozz
8a1f083851
TinyMCE:
...
- Update to 4.3.10, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt .
- Backport fix for typing the Euro sign on Windows:
5462e3c1dd
.
- Backport copy/paste typo fix for the textcolor plugin: 1fc5a733e9
.
Merges [37242] and [37251] to the 4.5 branch.
Fixes #36545 for 4.5.
Built from https://develop.svn.wordpress.org/branches/4.5@37253
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-19 23:24:28 +00:00
Dominik Schilling
62ba7f4052
Themes: Revert [36112]
...
Adding the `singular` class per default to the list of body classes is breaking the layout of Twenty Eleven and other themes. Twenty Eleven adds the `singular` class only to single pages if the page doesn't use specific page templates.
Merge of [37249] to the 4.5 branch.
Props flixos90, swissspidy.
Fixes #36510 .
Built from https://develop.svn.wordpress.org/branches/4.5@37250
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-19 21:27:28 +00:00
Aaron Jorbin
b363cf3170
Use `px` instead of `in` in device preview
...
Merges [37247] to the 4.5 branch
Props celloexpressions
Fixes #36457
Built from https://develop.svn.wordpress.org/branches/4.5@37248
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-19 20:54:28 +00:00
Dominik Schilling
9141a73031
TinyMCE, inline link: Fix VoiceOver in Safari for search suggestions.
...
Merge of [37228] to the 4.5 branch.
Props afercia.
Fixes #36458 .
Built from https://develop.svn.wordpress.org/branches/4.5@37246
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-19 20:48:28 +00:00
Dominik Schilling
f0152dc74c
Media: Resolve fatal error on resize with ImageMagick < 6.4.6
...
Improper checking for 'Imagick::ALPHACHANNEL_UNDEFINED' and
'Imagick::ALPHACHANNEL_OPAQUE' caused fatal errors for some users
with Imagick when compiled against ImageMagick < 6.4.6, when these
constants were introduced. Fixes these compatibility checks.
Merge of [37192] to the 4.5 branch.
Props gblsm.
Fixes #36501 .
Built from https://develop.svn.wordpress.org/branches/4.5@37245
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-19 20:46:30 +00:00
Helen Hou-Sandí
a367bb8b59
Version strings typically should contain a revision number.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37187
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-13 01:40:30 +00:00
Helen Hou-Sandí
4851ef111c
The 4.5 branch is now 4.5.1-alpha.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37182
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-12 19:58:21 +00:00
Helen Hou-Sandí
d82e5908da
Branch 4.5.
...
Built from https://develop.svn.wordpress.org/branches/4.5@37180
git-svn-id: http://core.svn.wordpress.org/branches/4.5@37147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-12 17:34:09 +00:00
Mike Schroder
59d0cd77dd
WordPress 4.5
...
Built from https://develop.svn.wordpress.org/trunk@37179
git-svn-id: http://core.svn.wordpress.org/trunk@37146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-12 17:29:26 +00:00
Mike Schroder
b3030ca696
About Page: Add Final Video
...
Props siobhan, melchoyce, hugobaeta, rosso99.
Built from https://develop.svn.wordpress.org/trunk@37178
git-svn-id: http://core.svn.wordpress.org/trunk@37145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-12 17:25:28 +00:00
Mike Schroder
6763394e10
Post 4.5-RC3 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@37177
git-svn-id: http://core.svn.wordpress.org/trunk@37144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-11 19:13:26 +00:00
Mike Schroder
cbd085e290
4.5-RC3
...
Built from https://develop.svn.wordpress.org/trunk@37176
git-svn-id: http://core.svn.wordpress.org/trunk@37143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-11 18:31:27 +00:00
Dominik Schilling
74102fb128
About Page: Use `srcset` and the w.org CDN for images.
...
Also, flip the "Selective Refresh" and "Smart Image Resizing" section and remove script enqueues which are no longer used.
Props joemcgill, melchoyce, ocean90.
Fixes #36173 .
Built from https://develop.svn.wordpress.org/trunk@37175
git-svn-id: http://core.svn.wordpress.org/trunk@37142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-11 17:46:27 +00:00
Dominik Schilling
12599ea170
TinyMCE, inline link: Make styles for the autocomplete results available on front end.
...
Also, replace the generic `.alignright` class with a more specific class to avoid styling issues with themes which have padding/margin attached to `.alignright`.
Props azaozz, imath.
Fixes #36461 .
Built from https://develop.svn.wordpress.org/trunk@37174
git-svn-id: http://core.svn.wordpress.org/trunk@37141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-11 15:12:29 +00:00
Mike Schroder
a116d786a5
Post 4.5-RC2 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@37173
git-svn-id: http://core.svn.wordpress.org/trunk@37140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 05:16:27 +00:00
Mike Schroder
388cf29da4
4.5-RC2
...
Built from https://develop.svn.wordpress.org/trunk@37172
git-svn-id: http://core.svn.wordpress.org/trunk@37139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 04:21:27 +00:00
Jeremy Felt
4d9c9b9433
Ensure consistent dependency order when using `wp_add_inline_script()`
...
This disables the concatenation of remaining enqueued scripts once `wp_add_inline_script()` is invoked, which allows us to reliably print these scripts and their before/after inline scripts in the desired order.
Props gitlost, azaozz, swisspidy, ocean90.
Fixes #36392 .
Built from https://develop.svn.wordpress.org/trunk@37171
git-svn-id: http://core.svn.wordpress.org/trunk@37138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 03:33:26 +00:00
Jeremy Felt
a70a6c4bae
4.5 About Page, second round.
...
* Adjust text.
* Improve headings hierarchy.
* Add translation functions and translator comments throughout.
Props ocean90, afercia, ramiy, mikeschroder, mattfelten, helen.
See #36173 .
Built from https://develop.svn.wordpress.org/trunk@37170
git-svn-id: http://core.svn.wordpress.org/trunk@37137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 02:03:29 +00:00
Andrew Ozz
4e6b257fa3
4.5 About screen.
...
Props mikeschroder, melchoyce, ocean90, ryelle, jeremyfelt, Ipstenu, celloexpressions, DrewAPicture.
See #36173 .
Built from https://develop.svn.wordpress.org/trunk@37169
git-svn-id: http://core.svn.wordpress.org/trunk@37136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-09 06:23:26 +00:00
Helen Hou-Sandí
5d8b9805eb
Default theme bumps for 4.5.
...
* Twenty Eleven 2.4
* Twenty Twelve 2.0
* Twenty Thirteen 1.9
* Twenty Fourteen 1.7
* Twenty Fifteen 1.5
props davidakennedy, ocean90.
fixes #36354 .
Built from https://develop.svn.wordpress.org/trunk@37168
git-svn-id: http://core.svn.wordpress.org/trunk@37135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-08 21:22:28 +00:00
Andrew Ozz
c353544c47
Customizer: fix cropping of small images when setting header image, site icon or logo.
...
Props obenland.
Fixes #36412 .
Built from https://develop.svn.wordpress.org/trunk@37167
git-svn-id: http://core.svn.wordpress.org/trunk@37134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-08 01:23:29 +00:00
Dominik Schilling
9363b592e3
Customize: Harden assignment of Customizer settings transports for selective refreshable widgets
...
Theme support for `customize-selective-refresh-widgets` can be added _after_ the logic for registering the settings for incoming widgets that have been changed. This is due to themes adding the theme support in `after_setup_theme` which is also the action where `WP_Customize_Widgets::register_settings()` is called. If these both happen at priority 10, which one is called first depends on which one was added first. The other issue is that at the time that `WP_Customize_Widgets::register_settings()` is called at `after_setup_theme`, it is called before `widgets_init` and thus no widgets are yet registered. This means that any settings registered at this point will always have a `refresh` transport even if the theme supports `customize-selective-refresh-widgets`, since the `WP_Widget` instance is not visible yet to see if it supports selective refresh.
The fix: Defer `WP_Customize_Widgets::register_settings()` from `after_setup_theme` to `widgets_init` at priority 95 when the widget objects have all been registered. Also, ensure that the preview filter for `sidebars_widgets` is added before the sidebars are iterated for adding the controls.
Props westonruter.
Fixes #36389 .
Built from https://develop.svn.wordpress.org/trunk@37166
git-svn-id: http://core.svn.wordpress.org/trunk@37133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-07 20:59:29 +00:00
Boone Gorges
cfab9716e3
Use `__trashed` suffix rather than `-%trashed%` for trashed post slugs.
...
Percent signs are reserved characters in URIs. As such, it was impossible for
plugins to route requests to trashed posts, as happens in bbPress. The new
`__trashed` suffix should be sufficiently unique.
Also adds a test that demonstrates that the `__trashed` suffix can be
appended to slugs that contain the suffix somewhere other than the end of
the string.
Props netweb, ericlewis.
Fixes #11863 .
Built from https://develop.svn.wordpress.org/trunk@37165
git-svn-id: http://core.svn.wordpress.org/trunk@37132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-07 19:22:28 +00:00
Aaron Jorbin
1c1daa7ba4
External Libraries: Update jQuery to 1.12.3.
...
Sing it with me: jQuery fixed two issues, now you can get them with WP 4.5.
Release Post: http://blog.jquery.com/2016/04/05/jquery-1-12-3-and-2-2-3-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.2...1.12.3
Fixes #35380 .
Props ocean90.
Built from https://develop.svn.wordpress.org/trunk@37164
git-svn-id: http://core.svn.wordpress.org/trunk@37131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 22:45:27 +00:00