TGMPA / TGM-Plugin-Activation

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.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.75k stars 431 forks source link

Generator Does Not Create Text Domain #809

Open CL1001 opened 2 years ago

CL1001 commented 2 years ago

Attempted generating with the generator, but mismatched text domains were detected by php code sniffer.

http://tgmpluginactivation.com/faq/

Typical review feedback which you might see if you include TGMPA is:

REQUIRED: path/to/class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding admin pages.

WARNING: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are your-text-domain, tgmpa

Solution: To fix this, download a fresh copy of TGMPA using the Custom Generator and indicate your distribution channel to get the correct version which will pass the Theme Check rules.

This has worked for me in the past, but haven't tried it in several months. Today it isn't working ...

http://tgmpluginactivation.com/download/