mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Gary Pendergast
365241878f
Database: Add support for
LIKE
-escaped tables in ::get_table_from_query()
.
The `SHOW TABLES LIKE` query can be used to search for tables that match a pattern, `wp\_123\_%`, for example. While this isn't the name of an actual table, the `wp_123_` prefix can be used by database drop-ins to direct the query correctly. This change removes the escaping and `%` modifier, to provide this usable prefix. Props andy, pento. Fixes #38751. git-svn-id: https://develop.svn.wordpress.org/trunk@39275 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%