[wp-trac] [WordPress Trac] #37316: Allow WP_Post to be filtered at instantiation

WordPress Trac noreply at wordpress.org
Fri Jul 8 17:06:00 UTC 2016


#37316: Allow WP_Post to be filtered at instantiation
-----------------------------+------------------------------
 Reporter:  jason_the_adams  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Query            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by jason_the_adams):

 Obviously this will need a test as well, and I'm still debating where the
 best place to put the filter is (as `get_post` doesn't always use
 `WP_Post::get_instance`), but I'm starting with a proof-of-concept.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37316#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list