WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17935, comment 1


Ignore:
Timestamp:
06/29/11 20:12:27 (3 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17935, comment 1

    initial v1  
    11get_posts() uses WP_Query, which calls all the filters you mentioned. 
    22 
    3 get_post() fetches a single post, so it doesn't make any sense for it to have those filters. 
     3get_post() fetches a single post directly, so it doesn't make any sense for it to have those filters. 
    44 
    55You will have to find another way to achieve what you want.