toolstack / gp-auto-extract

A plugin for GlotPress that automatically extracts strings from remote source repo.
http://glot-o-matic.com/gp-auto-extract
6 stars 5 forks source link

Remove create_function() for php8 #6

Closed pkolmann closed 3 weeks ago

pkolmann commented 1 month ago

Hi,

you use the depreciated function create_function() (https://www.php.net/manual/en/function.create-function.php) which has been removed for php8.0.

Please replace this with anonymous function calls:

https://www.php.net/manual/en/functions.anonymous.php

toolstack commented 3 weeks ago

Will take a look and update it, should be an easy fix.

toolstack commented 3 weeks ago

Version 0.9 should resolve this now.