#22863 closed defect (bug) (invalid)
Missing argument 2 wp-db.php
Reported by: | lisaraquelle | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | Database | Keywords: | |
Focuses: | Cc: |
Description
Warning: Missing argument 2 for wpdb::prepare(),
wp-includes/wp-db.php on line 990
Change History (3)
Note: See
TracTickets for help on using
tickets.
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.