[wp-trac] [WordPress Trac] #17935: function get_post( integer ) bypasses posts_* filters

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 29 20:14:02 UTC 2011


#17935: function get_post( integer ) bypasses posts_* filters
----------------------------+----------------------
 Reporter:  postpostmodern  |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Query           |     Version:  3.2
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |
----------------------------+----------------------

Comment (by scribu):

 Furthermore, adding those filters, without going through WP_Query would
 break a lot of plugins that expect WP_Query.

 If it did go through WP_Query, it would have a significant overhead, which
 isn't warranted and would still probably brake several plugins.

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


More information about the wp-trac mailing list