[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
Wed Jan 24 23:36:50 UTC 2018
#42151: Create a filter to add information to query data saved when SAVEQUERIES is
true
---------------------------+------------------------------
Reporter: CrazyJaco | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-refresh | Focuses:
---------------------------+------------------------------
Changes (by CrazyJaco):
* keywords: 2nd-opinion has-patch => needs-refresh
Comment:
This ticket has sat for a while and after some thought I think the call to
log a query should be extracted into a method in the class so it can be
called elsewhere.
The way it currently works, you can't really log a query that goes to an
external source (ElasticSearch) outside of the wordpress database and
never makes it this far in the query call stack.
I will update the patch for feedback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42151#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list