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

Resolve PHP warnings #443

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Resolve PHP warnings #443

merged 1 commit into from
Mar 13, 2024

Conversation

aashishgurung
Copy link
Contributor

Description

Resolve PHP warnings for strpos() and str_repalce()

More information (if any)

We replaced null with empty string '' as the first parameter to add_submenu_page because this WP function calls strpos and str_replace behind the scene and from PHP 8.1, passing null is deprecated.

Rollback procedure

default rollback procedure

…os() and str_replace() where a null value is deprecated.
@aashishgurung aashishgurung changed the title Resolve PHP warnings for strpos() and str_repalce() Resolve PHP warnings Mar 13, 2024
@aashishgurung aashishgurung merged commit 6cef5e4 into develop Mar 13, 2024
2 checks passed
@aashishgurung aashishgurung deleted the resolve_php_warnings branch March 13, 2024 08:47
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.

None yet

3 participants