[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class

WordPress Trac noreply at wordpress.org
Mon Nov 12 23:21:02 UTC 2012


#21309: Introduce WP_Post class
----------------------------+-----------------------
 Reporter:  scribu          |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  3.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by miqrogroove):

 It looks like the intention is to now require the filter callback to run
 get_post() when $context != 'query'.  This is easily done.  I just wanted
 to point out the change in behavior and potential breakage for any filters
 that weren't designed this way.

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


More information about the wp-trac mailing list