get_plugin_data() called too early breaks translations
-
Hi, thanks for plugin.
Can you please fixget_plugin_datainvocation which breaks translations.In file
acf-image-aspect-ratio-crop.phpon line 50 replace'version' => get_plugin_data(__FILE__)['Version']with
'version' => get_plugin_data(__FILE__, false, false)['Version']@see https://developer.wordpress.org/reference/functions/get_plugin_data/#comment-2109
Thanks a lot! Jan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘get_plugin_data() called too early breaks translations’ is closed to new replies.