Support » Plugin: CPT-onomies: Using Custom Post Types as Taxonomies » [Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] the_title filter

  • Resolved Travis Smith

    (@wpsmith)


    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.

    http://wordpress.org/extend/plugins/cpt-onomies/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] the_title filter’ is closed to new replies.