audrasjb 172ba98d63 Grouped backports to the 5.6 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.6 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


Built from https://develop.svn.wordpress.org/branches/5.6@55781


git-svn-id: http://core.svn.wordpress.org/branches/5.6@55293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:42:08 +00:00
..