mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 19:39:51 +01:00
Also make sure `type` is one of the three allowed types and remove unnecessary regex flags. See #30966. git-svn-id: https://develop.svn.wordpress.org/trunk@33344 602fd350-edb4-49c9-b593-d223f7449a82