error[] = '
' . sprintf( __( '
RECOMMENDED: If you are submitting to WordPress.org Theme Repository, it is
strongly suggested that you read
this document, or your theme will be rejected because of Redux.', 'virtue' ), 'https://docs.reduxframework.com/core/wordpress-org-submissions/' ) . '
';
$ret = false;
} else {
// TODO Granular WP.org tests!!!
// Check for Tracking
checkcount();
$tracking = $redux['dir'] . 'inc/tracking.php';
if ( file_exists( $tracking ) ) {
$this->error[] = '' . sprintf( __('REQUIRED: You MUST delete %s , or your theme will be rejected by WP.org theme submission because of Redux.', 'virtue'), $tracking ) . '
';
$ret = false;
}
// Embedded CDN package
//use_cdn
// Arguments
checkcount();
$args = '';
$args .= "'save_defaults' => false
";
$args .= "'use_cdn' => false
";
$args .= "'customizer_only' => true
Non-Customizer Based Panels are Prohibited within WP.org Themes ";
$args .= "'database' => 'theme_mods'
(" . __( 'Optional', 'virtue' ) . ") ";
$args .= '
';
$this->error[] = '' . __( 'RECOMMENDED: The following arguments MUST be used for WP.org submissions, or you will be rejected because of your Redux configuration.', 'virtue' ) . $args . '
';
}
}
return $ret;
}
function getError() {
return $this->error;
}
}
$themechecks[] = new Redux_Embedded;