audrasjb 72431d4111 Grouped backports to the 5.2 branch.
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.
- I18N: Introduce sanitization function for locale.
- Editor: Ensure block comments are of a valid form.

Merges [55760-55764] to the 5.2 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


Built from https://develop.svn.wordpress.org/branches/5.2@55789


git-svn-id: http://core.svn.wordpress.org/branches/5.2@55301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 16:00:52 +00:00
..
2021-09-08 21:22:54 +00:00
2017-09-21 16:35:48 +00:00
2018-06-28 02:35:44 +00:00