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

Change implode order from legacy signature #2798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelbragg
Copy link

This plugin sets its minimum PHP version as 7.4 in the readme.txt.

As of PHP 7.4 implode() changes the order of its arguments from 'Array, Separator' to 'Separator, 'Array'.

As of PHP 8.0 the legacy order support is removed.

In preparation for a minimum version of PHP 8.0 this would fix the removed error while being compatible with the plugins current minimal version.

This plugin sets its minimum PHP version as 7.4 in the readme.txt.

As of PHP 7.4 `implode()` changes the order of its arguments from 'Array, Separator' to 'Separator, 'Array'.

As of PHP 8.0 the legacy order support is removed.

In preparation for a minimum version of PHP 8.0 this would fix the removed error while being compatible with the plugins current minimal version.
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.

1 participant