[wp-trac] [WordPress Trac] #12826: AJAX trash posts
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 13 22:01:05 UTC 2010
#12826: AJAX trash posts
-------------------------+--------------------------------------------------
Reporter: meheranandk | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Trash | Version: 2.9
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Changes (by aaroncampbell):
* cc: aaron@… (added)
Comment:
What is the performance difference between:
{{{
current_element.parent().parent().parent().parent().children("th,td:not
(.undo-trash)").each(function(){
/*do something */
});
}}}
and
{{{
current_element.parents('tr').children("th,td:not(.undo-
trash)").each(function(){
/*do something */
});
}}}
I know the latter seems much more straight forward
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12826#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list