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

Soft rejection For TGMPA Plugin Activation #712

Open Khaled56 opened 6 years ago

Khaled56 commented 6 years ago

I faced this soft rejection from ThemeForest for my WordPress Theme. Please, help me if anybody can. Its about using TGM Plugin activation php file. How can i avoid this issue??

invxtassy/inc/class-tgm-plugin-activation.php

Error: 391 ERROR Silencing errors is forbidden

Code: 391 No. Line public function overload_textdomain_mofile( $mofile, $domain ) { // Exit early if not our domain, not a WP_LANG_DIR load or if the file exists and is readable.

if ( 'tgmpa' !== $domain || false === strpos( $mofile, WP_LANG_DIR ) || @is_readable( $mofile ) ) { return $mofile; }

jrfnl commented 6 years ago

@Khaled56 Please use the Custom TGMPA Generator on the TGMPA website and choose ThemeForest as the publication channel. The version of TGMPA you will receive complies with all ThemeForest standards and should be accepted without question.

jrfnl commented 6 years ago

@Khaled56 Just checking: can I close this issue ?