Sergey Biryukov
894cec5697
Privacy: Add wp_privacy_personal_data_export_file_created
filter.
...
This runs immediately after the data export file has been successfully created, allowing plugins to introduce some workflow customizations. For example, a plugin could password-protect the export file, for peace of mind, even though the CSPRN in the filename makes brute force attacks nearly impossible.
Props iandunn.
Merges [43047] to the 4.9 branch.
See #43546 .
Built from https://develop.svn.wordpress.org/branches/4.9@43096
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 02:35:27 +00:00
Sergey Biryukov
06dd3449e9
Privacy: Add cron to delete expired export files to protect privacy.
...
The primary means of protecting the files is the CSPRN appended to the filename, but there is no reason to keep the files after the data subject has downloaded them, so deleting them provides an additional layer of protection. Previously this was done from `wp_privacy_generate_personal_data_export_file()`, but that does not guarantee that it will be run regularly, and on smaller sites that could result in export files being exposed for much longer than necessary.
`wp_privacy_delete_old_export_files()` was moved to a front end file, so that it can be called from `cron.php`.
This introduces the `wp_privacy_export_expiration` filter, which allows plugins to customize how long the exports are kept before being deleted.
`index.html` was added to the `$exclusions` parameter of `list_files()` to make sure that it isn't deleted. If it were, then poorly-configured servers would allow the directory to be traversed, exposing all of the exported files.
Props iandunn, desrosj.
Merges [43046] to the 4.9 branch.
See #43546 .
Built from https://develop.svn.wordpress.org/branches/4.9@43095
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 02:33:26 +00:00
Sergey Biryukov
7a7e45a530
Privacy: Use a CSPRNG in export filenames for more security.
...
`rand()` is deterministic and therefore offers much less protection in this context. `wp_generate_password()` is a convenient wrapper around `wp_rand()`, which uses `random_int()` to generate cryptographically-secure psuedorandom numbers.
Props iandunn.
Merges [43045] to the 4.9 branch.
See #43546 .
Built from https://develop.svn.wordpress.org/branches/4.9@43094
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 02:19:25 +00:00
Sergey Biryukov
c3c9eaf45e
Privacy: fix unit tests after [43012].
...
Props iandunn.
Merges [43015] to the 4.9 branch.
See #43546 .
Built from https://develop.svn.wordpress.org/branches/4.9@43093
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 02:17:25 +00:00
Sergey Biryukov
e5c53b9bbd
Privacy: add means to export personal data by username or email address. Generate a zipped export file containing all data. First run.
...
Props allendav.
Merges [43012] and [43089] to the 4.9 branch.
See #43546 .
Built from https://develop.svn.wordpress.org/branches/4.9@43092
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 02:16:25 +00:00
Sergey Biryukov
d4be2db521
Privacy: make the emails in export and erasure list-tables clickable.
...
Props birgire.
Merges [43057] to the 4.9 branch.
See #43911 .
Built from https://develop.svn.wordpress.org/branches/4.9@43086
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 01:08:25 +00:00
Sergey Biryukov
14d25f6094
Privacy: update and enhance the method to confirm user requests by email. Introduce WP_User_Request to hold all request vars similarly to WP_Post.
...
Props mikejolley, desrosj.
Merges [43011] and [43014] to the 4.9 branch.
See #43443 .
Built from https://develop.svn.wordpress.org/branches/4.9@43084
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 01:04:26 +00:00
Sergey Biryukov
e5b5b15b88
Privacy: update the method to confirm user requests by email. Use a single CPT to store the requests and to allow logging/audit trail.
...
Props mikejolley.
Merges [43008] to the 4.9 branch.
See #43443 .
Built from https://develop.svn.wordpress.org/branches/4.9@43083
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 01:01:25 +00:00
Sergey Biryukov
b433465f15
Privacy: add helper function for anonymizing data in a standardized way.
...
Props jesperher, allendav, iandunn, birgire, azaozz, joemcgill.
Merges [42971] and [43081] to the 4.9 branch.
Fixes #43545 .
Built from https://develop.svn.wordpress.org/branches/4.9@43082
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:49:26 +00:00
Sergey Biryukov
bcb3a839d1
Privacy: add functionality to anonymize commenters.
...
Props xkon, fclaussen, allendav, birgire, azaozz.
Merges [42994] to the 4.9 branch.
See #43442 .
Built from https://develop.svn.wordpress.org/branches/4.9@43080
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:21:25 +00:00
Sergey Biryukov
257be25506
Privacy: docs fixes and improvements for wp_comments_personal_data_exporter()
.
...
Props desrosj.
Merges [43058] to the 4.9 branch.
See #43440 .
Built from https://develop.svn.wordpress.org/branches/4.9@43079
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:18:26 +00:00
Sergey Biryukov
59593950dc
Privacy: Fix JSHint errors.
...
Introduced in [42986].
Props jorbin.
Merges [42989] to the 4.9 branch.
See #43440 .
Built from https://develop.svn.wordpress.org/branches/4.9@43078
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:15:25 +00:00
Sergey Biryukov
6a3018a7c9
Privacy: fix docs, formatting, white space, add tests for the personal data from comments exporter.
...
Props birgire.
Merges [42987] to the 4.9 branch.
See #43440 .
Built from https://develop.svn.wordpress.org/branches/4.9@43077
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:12:25 +00:00
Sergey Biryukov
2f6f41170a
Privacy: add functionality for exporting personal data from comments.
...
Props allendav, xkon.
Merges [42888] to the 4.9 branch.
See #43440 .
Built from https://develop.svn.wordpress.org/branches/4.9@43076
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:11:24 +00:00
Sergey Biryukov
82687eb7af
Privacy: add means to erase personal data by username or email address. First run.
...
Props allendav, coreymckrill, ericdaams, azaozz.
Merges [42986] to the 4.9 branch.
See #43637 , #43602 .
Built from https://develop.svn.wordpress.org/branches/4.9@43075
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-02 00:03:27 +00:00
Sergey Biryukov
309984de5f
Privacy: add support for exporting multiple pages of personal data.
...
Props allendav.
Merges [42889] to the 4.9 branch.
See #43438 .
Built from https://develop.svn.wordpress.org/branches/4.9@43074
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:58:25 +00:00
Sergey Biryukov
b1c0bffa78
Privacy: fix error message and list table sorting errors on the Export Personal Data and Remove Personal Data screens.
...
Props azaozz.
Merges [42977] to the 4.9 branch.
See #43481 .
Built from https://develop.svn.wordpress.org/branches/4.9@43073
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:49:26 +00:00
Sergey Biryukov
feb3e4caec
Tests: Update the REST API fixtures.
...
[42967] included new post statii, but didn't add them to the REST API tests.
Props pento.
Merges [42972] to the 4.9 branch.
See #43481 .
Built from https://develop.svn.wordpress.org/branches/4.9@43072
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:46:25 +00:00
Sergey Biryukov
88bc6a609e
Privacy: add new wp-admin screens for exporting and removing of personal data.
...
Props melchoyce, mikejolley, allendav, xkon.
Merges [42967] to the 4.9 branch.
See #43481 .
Built from https://develop.svn.wordpress.org/branches/4.9@43071
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:42:25 +00:00
Sergey Biryukov
e08597f8fa
Privacy: fixes and updates for the method to confirm user requests by email.
...
- Improve function and variable names.
- Allow extra data to be passed with the request.
- Make the option/user meta names more consistent.
- Adds an inline comment explaining use of hash.
Props mikejolley.
Merges [42964] to the 4.9 branch.
See #43443 .
Built from https://develop.svn.wordpress.org/branches/4.9@43070
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:37:27 +00:00
Sergey Biryukov
01e3c640fe
Add a method to confirm user requests by email. First run.
...
Props mikejolley.
Merges [42791] to the 4.9 branch.
See #43443 .
Built from https://develop.svn.wordpress.org/branches/4.9@43069
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 23:34:26 +00:00
Sergey Biryukov
85d1ba9726
TinyMCE: Update to 4.7.11.
...
Props iseulde.
Merges [43004] to the 4.9 branch.
Fixes #43862 .
Built from https://develop.svn.wordpress.org/branches/4.9@43068
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:31:24 +00:00
Sergey Biryukov
59a7fbddde
REST API: Add who=authors
as a query parameter for GET wp/v2/users
.
...
Any WordPress user who can `edit_posts` of a post type with `show_in_rest=true` can query for authors. This maps to current WordPress behavior where a WordPress user who can view the Manage Posts view for a post type can see any WordPress user assigned to a post (whether published or draft).
This implementation, over restricting `who=authors` to users with `list_users`, gives us future flexibility in displaying lists of posts. It still respects more restrictive permissions for `context=edit`.
Props danielbachhuber.
Merges [43001] to the 4.9 branch.
Fixes #42202 .
Built from https://develop.svn.wordpress.org/branches/4.9@43067
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:18:26 +00:00
Sergey Biryukov
dc3d22edd9
Login and Registration: Send nocache_headers()
on Multisite account activation pages.
...
Props herregroen.
Merges [43065] to the 4.9 branch.
Fixes #43917 .
Built from https://develop.svn.wordpress.org/branches/4.9@43066
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:10:26 +00:00
Sergey Biryukov
ee43146223
Privacy: add "Mine" filter for media similarly to posts and comments.
...
Props audrasjb.
Merged [43056], [43062], [43063] to the 4.9 branch.
Fixes #43820 .
Built from https://develop.svn.wordpress.org/branches/4.9@43064
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:04:28 +00:00
Sergey Biryukov
cf7288a673
Themes: Avoid a PHP 7.2 warning in get_theme_roots()
when $wp_theme_directories
is an uncountable value.
...
See [41174] for `wp_get_themes()` and `get_raw_theme_root()`.
Props burlingtonbytes, teddytime, lbenicio, desrosj.
Merges [43039] to the 4.9 branch.
Fixes #43374 . See #40109 .
Built from https://develop.svn.wordpress.org/branches/4.9@43040
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 04:55:26 +00:00
Sergey Biryukov
f04d84149f
REST API: Include viewable
attribute on Post Type resource for edit
context.
...
For the block editor to be able to expose the Preview button correctly, it needs to know the `is_post_type_viewable()` setting, this change adds it to the Post Type response.
Props danielbachhuber.
Merges [43007] to the 4.9 branch.
Fixes #43739 .
Built from https://develop.svn.wordpress.org/branches/4.9@43038
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 04:31:25 +00:00
Sergey Biryukov
9bee0589fb
General: Introduce a polyfill for is_iterable()
function added in PHP 7.1.
...
Props jrf, schlessera, desrosj.
Merges [43036] to the 4.9 branch.
See #43619 .
Built from https://develop.svn.wordpress.org/branches/4.9@43037
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 04:17:25 +00:00
Sergey Biryukov
408d8c63be
General: Introduce a polyfill for is_countable()
function added in PHP 7.3.
...
Props jrf, ayeshrajans, desrosj.
Merges [43034] to the 4.9 branch.
See #43583 .
Built from https://develop.svn.wordpress.org/branches/4.9@43035
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 03:47:24 +00:00
Sergey Biryukov
3408441e15
Help/About: Move "Get involved" link on Credits screen to the top of the page for better visibility.
...
Props bridgetwillard, desrosj.
Merges [43032] to the 4.9 branch.
See #23348 .
Built from https://develop.svn.wordpress.org/branches/4.9@43033
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 03:19:24 +00:00
Sergey Biryukov
57e36f1ed2
Login and Registration: Send nocache_headers()
on Multisite signup pages.
...
Props herregroen.
Merges [43030] to the 4.9 branch.
Fixes #43843 .
Built from https://develop.svn.wordpress.org/branches/4.9@43031
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-29 23:10:26 +00:00
Sergey Biryukov
e40df25f76
Plugins: Show the required PHP version in the plugin details view, if specified.
...
Props xkon.
Merges [42998] to the 4.9 branch.
Fixes #43650 .
Built from https://develop.svn.wordpress.org/branches/4.9@43029
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-29 22:51:25 +00:00
Sergey Biryukov
40bd08b50f
Themes: Introduce theme_templates
filter for page templates of all post types.
...
This complements the `theme_{$post_type}_templates` dynamic filter added in [38951].
Props desrosj.
Merges [43025] and [43027] to the 4.9 branch.
Fixes #43872 .
Built from https://develop.svn.wordpress.org/branches/4.9@43028
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-29 22:45:24 +00:00
Sergey Biryukov
13b6280373
Docs: Correct $id parameter type for old_slug_redirect_post_id filter.
...
Props dlh.
Merges [42722] to the 4.9 branch.
Fixes #43375 .
Built from https://develop.svn.wordpress.org/branches/4.9@43026
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-29 22:37:28 +00:00
Aaron Campbell
65a757621d
Bump 4.9 branch to version 4.9.5
...
Built from https://develop.svn.wordpress.org/branches/4.9@42933
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 20:17:40 +00:00
Dominik Schilling
760aa16ab8
Media: Update minified version of imgAreaSelect after [42874].
...
Adds imgAreaSelect to the uglify grunt process.
Merge of [42930] to the 4.9 branch.
Props adamsilverstein.
See #41242 .
Built from https://develop.svn.wordpress.org/branches/4.9@42932
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 19:51:37 +00:00
Dominik Schilling
7f5c437803
Template: Make sure the version string is correctly escaped for use in attributes.
...
Merge of [42893] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42917
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 16:05:39 +00:00
Dominik Schilling
8cd1a27463
HTTP: Don't treat localhost
as same host by default.
...
Merge of [42894] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42908
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 15:35:41 +00:00
Dominik Schilling
076fb0ff4d
Login: Use wp_safe_redirect()
when redirecting the login page if forced to use HTTPS.
...
Merge of [42892] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42895
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 15:22:42 +00:00
Sergey Biryukov
4c34006070
Post WordPress 4.9.5 RC 1 version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42885
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-28 01:39:38 +00:00
Sergey Biryukov
8d99bb5288
WordPress 4.9.5 RC 1.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42884
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-28 01:08:38 +00:00
Gary Pendergast
bac5694e88
Dashboard: Remove the "Try Gutenberg" callout.
...
As eager as we all are to see Gutenberg put before a wider audience, there are still a handful of issues that need to be fixed, which won't be done before the 4.9.5 release.
Reverts [42869].
See #41316 .
Built from https://develop.svn.wordpress.org/branches/4.9@42883
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-28 00:18:43 +00:00
Sergey Biryukov
2aed23cc97
Twenty Seventeen: Bump version and update the changelog.
...
Props audrasjb.
Merges [42881] to the 4.9 branch.
Fixes #43572 .
Built from https://develop.svn.wordpress.org/branches/4.9@42882
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-27 21:12:42 +00:00
Adam Silverstein
4650753c6b
Media: Fix image cropping on touch screen devices.
...
* In initCrop, handle touch events in addition to mouse events.
* In imageSelect jQuery plugin, accept event.which of 0 as provided by touch events.
Props yahil, alexgso, joemcgill.
Merges [42818] to the 4.9 branch.
Fixes #41242 .
Built from https://develop.svn.wordpress.org/branches/4.9@42874
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-24 20:26:42 +00:00
Gary Pendergast
61be857c95
Dashboard: Introduce a "Try Gutenberg" callout.
...
To encourage more people to try Gutenberg, this new Dashboard box allows site users to easily install and try out Gutenberg.
Props pento, melchoyce, joen, karmatosed, joemcgill, SergeyBiryukov, jorbin.
Fixes #41316 .
Built from https://develop.svn.wordpress.org/branches/4.9@42869
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-22 00:59:44 +00:00
Sergey Biryukov
c12c3a96b3
Post WordPress 4.9.5 Beta 1 version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42868
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-21 02:16:37 +00:00
Sergey Biryukov
ce8c932138
WordPress 4.9.5 Beta 1
...
Built from https://develop.svn.wordpress.org/branches/4.9@42867
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-21 02:08:40 +00:00
Sergey Biryukov
9d75986391
Media: On Media Settings screen, make the pairs of labels and inputs always stacked vertically, on both mobile and desktop screens.
...
Make `<br />` tags on the screen behave as line breaks again after [41836]. Add a missing fieldset + legend for better accessibility.
Props afercia, RavanH, obenland, garrett-eclipse.
Merges [42864] to the 4.9 branch.
Fixes #42724 . See #34539 .
Built from https://develop.svn.wordpress.org/branches/4.9@42865
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-20 22:49:39 +00:00
Sergey Biryukov
8fae65141a
Formatting: Avoid a PHP 7.2 warning in wp_kses_attr()
when one of $allowedtags
elements is an uncountable value.
...
Props andrei0x309, soulseekah, SergeyBiryukov.
Merges [42860] to the 4.9 branch.
Fixes #43312 .
Built from https://develop.svn.wordpress.org/branches/4.9@42861
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-20 21:37:41 +00:00
Sergey Biryukov
6d16a905b8
Twenty Seventeen: Underline links in comments.
...
Props jainnidhi, larrach, audrasjb.
Merges [42713] to the 4.9 branch.
Fixes #43317 .
Built from https://develop.svn.wordpress.org/branches/4.9@42859
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-20 21:19:41 +00:00
Dominik Schilling
04d41666dc
REST API JavaScript Client: Support an empty string for nonce
to disable sending the X-WP-Nonce header.
...
Passing a `nonce` argument with an empty string to `wp.api.init()` now does no longer fall back to `wpApiSettings.nonce`. This makes it possible to stop sending nonce headers, for example to a read-only endpoint on another site in a multisite install.
Merge of [42852] to the 4.9 branch.
Props adamsilverstein, FPCSJames, ocean90, swissspidy.
See #42948 , #43266 .
Built from https://develop.svn.wordpress.org/branches/4.9@42854
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 20:04:42 +00:00
Dominik Schilling
7faddf9e50
REST API JS Client: Extend custom nonce functionality to collections.
...
This brings the improved nonce handling from [41553] to collections to remove the direct `wpApiSettings.nonce` dependency.
Merge of [42851] to the 4.9 branch.
Props adamsilverstein, ocean90, swissspidy.
See #43265 .
Built from https://develop.svn.wordpress.org/branches/4.9@42853
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 20:00:40 +00:00
Dominik Schilling
baba344254
Customizer menus: correct oversized viewport after dragging menu items.
...
Fix an issue where the screen viewport resized to an oversized state on mobile devices after moving sub-menus.
Merge of [42817] to the 4.9 branch.
Props adamsilverstein, kwonye.
Fixes #36884 .
Built from https://develop.svn.wordpress.org/branches/4.9@42850
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 16:49:41 +00:00
Dominik Schilling
1410e91992
Comments: Remove unnecessary aria-required
attribute from comment_form()
, added with the function in [12810].
...
At the time, having both `required` and `aria-required` meant a wider range of support for browsers and assistive technology. Today, it's safe to use just `required`.
Merge of [42758] to the 4.9 branch.
Props lakenh, afercia, davidakennedy, henry.wright.
Fixes #39045 .
Built from https://develop.svn.wordpress.org/branches/4.9@42849
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 16:45:40 +00:00
Dominik Schilling
276dbdc296
Media: Grid view - correct placeholder positioning during uploads.
...
Preventing contextually created attachments from being added to the grid collection in Attachments.validator. Remove the previous filtering introduced in [41937] which caused the placement issue.
Merge of [42739-42740] to the 4.9 branch.
Props lancewillett, Junaidkbr, designsimply, joemcgill.
Fixes #42968 .
Built from https://develop.svn.wordpress.org/branches/4.9@42848
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 16:20:37 +00:00
Dominik Schilling
058176bc28
Readme: Update recommended PHP version to 7.2.
...
Merge of [42358] to the 4.9 branch.
Props otto42, johnbillion, rachelbaker, jorbin.
Fixes #42789 .
Built from https://develop.svn.wordpress.org/branches/4.9@42847
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 16:13:39 +00:00
Dominik Schilling
a3528374a8
Customizer: In menus, reset results when closing the 'add items' panel.
...
Trigger a keyup event when clearing the search field in response to closing the add item panel. The keyup event triggers a search and resets the results. Previously, the search field was cleared while the potentially blank search results were left in place making it impossible to select new menu items.
Merge of [42744] to the 4.9 branch.
Props Blair jersyer, aranwer104, afercia.
See #43333 .
Built from https://develop.svn.wordpress.org/branches/4.9@42846
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 15:10:42 +00:00
Dominik Schilling
5a4033d4c2
Multisite: Use a numbered placeholder in sprintf()
for the site URL.
...
Fixes missing site domain in the link and a PHP warning.
Merge of [42844] to the 4.9 branch.
Props Thomas Vitale, conner_bw.
See #41645 , #43568 .
Built from https://develop.svn.wordpress.org/branches/4.9@42845
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 15:07:43 +00:00
Joe McGill
f2bf3d8d66
Update unit test following r42839.
...
This updates the expected version number for Hello Dolly in `Tests_Ajax_Update_Plugin::test_update_plugin` following [42839].
See #43555 .
Merges [42841] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42842
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-17 21:00:40 +00:00
Joe McGill
17251ec2c1
Update Hello Dolly lyrics.
...
This updates the Hello Dolly plugin to remove lines which could be objectionable when shown in the admin out of context, and brings the lyrics more in line with Louis Armstrong's recording.
Props sebastienthivinfocom, birgire, audrasjb, joemcgill.
Fixes #43555 .
Merges [42839] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42840
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-17 20:27:40 +00:00
Joe McGill
744e834816
Revert max-width styles on caption shortcodes.
...
This is a partial revert of [41724], so image captions include an
inline `width` style instead of `max-width`.
This returns the caption shortcode to the pre-4.9.0 behavior, while
retaining the extra unit test coverage added in [41724].
Fixes #43123 . See #33981 .
Merges [42837] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42838
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-16 20:19:39 +00:00
John Blackbourn
9b7814a4a1
Security: Loosen the admin referrer policy header value to allow the referring host to be sent from the admin area in all cases.
...
This allows referrer-restricted content from third parties (such as images and fonts) to continue working in the admin area.
Props aranwer104, qcmiao
Fixes #43285
Merges [42830] to the 4.9 branch.
Built from https://develop.svn.wordpress.org/branches/4.9@42831
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-12 10:59:39 +00:00
Mike Schroder
7546fcc64a
Media: Correctly allow changing PDF thumbnail crop value.
...
Corrects logic that kept plugins from setting crop value of intermediate image sizes for rendered PDFs.
Adds test.
Props leemon, SergeyBiryukov, chetan200891, birgire.
Merges [42792] to the 4.9 branch.
Fixes #43226 .
Built from https://develop.svn.wordpress.org/branches/4.9@42813
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-09 03:21:40 +00:00
Sergey Biryukov
a91c3fbdc0
General: Replace Cheatin’ uh?
with friendlier error messages.
...
While intended as a playful error message, `Cheatin’ uh?` can be interpreted as insulting or accusatory in an already stressful situation. This replaces Cheatin’ with more meaningful error messages, depending on the error that occurs.
Props ElectricFeet, EricMeyer, karmatosed, dd32, BandonRandon, melchoyce, kristastevens for language; dmsnell for original patch; peterwilsoncc.
Merged [42648] and [42719] to the 4.9 branch.
Fixes #38332 .
Built from https://develop.svn.wordpress.org/branches/4.9@42811
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-09 00:15:42 +00:00
Sergey Biryukov
652bc5d967
XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings.
...
Props dd32.
Merges [42652] to the 4.9 branch.
Fixes #43216 .
Built from https://develop.svn.wordpress.org/branches/4.9@42806
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-08 19:56:40 +00:00
Sergey Biryukov
e0f0ee5de6
Users: Display partial names in the user listing tables.
...
This allows showing a name when only the first or last name is provided.
Props shital-patel, antipole.
Merges [42256] and [42257] to the 4.9 branch.
Fixes #42713 .
Built from https://develop.svn.wordpress.org/branches/4.9@42805
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-08 19:48:39 +00:00
Sergey Biryukov
08aa0f52f9
Filesystem API: Avoid an infinite loop in wp_mkdir_p()
when trying to determine the parent folder with open_basedir
restriction in effect.
...
Props soulseekah, 1265578519-1.
Merges [42801] to the 4.9 branch.
Fixes #43417 .
Built from https://develop.svn.wordpress.org/branches/4.9@42804
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-08 19:45:41 +00:00
Sergey Biryukov
7f190a310c
Customize: Correct closing tags in customize_themes_print_templates()
.
...
Props johnpgreen, nandorsky.
Merges [42711] to the 4.9 branch.
Fixes #43307 .
Built from https://develop.svn.wordpress.org/branches/4.9@42803
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-08 19:42:39 +00:00
Sergey Biryukov
d8da981665
Build/Test Tools: Update prefixed CSS properties in about.css
.
...
Firefox 52+ supports unprefixed `column-count` and `column-gap` properties.
Props netweb, afercia.
Merges [42687] to the 4.9 branch.
Fixes #43190 .
Built from https://develop.svn.wordpress.org/branches/4.9@42802
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-08 19:41:44 +00:00
Sergey Biryukov
8461e3a896
Media: Avoid a PHP warning in wp_calculate_image_srcset()
if a plugin returns a non-array value via wp_calculate_image_srcset
filter.
...
Props mrmadhat, codegrau.
Merges [42639] to the 4.9 branch.
Fixes #43201 .
Built from https://develop.svn.wordpress.org/branches/4.9@42669
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-07 23:49:41 +00:00
Sergey Biryukov
1f26b2945d
Post 4.9.4 version bump for 4.9 branch
...
Built from https://develop.svn.wordpress.org/branches/4.9@42668
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-07 23:19:42 +00:00
Dion Hulse
dd84717899
Bump the 4.9 branch to version 4.9.4.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42656
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-06 15:42:43 +00:00
Dion Hulse
662345c10f
Updates: Partially revert [42584], as this branch of code should always be run after a core update check.
...
This code branch is responsible for running all autoupdates, including plugins and themes - which should run regardless of if there's a core autoupdate available.
This revert does not revert the `$timeout` changes, as these should still use cached data if it's available.
Ideally this should be decoupled from the core update check to allow background updates to operate even when the core update check is disabled or running more often than twice daily.
Merges [42653] to the 4.9 branch.
Fixes #43103 , #43235 .
Built from https://develop.svn.wordpress.org/branches/4.9@42654
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-06 12:47:42 +00:00
Sergey Biryukov
2643287b2c
Bump the 4.9 branch to version 4.9.3.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42650
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-05 20:05:41 +00:00
Sergey Biryukov
8edf395b50
Post WordPress 4.9.3 RC 1 version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42629
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-01 00:56:41 +00:00
Sergey Biryukov
f709f56129
WordPress 4.9.3 RC 1.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42628
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-01 00:43:41 +00:00
Sergey Biryukov
b7df04afe4
Media: avoid page scrolling when opening the media modal.
...
Moves focus to a proper element within the media modal to avoid the underlying
page to scroll to the bottom. Removes the media modal `freeze` option.
Props andreiglingeanu, adamsilverstein.
Merges [42624] to the 4.9 branch.
Fixes #39859 .
Built from https://develop.svn.wordpress.org/branches/4.9@42627
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-31 23:55:41 +00:00
Sergey Biryukov
9201cc33cc
Code Editor: Add Ctrl/Cmd+F as aliases for persistent search for more intuitive behaviour.
...
Keep Alt+F as well for users who already expect that.
Props Desertsnowman.
Merges [42625] to the 4.9 branch.
See #42586 .
Built from https://develop.svn.wordpress.org/branches/4.9@42626
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-31 22:28:43 +00:00
Sergey Biryukov
dc9c4c4738
Customize: Ensure heartbeat keeps changeset locked when in branching mode.
...
Props dlh.
See #42024 .
Merges [42612] to the 4.9 branch.
Fixes #42658 .
Built from https://develop.svn.wordpress.org/branches/4.9@42623
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-30 15:24:41 +00:00
Sergey Biryukov
8d9813f6f6
Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize()
API.
...
In particular allows audio and video playlists to be added to the Text widget and previewed.
Props bpayton, westonruter.
See #40854 .
Merges [42613], [42617] to the 4.9 branch.
Fixes #42495 .
Built from https://develop.svn.wordpress.org/branches/4.9@42622
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-30 14:56:41 +00:00
Sergey Biryukov
a07ed5c926
Customize: Include nav menu item for Home custom link in search results for "Home".
...
Props audrasjb, westonruter.
Merges [42611] to the 4.9 branch.
Fixes #42991 .
Built from https://develop.svn.wordpress.org/branches/4.9@42621
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-30 14:46:40 +00:00
Sergey Biryukov
a271c43cdb
Customize: Ensure customize_autosaved
requests only use revision of logged-in user.
...
Props dlh, westonruter.
See #42433 , #39896 .
Merges [42615] to the 4.9 branch.
Fixes #42450 .
Built from https://develop.svn.wordpress.org/branches/4.9@42620
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-30 14:44:42 +00:00
Sergey Biryukov
d7291a5435
Post WordPress 4.9.3 Beta 1 version bump.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42609
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 23:47:40 +00:00
Sergey Biryukov
ab139de982
WordPress 4.9.3 Beta 1.
...
Built from https://develop.svn.wordpress.org/branches/4.9@42608
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 23:38:41 +00:00
Sergey Biryukov
3798ce6757
Role/Capability: Make install_languages
capability check less restrictive.
...
A user should still be able to have the capability, even when language packs cannot be automatically installed. The automatic installation part is separate from that now.
Props flixos90.
Merges [42606] to the 4.9 branch.
Fixes #42697 .
Built from https://develop.svn.wordpress.org/branches/4.9@42607
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 22:59:38 +00:00
Sergey Biryukov
2c492ab774
Upgrade/Install: In postMessage
events handler, check for message
object existence before checking its action
property.
...
Props manikmist09.
Merges [42604] to the 4.9 branch.
Fixes #43005 .
Built from https://develop.svn.wordpress.org/branches/4.9@42605
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 22:32:38 +00:00
Sergey Biryukov
ff4c656579
Emoji: Update Emoji browser support tests for Twemoji v2.4.0
...
Really, following [42598].
Props peterwilsoncc.
Merges [42602] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42603
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 22:05:39 +00:00
Sergey Biryukov
09a5894a92
Emoji: Update Emoji browser support tests for Twemoji v2.4.0
...
Replaces the fairy (male) browser support test with a woman in business suit levitating. While the things that make people different sometimes become less obvious this isn't always a problem, because the things that make you strange are the things that make you powerful.
Props peterwilsoncc.
Merges [42598] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42601
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:55:40 +00:00
Sergey Biryukov
519f479887
Media: Fix JSHint error after [42595].
...
Merges [42599] to the 4.9 branch.
See #42646 .
Built from https://develop.svn.wordpress.org/branches/4.9@42600
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:53:38 +00:00
Aaron Jorbin
f0fd88a7f5
Query: Fix warning on counting non countable
...
Merges [42581], [42585], and [42594] to the 4.9 branch.
Adds tests to continue the behavior for both null and strings. Skip the tests on PHP 5.2 as they require ReflectionMethod.
See https://wiki.php.net/rfc/counting_non_countables for information on the PHP change.
Fixes #42860 .
Props dd32 for test skipping and janak007 and ayeshrajans for initial patches.
Built from https://develop.svn.wordpress.org/branches/4.9@42597
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:44:42 +00:00
Sergey Biryukov
4224f6e214
Media: Store and reuse image cropper ratio settings if available, instead of overwriting.
...
Props adamsilverstein.
Merges [42595] to the 4.9 branch.
Fixes #42646 .
Built from https://develop.svn.wordpress.org/branches/4.9@42596
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:41:41 +00:00
Sergey Biryukov
f29bf78748
Tests: Update emoji base URL in Tests_Formatting_Emoji
after [42590].
...
Merges [42592] to the 4.9 branch.
See #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42593
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 17:31:38 +00:00
Sergey Biryukov
4d2fabc973
Emoji: Update emoji base URL in _print_emoji_detection_script()
and wp_staticize_emoji()
.
...
Merges [42590] to the 4.9 branch.
Props pento.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42591
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 16:54:38 +00:00
Gary Pendergast
3cc1a69391
Canonical URLs: Redirect to the correct URL when the post date changes.
...
When a post slug is changed, we store a copy of the old slug, so that we can redirect visitors visiting the old URL to the new URL.
In the same way, this stores a copy of the old date, when the post date changes, so we can redirect visitors to the new URL.
Merge of [42401,42587,42588] to the 4.9 branch.
Props nickmomrik, frank-klein.
Fixes #15397 .
Built from https://develop.svn.wordpress.org/branches/4.9@42589
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 07:12:39 +00:00
Dion Hulse
366e0ada72
Updates: Only trigger Background Update processes from within the core update check when a core autoupdate is on offer.
...
This change reduces the number of API calls which WordPress makes to api.wordpress.org during release windows.
Previously the background updates would run upon every core update transient refresh, however now they'll only run if there's an update available.
The change also increases the cache period for plugin & theme checks when running via the cron, from never-cache to 2 hours, which should hopefully reduce the number of needless API calls.
Merges [42584] to the 4.9 branch.
Fixes #43103 for 4.9.
Built from https://develop.svn.wordpress.org/branches/4.9@42586
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 04:32:41 +00:00
Sergey Biryukov
723d0f2669
Media: Introduce a custom error handler for MediaElement.js to display a download link if a FLV file cannot be rendered for any reason.
...
Props Clorith.
Merges [42582] to the 4.9 branch.
Fixes #42643 .
Built from https://develop.svn.wordpress.org/branches/4.9@42583
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 01:53:38 +00:00
Sergey Biryukov
5220bad266
Emoji: Update emoji regex for Twemoji to 2.4.0.
...
Build `src/wp-includes/formatting.php` following [42566].
Props peterwilsoncc.
Merges [42579] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42580
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 01:15:41 +00:00
Aaron Jorbin
4aee92bb1c
REST API: Add existing term_id to the error data object when attempting to create a duplicate term.
...
Merges [42350] into 4.9
Props shooper, coleh, rachelbaker.
Fixes #42597 . See #41370 .
Built from https://develop.svn.wordpress.org/branches/4.9@42578
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 20:22:39 +00:00
Andrew Ozz
bbb8a324c7
Merged revision(s) 42576 from trunk:
...
TinyMCE: backport bug fixes to `NotificationManager` and `WindowManager` from d1877933fa (diff-2e5c98d81ce2481aa1042b2320728b65)
and to `MultiRange` from 250675bb7b
.
Props peterwilsoncc, azaozz.
Fixes #42722 for 4.9.3, see #43012 .
Built from https://develop.svn.wordpress.org/branches/4.9@42577
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 19:41:42 +00:00
Andrew Ozz
bd00d61353
Merged revision 42574 from trunk:
...
Editor: when keeping the scroll position treat all shortcodes as preview-able. Otherwise in some cases the marker span can get stuck inside the shortcode and break the markup.
Props azaozz, lizkarkoski and othellobloke for testing.
Fixes #42908 for 4.9.3.
Built from https://develop.svn.wordpress.org/branches/4.9@42575
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 17:48:41 +00:00