Closed Soean closed 2 years ago
if $data not contains '.php', $requires is not defined.
$data
'.php'
$requires
Please submit PRs to develop branch.
develop
If you follow the logic $data is the plugin file, my-plugin/my-plugin.php. It always ends with .php.
my-plugin/my-plugin.php
.php
if
$data
not contains'.php'
,$requires
is not defined.