mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 20:49:59 +00:00
Only try to access `term_id` once `$parent_term` is known to be a `WP_Term`. Props dlh, earnjam. Fixes #44983. Built from https://develop.svn.wordpress.org/trunk@44965 git-svn-id: http://core.svn.wordpress.org/trunk@44796 1a063a9b-81f0-0310-95a4-ce76da25c4cd