Changeset 33994 for branches/4.0/src/wp-includes/wp-db.php
- Timestamp:
- 09/10/2015 07:04:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0/src/wp-includes/wp-db.php
r32413 r33994 2822 2822 . '|UPDATE(?:\s+LOW_PRIORITY)?(?:\s+IGNORE)?' 2823 2823 . '|DELETE(?:\s+LOW_PRIORITY|\s+QUICK|\s+IGNORE)*(?:\s+FROM)?' 2824 . ')\s+((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) {2824 . ')\s+((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) { 2825 2825 return str_replace( '`', '', $maybe[1] ); 2826 2826 } … … 2830 2830 . 'SHOW\s+TABLE\s+STATUS.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2831 2831 . '|SHOW\s+(?:FULL\s+)?TABLES.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2832 . ')\W((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) {2832 . ')\W((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) { 2833 2833 return str_replace( '`', '', $maybe[1] ); 2834 2834 } … … 2849 2849 . '|(?:GRANT|REVOKE).*ON\s+TABLE' 2850 2850 . '|SHOW\s+(?:.*FROM|.*TABLE)' 2851 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) {2851 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) { 2852 2852 return str_replace( '`', '', $maybe[1] ); 2853 2853 }
Note: See TracChangeset
for help on using the changeset viewer.