mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 14:17:06 +00:00
824c50f8ae1786b041fc971dd3064b39423287a6
get_term_by().
Historically, it has been possible to call `get_term_by()` within a 'get_terms' filter callback. Since `get_term_by()` was refactored to use `get_terms()` internally [38677], callbacks of this nature have resulted in infinite loops. As a workaround, we introduce a 'suppress_filter' option to `get_terms()`, and use it when calling the function from within `get_term_by()`. Props ocean90. See #21760. git-svn-id: https://develop.svn.wordpress.org/trunk@40275 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%