[wp-trac] [WordPress Trac] #33155: category_description() wraps return value in '<p>' tags

WordPress Trac noreply at wordpress.org
Thu Jul 30 12:04:31 UTC 2015


#33155: category_description() wraps return value in '<p>' tags
--------------------------+------------------------------
 Reporter:  Rob Walker    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.2.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by umesh.nevase):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hi Rob,

 This is not a bug.

 You can remove 'wpautop' function from 'term_description' filter.
 remove_filter('term_description', 'wpautop');

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33155#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list