• Resolved Brayne

    (@brayne)


    Latest nightly build 12-08-12

    I’m getting error messages for not having a second argument in a TON of code. Rather than going through an immense amount of updates for plugins, wouldn’t it be easy to simply add some code to line 990 in wp-db.php?

    function prepare( $query, $args) {

    Becomes

    function prepare( $query, $args = "" ) {

    Thanks for the consideration.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wpdb missing second argument in prepare.’ is closed to new replies.