private function set_seedredux_content()
 {
     $upload_dir = wp_upload_dir();
     self::$_upload_dir = $upload_dir['basedir'] . '/seedredux/';
     self::$_upload_url = $upload_dir['baseurl'] . '/seedredux/';
     if (!is_dir(self::$_upload_dir)) {
         $this->filesystem->execute('mkdir', self::$_upload_dir);
     }
 }
 public function load()
 {
     $seedredux = new SeedReduxFramework();
     $seedredux->init();
     //if ( ! empty( $seedredux ) ) {
     $dir = SeedReduxFramework::$_dir . '../';
     if (isset($_POST['themename']) && !empty($_POST['themename'])) {
         if (strpos($dir, $_POST['themename']) !== false) {
             ?>
                     <div class="updated">
                     <p><?php 
             echo sprintf(__('The theme you are testing has %s embedded. We invite you to read the %sTheme-Check Documentation%s to understand some warnings you will see because of SeedRedux.', 'seedredux-framework'), '<a href="http://seedreduxframework.com" target="_blank">SeedRedux Framework</a>', '<a href="http://docs.seedreduxframework.com/core/theme-check/">', '</a>');
             ?>
                     </div><?php 
         }
     }
     if (!SeedReduxFramework::$_is_plugin) {
         $errors = array();
         if (file_exists($dir . '.tx')) {
             $errors[] = ".tx/";
         }
         if (file_exists($dir . 'bin')) {
             $errors[] = "bin/";
         }
         if (file_exists($dir . 'tests')) {
             $errors[] = "tests/";
         }
         if (file_exists($dir . '.gitignore')) {
             $errors[] = ".gitignore";
         }
         if (file_exists($dir . '.git')) {
             $errors[] = ".git/";
         }
         if (file_exists($dir . 'node_modules')) {
             $errors[] = "node_modules/";
         }
         if (file_exists($dir . '.travis.yml')) {
             $errors[] = ".travis.yml";
         }
         if (file_exists($dir . 'bootstrap_tests.php')) {
             $errors[] = "bootstrap_tests.php";
         }
         if (file_exists($dir . 'phpunit.xml')) {
             $errors[] = "phpunit.xml";
         }
         if (file_exists($dir . '.ds_store')) {
             $errors[] = ".ds_store";
         }
         if (file_exists($dir . 'codestyles')) {
             $errors[] = "codestyles/";
         }
         if (!empty($errors)) {
             ?>
                     <div class="error">
                     <p><?php 
             _e('The following directories & files are still located in your <strong>SeedRedux</strong>  directory. They may cause errors in Theme-Check.', 'seedredux-framework');
             echo '<br /><ul style="margin-left:15px;">';
             foreach ($errors as $error) {
                 echo '<li><strong>~/' . $error . '</strong></li>';
             }
             ?>
                         </ul></div><?php 
         }
     }
 }