Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#22211 closed defect (bug) (fixed)

Correct wpdb::bail() description

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: ryan's profile ryan
Milestone: 3.5 Priority: normal
Severity: normal Version: 2.8
Component: Inline Docs Keywords: has-patch
Focuses: Cc:


wpdb::bail() description (introduced in [10911]) appears to be inaccurate.

It skips wp_die() if wpdb::$show_errors if false, not true:

Attachments (1)

22211.patch (401 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
11 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [22254]:

Correct phpdoc for wpdb::bail(). wp_die() is issued when show_errors is true, not false. Props SergeyBiryukov. fixes #22211

Note: See TracTickets for help on using tickets.