Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r23216 r22429  
    988988     *  if there was something to prepare
    989989     */
    990     function prepare( $query, $args = null ) {
     990    function prepare( $query, $args ) {
    991991        if ( is_null( $query ) )
    992992            return;
    993 
    994         if ( func_num_args() < 2 )
    995             _doing_it_wrong( 'wpdb::prepare', 'wpdb::prepare() requires at least two arguments.', '3.5' );
    996993
    997994        $args = func_get_args();
Note: See TracChangeset for help on using the changeset viewer.