WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22208, comment 2


Ignore:
Timestamp:
03/29/13 19:17:51 (13 months ago)
Author:
Jesper800
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22208, comment 2

    initial v1  
    1 I've added a patch that checks whether the fields parameter is set to either '''ids''' or '''id=>parent''', in which case it returns the result from get_posts. Please note that if this is the case, the $output parameter will have no effect. 
     1I've added a patch that checks whether the fields parameter is set to either '''ids''' or '''id=>parent''', in which case it returns the result from get_posts. Please note that if this is the case, the $output parameter will have no effect. This is something to consider, as it does make the functionality a bit confusing.