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

Function strftime() is deprecated #1224

Closed
extremecarver opened this issue Sep 19, 2022 · 2 comments
Closed

Function strftime() is deprecated #1224

extremecarver opened this issue Sep 19, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@extremecarver
Copy link

With php 8.1 strftime already throws a warning notice. It has to be replaced for future compatibility:
https://php.watch/versions/8.1/strftime-gmstrftime-deprecated

@extremecarver
Copy link
Author

Actually if you enable WP Debug with PHP 8.1 this already causes problems - as where it is used it will put a warninng notice in front of the date - for me regarding comments. With debugging disabled it is still fine.

@herrvigg herrvigg added the duplicate This issue or pull request already exists label Sep 19, 2022
@herrvigg
Copy link
Collaborator

We know, it's in the top priority, but it's not trivial to replace. Duplicate #1085.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants