[wp-trac] [WordPress Trac] #23044: adjacent_image_link() needs optimization
WordPress Trac
noreply at wordpress.org
Mon Apr 29 18:27:24 UTC 2013
#23044: adjacent_image_link() needs optimization
-------------------------+------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Query | Version: 3.5
Severity: major | Resolution:
Keywords: |
-------------------------+------------------
Comment (by hardyy):
Added an optional argument in get_children() so that it returns numerical
array containing only IDs of elements. Easier to return than array of
objects.
Also makes it easier to search through in-built array functions.
in_array() is added to make sure loop don't skip in some cases.
If i have done any mistake, feel free to notify me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23044#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list