Make WordPress Core

Opened 13 years ago

Closed 13 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
Priority: normal Milestone: 3.8
Component: Warnings/Notices Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description


Attachments (1)

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

Download all attachments as: .zip

Change History (5)

#1 @wonderboymusic
13 years ago

  • Keywords has-patch commit added

#3 @3flex
13 years ago

  • Cc 3flex added

#4 @wonderboymusic
13 years ago

  • Owner set to wonderboymusic
  • Resolutionfixed
  • Status newclosed

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.