Open Khaled56 opened 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.
@Khaled56 Just checking: can I close this issue ?
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; }