Changeset 33995 for branches/3.9/src/wp-includes/wp-db.php
- Timestamp:
- 09/10/2015 07:08:35 AM (11 years ago)
- File:
-
- 1 edited
-
branches/3.9/src/wp-includes/wp-db.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9/src/wp-includes/wp-db.php
r32414 r33995 2786 2786 . '|UPDATE(?:\s+LOW_PRIORITY)?(?:\s+IGNORE)?' 2787 2787 . '|DELETE(?:\s+LOW_PRIORITY|\s+QUICK|\s+IGNORE)*(?:\s+FROM)?' 2788 . ')\s+((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) {2788 . ')\s+((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) { 2789 2789 return str_replace( '`', '', $maybe[1] ); 2790 2790 } … … 2794 2794 . 'SHOW\s+TABLE\s+STATUS.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2795 2795 . '|SHOW\s+(?:FULL\s+)?TABLES.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2796 . ')\W((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) {2796 . ')\W((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) { 2797 2797 return str_replace( '`', '', $maybe[1] ); 2798 2798 } … … 2813 2813 . '|(?:GRANT|REVOKE).*ON\s+TABLE' 2814 2814 . '|SHOW\s+(?:.*FROM|.*TABLE)' 2815 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) {2815 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) { 2816 2816 return str_replace( '`', '', $maybe[1] ); 2817 2817 }
Note: See TracChangeset
for help on using the changeset viewer.