[wp-trac] Re: [WordPress Trac] #3985: _get_cat_children is very
inefficient
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 3 23:50:03 GMT 2007
#3985: _get_cat_children is very inefficient
-------------------------------------------------------+--------------------
Reporter: ryan | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.2
Component: Administration | Version: 2.1.2
Severity: major | Resolution:
Keywords: 2nd-opnion category optimization hit-list |
-------------------------------------------------------+--------------------
Comment (by ryan):
Patch creates array of categories and their children and sticks it in the
options DB. Array is consulted to avoid descending through
_get_cat_children() when there are no children. Next pass will remove the
recursion.
--
Ticket URL: <http://trac.wordpress.org/ticket/3985#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list