audrasjb 4cb6ce1c75 Grouped backports to the 5.4 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.4 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


Built from https://develop.svn.wordpress.org/branches/5.4@55785


git-svn-id: http://core.svn.wordpress.org/branches/5.4@55297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:52:03 +00:00
..
2020-10-29 18:41:13 +00:00
2023-05-16 15:52:03 +00:00
2020-10-29 18:41:13 +00:00
2020-10-29 18:41:13 +00:00