• At first: Thank you for the great Plugin!

    I found a Bug on the overview pages. If there is HTML and it is cutted in the overview, the whole term site will be not displayed correct. I solved the problem by Adding the following function:

    function kill_term_desc_html( $terms ){
    
       foreach ( $terms AS $key => $term ):
          $term->description = strip_tags( $term->description );
          $terms[ $key ] = $term;
       endforeach;
    
       return $terms;
    }

    add_filter( ‘get_terms’, ‘kill_term_desc_html’ );

    Would be nice if you would fix this bug in one of your next versions 😉

    https://ww.wp.xz.cn/plugins/rich-text-tags/

The topic ‘Bug on overview site’ is closed to new replies.