Line 1236 of cpt_onomy.php causes issues if someone adds a filter to ‘the_title’ elsewhere since you do not utilize the second argument.
The proper use of the filter is
$title = apply_filters('the_title', $title, $post->ID);. So anyone who uses both arguments will cause notices in WP_DEBUG for your filter.
- The topic ‘[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] the_title filter’ is closed to new replies.