Conversation
|
Sorry, we have taken over from @Clorith , we will review this and get back to you. |
|
Adding an autoloader here definitely makes sense, there are a lot of potential cross-referenced dependencies, and this would both help to maintain a cleaner code base, and avoid accidental errors in the future if a dependency file is not properly required. I also appreciate the inclusion of a custom autoloader file, over using Composer, which I've seen happen a few times elsewhere and isn't always as elegant within a WordPress plugin. Some elements may have been unintentionally left out from a quick glance at the changelist, for example the https://github.com/szepeviktor/InstaWP_wordpress-string-locator/blob/2aa88c809ced2b2a9716ee4c7308822aeca42d08/includes/extension/searchreplace/class-replace.php#L99 call to initiate the SearchReplace extension of the plugin won't trigger, so a few files will still need ot be manually called. The |
All right! Could you implement the proposed changes? |
@Clorith What do you think about autoloading classes?
source