Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#26322 closed defect (bug) (fixed)

Suppress the PHP 5.5 deprecated error for MySQL in wp-db

Reported by: wonderboymusic's profile wonderboymusic Owned by: wonderboymusic's profile wonderboymusic
Milestone: 3.8 Priority: normal
Severity: normal Version:
Component: Warnings/Notices Keywords: has-patch commit
Focuses: Cc:


Attachments (1)

26322.diff (815 bytes) - added by wonderboymusic 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @wonderboymusic
10 years ago

  • Keywords has-patch commit added

#3 @3flex
10 years ago

  • Cc 3flex added

#4 @wonderboymusic
10 years ago

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

In 26512:

When WP_DEBUG is set to true, suppress deprecated errors from firing when calling mysql_connect(), which is officially deprecated in PHP 5.5. We will remove this shameful code as soon as is humanly possible.

Props wonderboymusic. Extra love to tierra and nacin.
Fixes #26322.

Note: See TracTickets for help on using tickets.