Changeset 33996 for branches/3.8/src/wp-includes/wp-db.php
- Timestamp:
- 09/10/2015 07:13:02 AM (11 years ago)
- File:
-
- 1 edited
-
branches/3.8/src/wp-includes/wp-db.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8/src/wp-includes/wp-db.php
r32415 r33996 2409 2409 . '|UPDATE(?:\s+LOW_PRIORITY)?(?:\s+IGNORE)?' 2410 2410 . '|DELETE(?:\s+LOW_PRIORITY|\s+QUICK|\s+IGNORE)*(?:\s+FROM)?' 2411 . ')\s+((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) {2411 . ')\s+((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) { 2412 2412 return str_replace( '`', '', $maybe[1] ); 2413 2413 } … … 2417 2417 . 'SHOW\s+TABLE\s+STATUS.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2418 2418 . '|SHOW\s+(?:FULL\s+)?TABLES.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2419 . ')\W((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) {2419 . ')\W((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) { 2420 2420 return str_replace( '`', '', $maybe[1] ); 2421 2421 } … … 2436 2436 . '|(?:GRANT|REVOKE).*ON\s+TABLE' 2437 2437 . '|SHOW\s+(?:.*FROM|.*TABLE)' 2438 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) {2438 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) { 2439 2439 return str_replace( '`', '', $maybe[1] ); 2440 2440 }
Note:
See TracChangeset
for help on using the changeset viewer.