Changeset 23215 for branches/3.5/wp-includes/wp-db.php
- Timestamp:
- 12/27/2012 04:44:17 PM (13 years ago)
- File:
-
- 1 edited
-
branches/3.5/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5/wp-includes/wp-db.php
r22429 r23215 988 988 * if there was something to prepare 989 989 */ 990 function prepare( $query, $args ) {990 function prepare( $query, $args = null ) { 991 991 if ( is_null( $query ) ) 992 992 return; 993 994 if ( func_num_args() < 2 ) 995 _doing_it_wrong( 'wpdb::prepare', sprintf( 'wpdb::prepare() requires at least two arguments.' ), '3.5' ); 993 996 994 997 $args = func_get_args();
Note: See TracChangeset
for help on using the changeset viewer.