WP warnings for custom taxonomies
-
WP is throwing some warnings in get_term_link() because it’s not finding the expected object attribute. The plugin code causing this is right after the sql query that fetches custom taxonomies:
get_term_link($term, $term->_taxonomy)
WP however expects
get_term_link($term, $term->taxonomy)
, which means that inside get_term_link the code doesn’t branch out as intended and returns an incomplete link.Just wondering if this is intentional or a bug?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP warnings for custom taxonomies’ is closed to new replies.