__( 'Redux localization utilities', 'virtue' ), 'bin' => __( 'Redux Resting Diles', 'virtue' ), 'codestyles' => __( 'Redux Code Styles', 'virtue' ), 'tests' => __( 'Redux Unit Testing', 'virtue' ), 'class.redux-plugin.php' => __( 'Redux Plugin File', 'virtue' ), 'bootstrap_tests.php' => __( 'Redux Boostrap Tests', 'virtue' ), '.travis.yml' => __( 'CI Testing FIle', 'virtue' ), 'phpunit.xml' => __( 'PHP Unit Testing', 'virtue' ), ); $errors = array(); foreach ( $blacklist as $file => $reason ) { checkcount(); if ( file_exists( $redux['parent_dir'] . $file ) ) { $errors[ $redux['parent_dir'] . $file ] = $reason; } } if ( ! empty( $errors ) ) { $error = 'REQUIRED ' . __( 'It appears that you have embedded the full Redux package inside your theme. You need only embed the ReduxCore folder. Embedding anything else will get your rejected from theme submission. Suspected Redux package file(s):', 'virtue' ); $error .= '
    '; foreach ( $errors as $key => $e ) { $error .= '
  1. ' . $e . ': ' . $key . '
  2. '; } $error .= '
'; $this->error[] = '
' . $error . '
'; $ret = false; } } return $ret; } function getError() { return $this->error; } } $themechecks[] = new Redux_Full_Package();