WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#26322 closed defect (bug) (fixed)

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

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

Description


Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@wonderboymusic
4 years ago

#1 @wonderboymusic
4 years ago

  • Keywords has-patch commit added

#3 @3flex
4 years ago

  • Cc 3flex added

#4 @wonderboymusic
4 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.