WordPress.org

Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #21827, comment 2


Ignore:
Timestamp:
09/07/12 08:32:09 (2 years ago)
Author:
TobiasBg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21827, comment 2

    v3 v4  
    11~~{{{wp_parse_id_list()}}} is already applied to the {{{'include'}}} parameter in {{{get_posts()}}}, after the patch it would be done twice...~~ 
    22 
    3 Never mind, it's only done to be able to count the number of posts. It's not actually changing the {{{'include'}}} parameter. 
     3~~Never mind, it's only done to be able to count the number of posts. It's not actually changing the {{{'include'}}} parameter.~~ 
     4 
     5Wrong again... The {{{'include'}}} parameter is being mapped to {{{'post__in'}}}, with {{{wp_parse_id_list()}}} applied, and then not used again. Thus, with the patch from above, {{{wp_parse_id_list()}}} would be applied twice here.