Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22863 closed defect (bug) (invalid)

Missing argument 2 wp-db.php

Reported by: lisaraquelle Owned by:
Priority: normal Milestone:
Component: Database Version: 3.5
Severity: normal Keywords:
Cc: Focuses:

Description

Warning: Missing argument 2 for wpdb::prepare(),
wp-includes/wp-db.php on line 990

Change History (3)

#1 @wonderboymusic
14 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

This is going to bite a lot of people, but it is expected behavior now. If you pass only a string to $wpdb->prepare, nothing happens anyway, so this is alerting you to that. You must pass additional replacement arguments.

#2 @nacin
14 years ago

  • Resolution wontfixinvalid
Note: See TracTickets for help on using tickets.