Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#59118 Remove support for the mysql extension #5017

Closed
wants to merge 7 commits into from

Conversation

johnbillion
Copy link
Member

@johnbillion johnbillion commented Aug 15, 2023

Trac ticket: https://core.trac.wordpress.org/ticket/59118

This removes the conditional mysql support from wpdb and elsewhere that's no longer needed nor used since WordPress 6.3 bumped the minimum supported PHP version to 7.0.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@johnbillion johnbillion changed the title Remove support for the mysql extension #59118 Remove support for the mysql extension Aug 15, 2023
@johnbillion johnbillion marked this pull request as ready for review August 15, 2023 23:25
@mukeshpanchal27
Copy link
Member

@johnbillion The PR have list of PHPCS issues that need to fix.

@johnbillion
Copy link
Member Author

@mukeshpanchal27 Yeah they should all be about indentation as mentioned in the PR description. I didn't fix the indentation in order to keep the diff clean and it can be addressed in the commit.

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @johnbillion, this looks pretty much good to go from my perspective (other than the PHPCS failures, which you pointed out you'll fix pre-commit).

Two small notes of feedback.

src/wp-includes/class-wpdb.php Outdated Show resolved Hide resolved
src/wp-includes/load.php Show resolved Hide resolved
@johnbillion
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants