[wp-trac] [WordPress Trac] #14958: Add a "get_post" filter to get_post()

WordPress Trac noreply at wordpress.org
Mon Dec 3 16:39:09 UTC 2012


#14958: Add a "get_post" filter to get_post()
-------------------------------------+-----------------------------
 Reporter:  mikeschinkel             |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Query                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+-----------------------------

Comment (by davidmosterd):

 +1

 As an alternative use WP_Query instead of the direct select query in
 WP_Post?
 I suppose it might be a performance issue, I don't know. But it would
 allow the use the filters and actions from WP_Query.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14958#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list