mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 17:44:25 +00:00
9d3a6394fb35d062497844a42548538155d3d2e1
get_terms() when multiple taxonomies are passed.
Previously, attempts to descend the family tree of each term were done using the first taxonomy in the `$taxonomies` array, with the result that terms not belonging to that taxonomy were not found and their children not properly parsed. We fix this bug by fetching each term's taxonomy with the SQL query, and then using that taxonomy to get the correct children for each term. Fixes #31118. git-svn-id: https://develop.svn.wordpress.org/trunk@31285 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%