[wp-trac] [WordPress Trac] #59118: Remove support for the mysql extension

WordPress Trac noreply at wordpress.org
Tue Aug 15 23:18:22 UTC 2023


#59118: Remove support for the mysql extension
-------------------------+-------------------------
 Reporter:  johnbillion  |      Owner:  johnbillion
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  6.4
Component:  Database     |    Version:  6.3
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-------------------------
 The `mysql` extension is no longer used in PHP 7 or above. There's a good
 amount of conditional code in `wpdb` that can be removed now that only the
 `mysqli` functions are used.

 It's unlikely there will be a noticeable performance gain from the removal
 of the dead conditional code, but every little helps, and maintenance will
 be simplified.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59118>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list