[wp-trac] [WordPress Trac] #41038: Possible ambiguity with parameters for posts_request filter

WordPress Trac noreply at wordpress.org
Wed Jun 14 04:50:34 UTC 2017


#41038: Possible ambiguity with parameters for posts_request filter
--------------------------+-----------------------------
 Reporter:  dunar21       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.8
 Severity:  trivial       |  Resolution:  invalid
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------

Comment (by dunar21):

 Yes, thanks. It was another plugin that was attempting to also
 apply_filters for posts_request, but was only passing in the query and no
 instance of the WP_Query object because it was using $wpdb. Thanks for the
 reply and sorry to submit this prematurely, before investigating further.

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


More information about the wp-trac mailing list