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

Coming Soon: Replace jetpack_require_lib() with it's replacement #859

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

dd32
Copy link
Member

@dd32 dd32 commented Mar 28, 2023

Jetpack 11.9 has removed jetpack_require_lib() in preference for direct file inclusions.

See Automattic/jetpack#28866

This PR is untested.

I have deliberately not included file_exists checks and instead just relying upon the Jetpack Constant and a PHP Warning to be triggered if this file is ever removed / renamed.

…sion.

Jetpack has removed `jetpack_require_lib()` in preference for direct file inclusions.

See Automattic/jetpack#28866
@pkevan
Copy link
Contributor

pkevan commented Jul 12, 2023

Looks good, and tested with Jetpack 12.3

@pkevan pkevan merged commit ca0b71b into production Jul 12, 2023
@pkevan pkevan deleted the remove/jetpack_require_lib branch July 12, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants