Opened 17 years ago
Closed 17 years ago
#10007 closed defect (bug) (wontfix)
category_description() add <p> element
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | trivial | Version: | 2.8 |
| Component: | HTTP API | Keywords: | category_description, css, p |
| Focuses: | Cc: |
Description
echo category_description(); return <p>description</p> which is not the normal (codex) behavior and may cause css problem (<p id="descr">category_description()</p>)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Formatting is as such:
$filters = array('term_description'); foreach ( $filters as $filter ) { add_filter($filter, 'wptexturize'); add_filter($filter, 'convert_chars'); add_filter($filter, 'wpautop'); }Please update codex and/or wrap in a div.