[wp-trac] [WordPress Trac] #50789: Improve WPDB logic around information_schema

WordPress Trac noreply at wordpress.org
Fri Jun 11 16:29:40 UTC 2021


#50789: Improve WPDB logic around information_schema
--------------------------+------------------------------
 Reporter:  andy          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------

Comment (by andy):

 Replying to [comment:4 rfair404]:
 > Curious if a possible solution here might be to simply add a filter to
 the REGEX patterns (allowing more specific regex patterns to be injected)
 so that these queries could be handled in situations like these (edge
 cases).

 I like this idea very much. Although, I would prefer a simpler and more
 powerful implementation more like the `pre_option` pattern.

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


More information about the wp-trac mailing list