qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
553 stars 104 forks source link

Function strftime() is deprecated #1224

Closed extremecarver closed 1 year ago

extremecarver commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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