[wp-trac] [WordPress Trac] #21276: Respect 'suppress_filters' arg in WP_Query->get_posts()

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 16 18:58:29 UTC 2012


#21276: Respect 'suppress_filters' arg in WP_Query->get_posts()
--------------------------+--------------------
 Reporter:  brandondove   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Query         |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by scribu):

 > After scanning through core, 'the_preview' filter is used when
 previewing a post. I've removed the suppress filters check for that
 filter.

 That doesn't sound like a good reason; if Core needs 'the_preview' filter,
 it shouldn't pass 'suppress_filters' => true, no?

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


More information about the wp-trac mailing list