[wp-trac] [WordPress Trac] #59846: Reinstate the `wpdb::$use_mysqli` property

WordPress Trac noreply at wordpress.org
Wed Nov 8 19:45:26 UTC 2023


#59846: Reinstate the `wpdb::$use_mysqli` property
----------------------------------------+---------------------
 Reporter:  johnbillion                 |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  6.4.1
Component:  Database                    |     Version:  6.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------

Comment (by joemcgill):

 Nice detective work. I saw reports of this last night and wondered how the
 private method was being accessed. It makes me question the value of
 marking those properties as private in the first place. Regardless, I
 wonder if we should throw a deprecation warning if someone tries to access
 the `mysqli` property directly?

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


More information about the wp-trac mailing list