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

PHP 8.2: ${var} string interpolation deprecated #1271

Closed
herrvigg opened this issue Dec 29, 2022 · 0 comments
Closed

PHP 8.2: ${var} string interpolation deprecated #1271

herrvigg opened this issue Dec 29, 2022 · 0 comments
Labels
core Core functionalities, including the admin section

Comments

@herrvigg
Copy link
Collaborator

herrvigg commented Dec 29, 2022

Reporting some deprecation warnings:

PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-admin.php on line 142
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-admin.php on line 142
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-admin.php on line 142
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-admin.php on line 405
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-admin.php on line 405
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-settings.php on line 94
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-settings.php on line 95
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/wp-content/plugins/qtranslate-xt/modules/slugs/admin/slugs-settings.php on line 95

See: https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated

Very easy to fix, I'll upload a patch very soon.

@herrvigg herrvigg added the core Core functionalities, including the admin section label Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionalities, including the admin section
Projects
None yet
Development

No branches or pull requests

1 participant