[36874] changed the `get_term()` call so that no `$taxonomy` parameter was passed, as 4.4 made the parameter optional. This change made it impossible to access a shared term that has not yet been splitr, since passing an ambiguous `$term_id` to `get_term()` results in an error. Restoring the `$taxonomy` parameter fixes the regression. Props alleynoah, dlh. Fixes #37205. Built from https://develop.svn.wordpress.org/trunk@38069 git-svn-id: http://core.svn.wordpress.org/trunk@38010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2.0 KiB
2.0 KiB