Changeset 37674 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 06/10/2016 04:49:09 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r37601 r37674 1255 1255 * Does not support argument numbering/swapping. 1256 1256 * 1257 * May be called like {@link http ://php.net/sprintf sprintf()} or like {@link http://php.net/vsprintf vsprintf()}.1257 * May be called like {@link https://secure.php.net/sprintf sprintf()} or like {@link https://secure.php.net/vsprintf vsprintf()}. 1258 1258 * 1259 1259 * Both %d and %s should be left unquoted in the query string. … … 1262 1262 * wpdb::prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' ); 1263 1263 * 1264 * @link http ://php.net/sprintf Description of syntax.1264 * @link https://secure.php.net/sprintf Description of syntax. 1265 1265 * @since 2.3.0 1266 1266 * 1267 1267 * @param string $query Query statement with sprintf()-like placeholders 1268 1268 * @param array|mixed $args The array of variables to substitute into the query's placeholders if being called like 1269 * {@link http ://php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if1270 * being called like {@link http ://php.net/sprintf sprintf()}.1269 * {@link https://secure.php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if 1270 * being called like {@link https://secure.php.net/sprintf sprintf()}. 1271 1271 * @param mixed $args,... further variables to substitute into the query's placeholders if being called like 1272 * {@link http ://php.net/sprintf sprintf()}.1272 * {@link https://secure.php.net/sprintf sprintf()}. 1273 1273 * @return string|void Sanitized query string, if there is a query to prepare. 1274 1274 */
Note: See TracChangeset
for help on using the changeset viewer.