diff --git a/admin/core/lib/ReduxFramework/.gitignore b/admin/core/lib/ReduxFramework/.gitignore deleted file mode 100644 index b393926d..00000000 --- a/admin/core/lib/ReduxFramework/.gitignore +++ /dev/null @@ -1,26 +0,0 @@ -# Editors -project.xml -project.properties -/nbproject/private/ -.buildpath -.project -.settings* -sftp-config.json -codekit-config.json -.idea - -# Grunt -md5 -/docs/ -/redux/ -/output/ -/node_modules/ -/grunt-phplint/ -/tmp-wp-dev/ -npm-debug.log - -# OS X metadata -.DS_Store - -# Windows junk -Thumbs.db diff --git a/admin/core/lib/ReduxFramework/.travis.yml b/admin/core/lib/ReduxFramework/.travis.yml deleted file mode 100644 index 3e844011..00000000 --- a/admin/core/lib/ReduxFramework/.travis.yml +++ /dev/null @@ -1,54 +0,0 @@ -language: php -php: -#- 5.2 -- 5.3 -#- 5.4 -env: - global: - #secure: "HxNuZO2wWngETP4ZAJN/IA4SCG9C3yw8hV4laJOrb9xXRv8w1YI4xLKUTDEK8H1tg3f0Yh4943f22aDPoXUu8oG913yljbrjMPXM+30FkbxPLOu4rViepjV1ZPJ0+aw+fGvNfDWBfeNx32Ooi9BeK5cpGTKeLgzAJCeG2mROPpo=" - #secure: "vLqv9UpmPontcizx0ncbiaV0CJ6C54sFcJw1g4Csnwz7q3DJyHtGtjZLysKzyUzbXLzcSGWZfkeqbYXIuI7fdtIfBTSb9Zw39tPDItVzq9T+wyzkCv98F+LI4Py2UJR+dQNOzB+2s0IrAQZt3vsKnJbELKwQ1LWVkNXOu7eCIOo=" - #secure: "N1TGV9fQSoXhWD0AUMLF4PEWE99ZHA3ypjARJZX3fsycRD4YUbCcIdnKld5rM/4meeVN4kULDci5bcwAv3GrZY0l4lYNFpnInoyOU6B8PFG0795feacUtj8T8GBs9C4P/9ikLkK9BBXEacQ+i/E2Lvv50QJ17RDAbmvXB3gWDvc=" - #secure: "qZjPMjuQN2a4H2fQ9SSSfgAYRIoRmSTOxMF06CjeTQfIgimwmCayQYVVSKrXQorxpzHPjjg4vEs92oFuBE2nXDN0J4fA8u/E3Qvm4Mr9qWFn/JoOX+/xsYurPw9+rIjr75lT/b8cK38tdgqm7TmMIfsNY4RxHtOhXjt6hWGhUlY=" - secure: "aDIYEmgxoF/+2vwPdvmbxFKMoz8pA9vtvemehyLNvH3LF05RgFiwNNv+7Lvy127p4Fxp3VBK+ZLKUEEL1gdpevzgni9EigpK8YZbIVHXRL3U+1eP9rcnjuGF9pKuB4kB2ivzoprcalg1ZDI9PnRYRDE4YUTHJiEN2MmLys1QWdc=" - cache: - directories: - - node_modules - matrix: - - WP_VERSION=latest WP_MULTISITE=0 - - WP_VERSION=latest WP_MULTISITE=1 -install: -- npm install -g grunt-cli -- npm install -- find ReduxCore -type f | sort -u | xargs cat | md5sum > md5 -before_script: bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION -script: -- phpunit -- grunt jshint -- grunt lintPHP -after_success: - # Install the Heroku gem (or the Heroku toolbelt) - - gem install heroku - # Add your Heroku git repo: - - git remote add heroku git@heroku.com:redux-premium.git - # Turn off warnings about SSH keys: - - echo "Host heroku.com" >> ~/.ssh/config - - echo " StrictHostKeyChecking no" >> ~/.ssh/config - - echo " CheckHostIP no" >> ~/.ssh/config - - echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config - # Clear your current Heroku SSH keys: - - heroku keys:clear - # Add a new SSH key to Heroku - - yes | heroku keys:add -after_script: - #- ./bin/commit-uncompressed-files.sh - - ./bin/update-mirrors-docs.sh -notifications: - email: - recipients: - - dovy@reduxframework.com - - kevin.provance@gmail.com - on_failure: always -branches: - except: - - gh-pages - - setup \ No newline at end of file diff --git a/admin/core/lib/ReduxFramework/bin/CNAME b/admin/core/lib/ReduxFramework/bin/CNAME deleted file mode 100644 index a8ad8b83..00000000 --- a/admin/core/lib/ReduxFramework/bin/CNAME +++ /dev/null @@ -1 +0,0 @@ -codex.reduxframework.com \ No newline at end of file diff --git a/admin/core/lib/ReduxFramework/bin/commit-uncompressed-files.sh b/admin/core/lib/ReduxFramework/bin/commit-uncompressed-files.sh deleted file mode 100644 index 6c39d782..00000000 --- a/admin/core/lib/ReduxFramework/bin/commit-uncompressed-files.sh +++ /dev/null @@ -1,23 +0,0 @@ -if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_JOB_NUMBER" == *.1 ]]; then - - echo -e "Checking to make sure files are properly compressed.\n" - - v1=`find ReduxCore -type f | sort -u | xargs cat | md5sum` - echo "$v1" - grunt compileCSS - grunt compileJS - v2=`find ReduxCore -type f | sort -u | xargs cat | md5sum` - echo "$v2" - if [ "$v1" == "$v2" ]; then - echo "All files are properly compressed." - else - echo "Files are not the same. Need to commit back to the repo." - #git config --global user.email "travis@travis-ci.org" - #git config --global user.name "Travis" - #git remote set-url origin "https://$GH_TOKEN@github.com/ReduxFramework/ReduxFramework.git" - #git status - #git commit -a "Committing compressed files back to repo." - #git push origin HEAD:$TRAVIS_BRANCH - fi - -fi diff --git a/admin/core/lib/ReduxFramework/bin/install-wp-tests.sh b/admin/core/lib/ReduxFramework/bin/install-wp-tests.sh deleted file mode 100644 index 2045fec6..00000000 --- a/admin/core/lib/ReduxFramework/bin/install-wp-tests.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env bash - -if [ $# -lt 3 ]; then - echo "usage: $0 [db-host] [wp-version]" - exit 1 -fi - -DB_NAME=$1 -DB_USER=$2 -DB_PASS=$3 -DB_HOST=${4-localhost} -WP_VERSION=${5-latest} - -# set dir vars -DIR_WP_DEVELOP=tmp-wp-dev -WP_CORE_DIR=${DIR_WP_DEVELOP}/wordpress/ -export WP_TESTS_DIR=${DIR_WP_DEVELOP}/wordpress-tests/ - -set -ex - -# cleanup -rm -rf ${DIR_WP_DEVELOP} -mysql -e "DROP DATABASE IF EXISTS ${DB_NAME};" --user="${DB_USER}" --password="${DB_PASS}" - -install_wp() { - mkdir -p ${WP_CORE_DIR} - - local ARCHIVE_NAME - if [ ${WP_VERSION} == 'latest' ]; then - ARCHIVE_NAME='latest' - else - ARCHIVE_NAME="wordpress-$WP_VERSION" - fi - - wget -nv -O ${DIR_WP_DEVELOP}/wordpress.tar.gz http://wordpress.org/${ARCHIVE_NAME}.tar.gz - tar --strip-components=1 -zxmf ${DIR_WP_DEVELOP}/wordpress.tar.gz -C ${WP_CORE_DIR} - rm -f ${DIR_WP_DEVELOP}/wordpress.tar.gz - -# wget -nv -O ${WP_CORE_DIR}/wp-content/db.php https://raw.github.com/markoheijnen/wp-mysqli/master/db.php -} - -install_test_suite() { - # portable in-place argument for both GNU sed and Mac OSX sed - local ioption - if [[ $(uname -s) == 'Darwin' ]]; then - ioption='-i ""' - else - ioption='-i' - fi - - # set up testing suite - mkdir -p ${WP_TESTS_DIR} - cd ${WP_TESTS_DIR} - svn co --quiet http://develop.svn.wordpress.org/trunk/tests/phpunit/includes/ . - - # setup tests config file - cd .. - wget -nv -O wp-tests-config.php http://develop.svn.wordpress.org/trunk/wp-tests-config-sample.php - - sed ${ioption} "s:dirname( __FILE__ ) . '/src/':'${WP_CORE_DIR}':" wp-tests-config.php - sed ${ioption} "s/youremptytestdbnamehere/${DB_NAME}/" wp-tests-config.php - sed ${ioption} "s/yourusernamehere/${DB_USER}/" wp-tests-config.php - sed ${ioption} "s/yourpasswordhere/${DB_PASS}/" wp-tests-config.php - sed ${ioption} "s|localhost|${DB_HOST}|" wp-tests-config.php -} - -install_db() { - # parse DB_HOST for port or socket references -# local PARTS=(${DB_HOST//\:/ }) -# local DB_HOSTNAME=${PARTS[0]}; -# local DB_SOCK_OR_PORT=${PARTS[1]}; -# local EXTRA="" -# -# if ! [ -z ${DB_HOSTNAME} ] ; then -# if [[ "${DB_SOCK_OR_PORT}" =~ ^[0-9]+$ ]] ; then -# EXTRA=" --host=${DB_HOSTNAME} --port=${DB_SOCK_OR_PORT} --protocol=tcp" -# elif ! [ -z ${DB_SOCK_OR_PORT} ] ; then -# EXTRA=" --socket=${DB_SOCK_OR_PORT}" -# elif ! [ -z ${DB_HOSTNAME} ] ; then -# EXTRA=" --host=${DB_HOSTNAME} --protocol=tcp" -# fi -# fi - - # create database - mysql -e "CREATE DATABASE IF NOT EXISTS ${DB_NAME};" --user="${DB_USER}" --password="${DB_PASS}" -# mysqladmin create ${DB_NAME} --user="$DB_USER" --password="$DB_PASS"$EXTRA -} - -install_wp -install_test_suite -install_db diff --git a/admin/core/lib/ReduxFramework/bin/update-codex.sh b/admin/core/lib/ReduxFramework/bin/update-codex.sh deleted file mode 100644 index 3f2a68b0..00000000 --- a/admin/core/lib/ReduxFramework/bin/update-codex.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_JOB_NUMBER" == *.1 ]]; then - - # update the mirror repo for composer/packagist - echo -e "Pushing to composer mirror\n" - git push --mirror https://${GH_TOKEN}@github.com/redux-framework/redux-framework.git - - # Re-Deploy the heroku demo app and pull the newest code - echo -e "Starting dev demo push to Heroku\n" - git clone git@heroku.com:redux-premium.git redux-premium - cd redux-premium - git remote add heroku git@heroku.com:redux-premium.git - git reset HEAD~; git push -f heroku master; - cd .. - rm -fr redux-premium - - echo -e "Starting to update documentation\n" - - # Make sure we don't have any old files - rm -fr $HOME/docs - - # Install phpDocumentor - pear channel-discover pear.phpdoc.org - pear install phpdoc/phpDocumentor - pear install Image_GraphViz - phpenv rehash #Have to run this for travis - - # Generate the docs - grunt phpdocumentor - - # Copy the github CNAME file to the docs - cp bin/CNAME docs/ - - # Publish the docs to gh-pages - grunt gh-pages:travis - - - -fi \ No newline at end of file diff --git a/admin/core/lib/ReduxFramework/bin/update-mirrors-docs.sh b/admin/core/lib/ReduxFramework/bin/update-mirrors-docs.sh deleted file mode 100644 index 34c20db1..00000000 --- a/admin/core/lib/ReduxFramework/bin/update-mirrors-docs.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env bash -#&& "$TRAVIS_PHP_VERSION" >= 5.3 -if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_JOB_NUMBER" == *.1 ]]; then - - # Update the mirror repo for composer/packagist - git push --mirror https://${GH_TOKEN}@github.com/redux-framework/redux-framework.git - - # Re-Deploy the heroku demo app and pull the newest code - git clone git@heroku.com:redux-premium.git - cd redux-premium - git reset HEAD~; git push -f heroku master; - - cd .. - -# cd .. -# rm -fr $HOME/redux-premium - - echo -e "Starting to update documentation\n" - - # Make sure we don't have any old files - rm -fr $HOME/docs - - # Install phpDocumentor - pear channel-discover pear.phpdoc.org - pear install phpdoc/phpDocumentor - pear install Image_GraphViz - phpenv rehash #Have to run this for travis - - # Generate the docs - grunt phpdocumentor - - # Copy the github CNAME file to the docs - cp bin/CNAME docs/ - - # Publish the docs to gh-pages - grunt gh-pages:travis - - # Clean out the docs directory - #git rm -fr $HOME/docs/ - - -fi \ No newline at end of file diff --git a/admin/core/lib/ReduxFramework/bootstrap_tests.php b/admin/core/lib/ReduxFramework/bootstrap_tests.php deleted file mode 100644 index 83d72b8c..00000000 --- a/admin/core/lib/ReduxFramework/bootstrap_tests.php +++ /dev/null @@ -1,28 +0,0 @@ - array( "ReduxFramework/redux-framework.php" ), -); - -/** - * If the wordpress-tests repo location has been customized (and specified - * with WP_TESTS_DIR), use that location. This will most commonly be the case - * when configured for use with Travis CI. - * - * Otherwise, we'll just assume that this plugin is installed in the WordPress - * SVN external checkout configured in the wordpress-tests repo. - */ -if( false !== getenv( 'WP_TESTS_DIR' ) ) { - require getenv( 'WP_TESTS_DIR' ) . '/bootstrap.php'; -} else { - require dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '/bootstrap.php'; -} diff --git a/admin/core/lib/ReduxFramework/phpunit.xml b/admin/core/lib/ReduxFramework/phpunit.xml deleted file mode 100644 index 44f0fdb6..00000000 --- a/admin/core/lib/ReduxFramework/phpunit.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - ./tests/ - - - diff --git a/admin/core/lib/ReduxFramework/tests/bootstrap.php b/admin/core/lib/ReduxFramework/tests/bootstrap.php deleted file mode 100644 index 374cf514..00000000 --- a/admin/core/lib/ReduxFramework/tests/bootstrap.php +++ /dev/null @@ -1,31 +0,0 @@ - array( 'tivwp-dm/tivwp-dm.php' ), -); - -// fire up test suite -require_once $_tests_dir . 'bootstrap.php'; - -// include unit test base class -//require_once dirname( __FILE__ ) . '/framework/class-wpseo-unit-test-case.php'; diff --git a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-controller.php b/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-controller.php deleted file mode 100644 index 12a28512..00000000 --- a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-controller.php +++ /dev/null @@ -1,165 +0,0 @@ - - * @author Gary Jones - * @link https://github.com/thomasgriffin/TGM-Plugin-Activation - */ - require_once dirname(__FILE__) . '/../vendor/class-tgm-plugin-activation.php'; - } - - /** - * This happens on - * @wp-hook init - * @see TGM_Plugin_Activation::init - * @see TIVWP_DM::action_tgmpa_register - */ - add_action('tgmpa_register', array( - 'TIVWP_DM', - 'action_tgmpa_register' - )); - } - - /** - * Setup admin area menus to bulk switch development plugins on/off - * @see TIVWP_DM::turn_output_buffering - * @see TIVWP_DM::action_admin_menu - */ - private static function _setup_admin_interface() { - - add_action('admin_init', array( - 'TIVWP_DM', - 'turn_output_buffering' - )); - - add_action('admin_menu', array( - 'TIVWP_DM', - 'action_admin_menu' - )); - } - - /** - * Setup automatic plugins on/off switching depending on the defined TIVWP_DM_AUTO constant - * @see TIVWP_DM::activate_all_development_plugins - * @see TIVWP_DM::deactivate_all_development_plugins - */ - private static function _setup_automatic_switch() { - - if (!defined('TIVWP_DM_AUTO')) { - return; - } - - $action = TIVWP_DM_AUTO; - - /** - * If there is no callable method corresponding to the TIVWP_DM_AUTO set, - * notify admin and set a fallback action - */ - if (!is_callable(array( - 'TIVWP_DM', - "{$action}_all_development_plugins" - )) - ) { - - TIVWP_DM_Notices::add(sprintf(__('Unknown action "%1$s" specified for %2$s', 'tivwp-dm'), $action, 'TIVWP_DM_AUTO'), TIVWP_DM_Notices::WITH_TRIGGER_ERROR - ); - - $action = TIVWP_DM::ACTION_DEACTIVATE; - - TIVWP_DM_Notices::add(sprintf(__('The unknown action has been replaced with "%s"', 'tivwp-dm'), $action), TIVWP_DM_Notices::WITH_TRIGGER_ERROR); - } - - /** - * Silently (de)activate all development plugins - * @todo admin bar on front is shown before this, so it will be updated only on the next screen refresh - */ - add_action('init', array( - 'TIVWP_DM', - "{$action}_all_development_plugins" - ), 20); - - /** - * Enqueue admin notice about the action performed - */ - TIVWP_DM_Notices::add(sprintf(__('Automatic action performed: "%s"', 'tivwp-dm'), $action, TIVWP_DM_Notices::WITHOUT_TRIGGER_ERROR)); - } - -} - -// class - -# --- EOF diff --git a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-notices.php b/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-notices.php deleted file mode 100644 index 3dae9314..00000000 --- a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm-notices.php +++ /dev/null @@ -1,82 +0,0 @@ -

'; - echo self::NOTICE_LABEL . ':'; - foreach (self::$_notices as $notice) { - echo '
' . esc_html($notice); - } - echo '

'; - } - -} - -//class - -# --- EOF diff --git a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm.php b/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm.php deleted file mode 100644 index 016ac61f..00000000 --- a/admin/core/lib/ReduxFramework/tests/includes/class-tivwp-dm.php +++ /dev/null @@ -1,234 +0,0 @@ - 'Debug Bar', - 'slug' => 'debug-bar', - 'required' => false, - ), - array( - 'name' => 'Debug Bar Console', - 'slug' => 'debug-bar-console', - 'required' => false, - ), - array( - 'name' => 'Kint Debugger', - 'slug' => 'kint-debugger', - 'required' => false, - ), - array( - 'name' => 'Query Monitor', - 'slug' => 'query-monitor', - 'required' => false, - ), - ); - - /** - * Load the default plugin list into the working one, with filter. - */ - public static function load_plugin_list() { - self::$development_plugins = apply_filters('tivwp_dm_plugin_list', self::$_default_development_plugins); - } - - /** - * Hooked methods - */ - - /** - * Load translations - */ - public static function action_init_load_plugin_textdomain() { - /** - * We are in the "includes" sub-folder. Therefore, need this "funny" construction to go up. - * @todo Save plugin folder somewhere else and use it here - */ - $folder_i18n = dirname(dirname(plugin_basename(__FILE__))) . '/languages'; - load_plugin_textdomain('tivwp-dm', false, $folder_i18n); - } - - /** - * Prompt to install required and recommended plugins - * @wp-hook tgmpa_register - */ - public static function action_tgmpa_register() { - tgmpa(self::$development_plugins); - } - - /** - * Turn on output buffering for wp_redirect to work - * @wp-hook admin_init - */ - public static function turn_output_buffering() { - if (isset($GLOBALS['plugin_page']) && in_array($GLOBALS['plugin_page'], array( - self::MENU_SLUG_ACTIVATE, - self::MENU_SLUG_DEACTIVATE, - )) - ) { - ob_start(); - } - } - - /** - * Setup administrator menu options - * @wp-hook admin_menu - */ - public static function action_admin_menu() { - - add_plugins_page( - '', __('Activate Development Plugins', 'tivwp-dm'), self::MIN_CAPABILITY, self::MENU_SLUG_ACTIVATE, array( - __CLASS__, - 'menu_callback_activate' - ) - ); - - add_plugins_page( - '', __('Deactivate Development Plugins', 'tivwp-dm'), self::MIN_CAPABILITY, self::MENU_SLUG_DEACTIVATE, array( - __CLASS__, - 'menu_callback_deactivate' - ) - ); - } - - /** - * Service method: protect from non-authorized users - */ - private static function _die_if_not_authorized() { - if (!current_user_can(self::MIN_CAPABILITY)) { - wp_die(__('You do not have sufficient permissions to access this page.', 'tivwp-dm')); - } - } - - /** - * Activate all development plugins and redirect to the list of active plugins - * activate-multi=true is used to display the "Selected plugins activated" message - */ - public static function menu_callback_activate() { - self::_die_if_not_authorized(); - self::activate_all_development_plugins(); - wp_redirect(self_admin_url('plugins.php?plugin_status=active&activate-multi=true')); - exit; - } - - /** - * Deactivate all development plugins and redirect to the list of inactive plugins - * deactivate-multi=true is used to display the "Selected plugins deactivated" message - */ - public static function menu_callback_deactivate() { - self::_die_if_not_authorized(); - self::deactivate_all_development_plugins(); - wp_redirect(self_admin_url('plugins.php?plugin_status=inactive&deactivate-multi=true')); - exit; - } - - /** - * Public interface to the _switch_all_development_plugins method - */ - public static function activate_all_development_plugins() { - self::_switch_all_development_plugins(self::ACTION_ACTIVATE); - } - - /** - * Public interface to the _switch_all_development_plugins method - */ - public static function deactivate_all_development_plugins() { - self::_switch_all_development_plugins(self::ACTION_DEACTIVATE); - } - - /** - * The $development_plugins array has only plugin slugs, and not the path to the plugin file, - * needed by activation/deactivation methods. - * Therefore, we build a list of plugins in the form $slug => $plugin - * @example - * $all_plugins = array( - * 'query-monitor' => 'query-monitor/query-monitor.php', - * 'debug-bar' => 'debug-bar/debug-bar.php', - * 'woocommerce' => 'woocommerce/woocommerce.php' - * ); - * and then we make the array of the values, keeping only those that are in the $development_plugins - * @example - * $plugins = array( - * 'query-monitor/query-monitor.php', - * 'debug-bar/debug-bar.php', - * ); - * @return array - */ - private static function _get_plugins() { - /** - * When on front, the WordPress Plugin Administration API is not available by default - */ - if (!function_exists('get_plugins')) { - /** @noinspection PhpIncludeInspection */ - require_once ABSPATH . 'wp-admin/includes/plugin.php'; - } - - $all_plugins = array(); - foreach (array_keys(get_plugins()) as $plugin) { - $all_plugins[dirname($plugin)] = $plugin; - } - - $plugins = array(); - foreach (self::$development_plugins as $plugin_info) { - if (!empty($all_plugins[$plugin_info['slug']])) { - $plugins[] = $all_plugins[$plugin_info['slug']]; - } - } - return $plugins; - } - - /** - * Pass the list of development plugins to the (de)activation function. - * @param string $action Activate or Deactivate - */ - private static function _switch_all_development_plugins($action = self::ACTION_ACTIVATE) { - - $plugins = self::_get_plugins(); - $redirect = ''; - $network_wide = false; - $silent = false; - switch ($action) { - case self::ACTION_ACTIVATE: - activate_plugins($plugins, $redirect, $network_wide, $silent); - break; - case self::ACTION_DEACTIVATE: - deactivate_plugins($plugins, $silent, $network_wide); - break; - } - } - -} - -# --- EOF diff --git a/admin/core/lib/ReduxFramework/tests/test-sample.php b/admin/core/lib/ReduxFramework/tests/test-sample.php deleted file mode 100644 index 1a23460d..00000000 --- a/admin/core/lib/ReduxFramework/tests/test-sample.php +++ /dev/null @@ -1,10 +0,0 @@ -assertTrue( true ); - } -} - diff --git a/admin/core/lib/ReduxFramework/tests/tivwp-dm.php b/admin/core/lib/ReduxFramework/tests/tivwp-dm.php deleted file mode 100644 index 7ae8a867..00000000 --- a/admin/core/lib/ReduxFramework/tests/tivwp-dm.php +++ /dev/null @@ -1,79 +0,0 @@ - - * define( 'TIVWP_DM_NETWORK_ACTIVATION_ALLOWED', true ); - * - */ -if (!( defined('TIVWP_DM_NETWORK_ACTIVATION_ALLOWED') && TIVWP_DM_NETWORK_ACTIVATION_ALLOWED )) { - register_activation_hook(__FILE__, 'tivwp_dm_disable_network_activation'); -} - - -/** - * Launch the Controller only after plugins_loaded, so we can do necessary validation - * @see TIVWP_DM_Controller::construct - */ -require_once dirname(__FILE__) . '/includes/class-tivwp-dm-controller.php'; -add_action('plugins_loaded', array( - 'TIVWP_DM_Controller', - 'construct' - ) -); - -# --- EOF