Changeset 10721
- Timestamp:
- 03/05/2009 10:15:17 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r10604 r10721 503 503 $args = func_get_args(); 504 504 $query = array_shift($args); 505 // If args were passed as an array, move them up 506 if ( is_array($args[0]) ) 507 $args = $args[0]; 505 508 $query = str_replace("'%s'", '%s', $query); // in case someone mistakenly already singlequoted it 506 509 $query = str_replace('"%s"', '%s', $query); // doublequote unquoting
Note: See TracChangeset
for help on using the changeset viewer.