[wp-trac] [WordPress Trac] #37660: RegEx in wpdb::get_table_from_query( $q ) in wp-db.php returns table_alias='a' rather than table_name=wp_999_options

WordPress Trac noreply at wordpress.org
Thu Sep 1 18:35:39 UTC 2016


#37660: RegEx in wpdb::get_table_from_query( $q ) in wp-db.php returns
table_alias='a' rather than table_name=wp_999_options
------------------------------------------+-----------------------
 Reporter:  webp                          |       Owner:  pento
     Type:  defect (bug)                  |      Status:  accepted
 Priority:  normal                        |   Milestone:  4.7
Component:  Database                      |     Version:  4.1.2
 Severity:  normal                        |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:
------------------------------------------+-----------------------

Comment (by jorbin):

 @pento I think this might be something worth getting in on the early side.
 What kind of unit tests would you recommend someone write for this?

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


More information about the wp-trac mailing list