WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#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)

comment:1 @wonderboymusic2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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.

comment:2 @nacin2 years ago

  • Resolution changed from wontfix to invalid
Note: See TracTickets for help on using tickets.