Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Restore $wpdb->use_mysqli for backward compatibility #220

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

xxsimoxx
Copy link
Member

Description

Restore $wpdb->use_mysqli that was removed in #201 (WP-r56475).

Motivation and context

  • ClassicCommerce uses $wpdb->use_mysqli (wrongly because it's private) to check which function to use
  • GitHub reports 1.4k results when searching for $wpdb->use_mysqli

How has this been tested?

New unit tests in place.

Types of changes

  • Bug fix

@mattyrob mattyrob merged commit 872d0ae into ClassicPress:develop Sep 21, 2023
10 checks passed
@xxsimoxx xxsimoxx deleted the fix/mysqli branch September 22, 2023 12:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants