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 .= "
  1. 'save_defaults' => false
  2. "; $args .= "
  3. 'use_cdn' => false
  4. "; $args .= "
  5. 'customizer_only' => true Non-Customizer Based Panels are Prohibited within WP.org Themes
  6. "; $args .= "
  7. 'database' => 'theme_mods' (" . __( 'Optional', 'virtue' ) . ")
  8. "; $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;