[wp-trac] [WordPress Trac] #9662: get_category_to_edit() wrongly
modified description field
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 28 01:15:59 GMT 2009
#9662: get_category_to_edit() wrongly modified description field
--------------------------+-------------------------------------------------
Reporter: hailin | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
within _cat_row(), I noticed that when the page starts in a subtree, the
first few subtree nodes had empty description field;
However, after the following call,
$qe_data = get_category_to_edit($category->term_id);
$category->description becomes '<br />', and that gets displayed.
This is annoying.
Also the liberal use of global var $category in many functions is
annoying, quickly one loses sight of which is which...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9662>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list