[wp-trac] [WordPress Trac] #42151: Create a filter to add information to query data saved when SAVEQUERIES is true

WordPress Trac noreply at wordpress.org
Mon Jul 15 04:01:12 UTC 2019


#42151: Create a filter to add information to query data saved when SAVEQUERIES is
true
-------------------------+-----------------------
 Reporter:  CrazyJaco    |       Owner:  pento
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.3
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------
Changes (by pento):

 * owner:  (none) => pento
 * status:  new => assigned


Comment:

 Thank you for the patch update, @CrazyJaco!

 I originally added the entire data array to the filter as it's useful to
 be able to obtain that data when running the filter. I agree that it's
 risky, though: I've modified the query to pass them as extra parameters,
 instead, so they can't be modified, just read.

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


More information about the wp-trac mailing list