TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
I updated my plugin to use the proper sanitization function for text areas, but it won't activate. TGM shows the following message when I try to install the plugin:
"The remote plugin package consists of more than one file, but the files are not packaged in a folder. Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines."
If I remove the sanitize_textarea_field() function from the code and it works fine.
I updated my plugin to use the proper sanitization function for text areas, but it won't activate. TGM shows the following message when I try to install the plugin:
"The remote plugin package consists of more than one file, but the files are not packaged in a folder. Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines."
If I remove the sanitize_textarea_field() function from the code and it works fine.