34214 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
28826f98e5 The 4.5 branch is now 4.5.3-alpha.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37420 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-12 11:53:57 +00:00
Dominik Schilling (ocean90)
fddae00857 Bump 4.5 branch to 4.5.2.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37384 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-06 18:10:27 +00:00
Nikolay Bachiyski
e11fb6ae50 External Libraries: Update plupload from upstream
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37382 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-06 18:00:41 +00:00
Dominik Schilling (ocean90)
f000a879ae External Libraries: Update MediaElement.js from upstream.
Merge of [37370] to the 4.5 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37371 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-06 17:51:49 +00:00
Helen Hou-Sandi
35d105e39e The 4.5 branch is now 4.5.2-alpha.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37312 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-26 20:24:13 +00:00
Pascal Birchler
585faf51f8 Bump 4.5 branch to version 4.5.1.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37310 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-26 17:51:22 +00:00
Gary Pendergast
2cf27754fd Post 4.5.1-RC2 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37295 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-22 05:56:54 +00:00
Gary Pendergast
e3090c0472 4.5.1-RC2
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37294 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-22 05:52:00 +00:00
Gary Pendergast
329664a70a 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.



git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37293 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-22 05:23:40 +00:00
Andrew Ozz
4797b0d56a Post 4.5.1-RC version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37291 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-22 01:25:48 +00:00
Andrew Ozz
cac3e01d25 4.5.1-RC
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37290 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-22 01:08:42 +00:00
Dominik Schilling (ocean90)
32b4f3ee2e 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37289 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 21:33:14 +00:00
Dominik Schilling (ocean90)
eadc8c153f 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37286 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 20:17:32 +00:00
John Blackbourn
20ed735d92 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.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37284 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 19:28:00 +00:00
Dominik Schilling (ocean90)
35c68c7376 Update svn:mergeinfo for [37274].
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37275 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 09:44:02 +00:00
Dominik Schilling (ocean90)
e91c3c7ddb 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37274 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 09:36:50 +00:00
Gary Pendergast
fe06f5a05d 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.



git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37257 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-20 14:07:33 +00:00
Andrew Ozz
519b615444 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37253 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-19 23:23:05 +00:00
Dominik Schilling (ocean90)
faf89dccd4 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37250 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-19 21:27:01 +00:00
Aaron Jorbin
d8d8a51c6c Use px instead of in in device preview
Merges [37247] to the 4.5 branch

Props celloexpressions
Fixes #36457


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37248 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-19 20:53:42 +00:00
Dominik Schilling (ocean90)
35d5010de0 TinyMCE, inline link: Fix VoiceOver in Safari for search suggestions.
Merge of [37228] to the 4.5 branch.

Props afercia.
Fixes #36458.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37246 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-19 20:47:36 +00:00
Dominik Schilling (ocean90)
15f43a732e 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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37245 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-19 20:45:35 +00:00
Helen Hou-Sandi
5043c2aaa8 Version strings typically should contain a revision number.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37187 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-13 01:39:39 +00:00
Aaron Jorbin
a885ccd6a6 Add npm-shrinkwrap.json to 4.5
By shrinkwraping our dependencies, the same versions of everything will be installed no matter what rules the dependency package.json has specificed.

See #30787.
Fixes #36498.



git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37186 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-13 01:35:24 +00:00
Helen Hou-Sandi
f037856d84 The 4.5 branch is now 4.5.1-alpha.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37182 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 19:55:22 +00:00
Helen Hou-Sandi
f99e80da10 Branch 4.5.
git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37180 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 17:33:37 +00:00
Mike Schroder
cc5dc7f8d1 WordPress 4.5
git-svn-id: https://develop.svn.wordpress.org/trunk@37179 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 17:28:55 +00:00
Mike Schroder
80fc954dd2 About Page: Add Final Video
Props siobhan, melchoyce, hugobaeta, rosso99.

git-svn-id: https://develop.svn.wordpress.org/trunk@37178 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-12 17:24:37 +00:00
Mike Schroder
d90c3a9f1e Post 4.5-RC3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@37177 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-11 19:12:39 +00:00
Mike Schroder
4de5a113a0 4.5-RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@37176 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-11 18:30:45 +00:00
Dominik Schilling (ocean90)
6008eca766 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37175 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-11 17:45:17 +00:00
Dominik Schilling (ocean90)
303ecbe36a 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37174 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-11 15:11:32 +00:00
Mike Schroder
c5f5a505be Post 4.5-RC2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@37173 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-10 05:15:50 +00:00
Mike Schroder
ee135f2093 4.5-RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@37172 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-10 04:20:26 +00:00
Jeremy Felt
f98744ec86 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37171 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-10 03:32:47 +00:00
Jeremy Felt
fc1f8db19a 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37170 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-10 02:02:04 +00:00
Andrew Ozz
8cb08d7ac4 4.5 About screen.
Props mikeschroder, melchoyce, ocean90, ryelle, jeremyfelt, Ipstenu, celloexpressions, DrewAPicture.
See #36173.

git-svn-id: https://develop.svn.wordpress.org/trunk@37169 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-09 06:22:18 +00:00
Helen Hou-Sandi
575afdc9f8 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37168 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-08 21:21:50 +00:00
Andrew Ozz
db17c15778 Customizer: fix cropping of small images when setting header image, site icon or logo.
Props obenland.
Fixes #36412.

git-svn-id: https://develop.svn.wordpress.org/trunk@37167 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-08 01:22:06 +00:00
Dominik Schilling (ocean90)
ca5db69c31 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37166 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-07 20:58:56 +00:00
boonebgorges
f1c3ec9010 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37165 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-07 19:21:02 +00:00
Aaron Jorbin
1a27ba9fd7 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@37164 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-06 22:44:29 +00:00
Mark Jaquith
9deec9e723 REST API: Deliver parameters unadulterated instead of slashed.
We goofed, and parameters accessed through the REST API's methods
were slashed (inconsistently, even). This unslashes the data, so
you get the un-messed-with data that was sent.

Props joehoyle.
Fixes #36419.

git-svn-id: https://develop.svn.wordpress.org/trunk@37163 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-06 21:01:11 +00:00
Dominik Schilling (ocean90)
28699803ee I18N: On the Updates screen simplify plugin's version details link.
Replace the use of a `.screen-reader-text` element with an `aria-label` attribute to make the text easier to translate.

Props dimadin, ocean90.
See #35001.
Fixes #36410.

git-svn-id: https://develop.svn.wordpress.org/trunk@37162 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-06 12:51:57 +00:00
Aaron Jorbin
2b5f172b57 Make Moderate Comment Screen Great Again by showing links
You know what's wrong with the Moderate Comment Screen? It doesn't win anymore. Well, I'm going make the Moderate Comment screen win. It's going to win by showing the urls that are linked to from every anchor. It's going to win by having those urls be a lighter shade of gray than the surrounding text. Spammy links aren't going to be able to hide in commas. Spammy links aren't going to win.  The Moderate Comment Screen is going to win and we are going to make the Moderate Comment Screen Great Again.

Fixes #36380
Props rachelbaker, mikeschroder, adamsilverstein, boonebgorges, melchoyce, ocean90, jorbin, pento


git-svn-id: https://develop.svn.wordpress.org/trunk@37161 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-06 00:34:23 +00:00
Andrea Fercia
68a8211a55 Accessibility: improvements for the Editor wpLink modal form fields.
Adds `aria-describedby` attributes to the modal form fields after it
was partly restored in [37154].

Fixes #33301.

git-svn-id: https://develop.svn.wordpress.org/trunk@37160 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-05 22:23:23 +00:00
Dominik Schilling (ocean90)
d9212519fa Editor: Remove trailing space from a help text string.
Props dimadin.
Fixes #36407.

git-svn-id: https://develop.svn.wordpress.org/trunk@37159 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-05 10:53:15 +00:00
John Blackbourn
2d95d4187d Comments: Wrap the formatted comment text on the comment moderation screen in comment_text() so paragraphs and texturisation are applied.
Fixes #34133


git-svn-id: https://develop.svn.wordpress.org/trunk@37158 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-04 23:32:15 +00:00
John Blackbourn
6c79b715bd Role/Capability: Add create_sites and delete_sites to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests.
See #32394, #36413


git-svn-id: https://develop.svn.wordpress.org/trunk@37157 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-04 22:29:55 +00:00
Dominik Schilling (ocean90)
7ef7a98dd1 Plugins: Use correct placeholder for the number of reviews.
`number_format_i18n()` returns a string, not an integer.

See #35111.
Fixes #36395.

git-svn-id: https://develop.svn.wordpress.org/trunk@37156 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-02 11:16:32 +00:00