[wp-trac] [WordPress Trac] #26322: Suppress the PHP 5.5 deprecated error for MySQL in wp-db

WordPress Trac noreply at wordpress.org
Mon Dec 2 00:08:58 UTC 2013


#26322: Suppress the PHP 5.5 deprecated error for MySQL in wp-db
------------------------------+-----------------------------
 Reporter:  wonderboymusic    |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.8
Component:  Warnings/Notices  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26512"]:
 {{{
 #!CommitTicketReference repository="" revision="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.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26322#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list