audrasjb 0420b92621 Media: Prevent CSRF setting attachment thumbnails.
Props martinkrcho, paulkevan, peterwilsoncc, xknown, peterwilsoncc.
Merges [55764] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55769


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:50:20 +00:00
..