mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-05 21:09:40 +00:00
As an extra level of sanity checking, the term ID should be cast as an int in `map_meta_cap()`. Merge of [39464] to the 4.7 branch. Props johnbillion, nacin, dd32, pento. See #35614. Fixes #39012. Built from https://develop.svn.wordpress.org/branches/4.7@39465 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39405 1a063a9b-81f0-0310-95a4-ce76da25c4cd