mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 12:05:47 +00:00
As an extra level of sanity checking, the term ID should be cast as an int in `map_meta_cap()`. Props johnbillion, nacin, dd32, pento. See #35614. Fixes #39012. Built from https://develop.svn.wordpress.org/trunk@39464 git-svn-id: http://core.svn.wordpress.org/trunk@39404 1a063a9b-81f0-0310-95a4-ce76da25c4cd