ThomasDepole / wordpress-child-plugin-tool

This tool allows you to modify a Wordpress plugin without losing the ability to update the plugin. This tool works like Wordpress child themes where you can override files that exist in the child plugin by creating a copy of the file and add files to the plugin by creating new files. You can also revert all the changes you made to the plugin.
61 stars 18 forks source link

PHP 8.1 #5

Open hakkanirudha opened 1 year ago

hakkanirudha commented 1 year ago

Hi

This tool works in php 8.1?

PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/host/public_html/wp-content/plugins/user-editor-role-child/src/core.php on line 85

arturofez commented 1 year ago

Curly braces access in string has been deprecated since php 7.4 I created a pull request with the correction #6 Meanwhile you can download it from the fork