wordpress-importer icon indicating copy to clipboard operation
wordpress-importer copied to clipboard

https://php.watch/versions/8.2/${var}-string-interpolation-deprecated

Open BackuPs opened this issue 1 year ago • 3 comments

in php 8.2 the class-wp-import.php line 954

${$meta['key']} = $meta['value'];

Triggers a depraction notification.

BackuPs avatar Oct 10 '23 08:10 BackuPs

More information to be found here https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated

BackuPs avatar Oct 10 '23 10:10 BackuPs

This was also reported in Trac 59990.

https://github.com/WordPress/wordpress-importer/blob/576c5b7ab26f49ee28bdc0af52dc32cd498a76c0/src/class-wp-import.php#L954

sabernhardt avatar Nov 30 '23 14:11 sabernhardt

i don't see the error anymore. nor am i able to recreate it. weird.

BackuPs avatar Nov 30 '23 15:11 BackuPs