WordPress.org

Support

Support » Alpha/Beta » [Resolved] wpdb->prepare() calling convention has changed

[Resolved] wpdb->prepare() calling convention has changed

  • In previous releases wp-includes/wp-db.php function prepare was defined as:

    function prepare( $query = null ) { // ( $query, *$args )

    in the latest beta release the definition is

    function prepare( $query, $args ) {

    This causes PHP (!) Warning messages for any call to prepare() that does not have %s/%d substitution parameters.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] wpdb->prepare() calling convention has changed’ is closed to new replies.