Viewing 5 replies - 1 through 5 (of 5 total)
  • Your search picked up use_mysqli rather than use_mysql so picked up a lot more plugins than actually use it. That said some plugins still use it I think.

    I took a look at the first page of the results from https://wpdirectory.net/search/01HEP04Y592JDGDTP6T0CCT27V (searched for use_mysql). There are almost exclusively plugins that use “use_mysql” as own var in their own classes or at least use it via

    empty($wpdb->use_mysql);

    to check that it exists. Or also use the word in comments. Or “use_mysqli”, which contains “use_mysql”. I would therefore be unsure whether there are really so many plugins that still actively use this. And if so, then obviously already secured. There are certainly exceptions.

    Seems that many people have finger trouble with use_mysql(not i)

    Like this comment in WordFence

    * Fix: Added handling for the pending WordPress 6.4 change that removes $wpdb->use_mysqli

    It would have been nice if it had been marked as deprecated or if we had received a “core” email about this fundamental change in the $wpdb object.

    • This reply was modified 11 months, 2 weeks ago by Rene Hermenau.

    Indeed use_mysqli was removed as it was a private method not intended for plugin use. However that has been re-instated on 6.4.1

    read more https://core.trac.www.ads-software.com/ticket/59846

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘$wpdb->use_mysql was removed without being deprecated’ is closed to new replies.