Closed tyxla closed 8 years ago
Currently, in composer.json the main plugin file is loaded as a classmap class.
composer.json
classmap
This will work only if you want to access the WP_Thumb class, but not if you want to use any of the WPThumb functions (like wpthumb() for example).
WP_Thumb
wpthumb()
With this modification Composer's autoloader will always load the main plugin file, allowing developers to use any WPThumb function.
Currently, in
composer.json
the main plugin file is loaded as aclassmap
class.This will work only if you want to access the
WP_Thumb
class, but not if you want to use any of the WPThumb functions (likewpthumb()
for example).With this modification Composer's autoloader will always load the main plugin file, allowing developers to use any WPThumb function.