WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
03/29/13 19:18:47 (13 months ago)
Author:
Jesper800
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22208, comment 2

    v1 v2  
    11I'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. 
     2 
     3Another option would be to ignore the fields parameter for this function and add documentation for that, but it does break functionality currently.