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

WordPress Trac noreply at wordpress.org
Wed Nov 8 19:31:01 UTC 2023


#59118: Remove support for the mysql extension
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Database                             |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 Okay here's the culprit: https://github.com/WordPress/wordpress-
 develop/blob/a31c785af19787a39893816b735be96a08a15412/src/wp-includes
 /class-wpdb.php#L755-L769 . The `wpdb::__get()` magic method exposes all
 properties publicly regardless of whether they're private or protected.

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


More information about the wp-trac mailing list