Skip to content

Instantly share code, notes, and snippets.

@enzolutions
Last active January 18, 2017 16:01
Show Gist options
  • Save enzolutions/d1ee92a9a6e52b059be5686fc92a2a58 to your computer and use it in GitHub Desktop.
Save enzolutions/d1ee92a9a6e52b059be5686fc92a2a58 to your computer and use it in GitHub Desktop.
define('WP_SETUP_CONFIG', true);
if(!defined( 'ABSPATH' ) ) {
define('ABSPATH', $this->appRoot . "/");
}
define('WPINC', 'wp-includes' );
$this->loadLegacyFile('wp-includes/functions.php' );
$this->loadLegacyFile('wp-includes/load.php' );
$this->loadLegacyFile('wp-includes/l10n.php');
$this->loadLegacyFile('wp-includes/general-template.php' );
$this->loadLegacyFile('wp-includes/link-template.php' );
$this->loadLegacyFile('wp-includes/class-wp-http-response.php' );
$this->loadLegacyFile('wp-includes/Requests/Hooker.php' );
$this->loadLegacyFile('wp-includes/Requests/Hooks.php' );
$this->loadLegacyFile('wp-includes/class-wp-http-requests-response.php' );
$this->loadLegacyFile('wp-includes/class-wp-http-requests-hooks.php' );
$this->loadLegacyFile('wp-includes/http.php' );
$this->loadLegacyFile('wp-includes/class-wp-http-curl.php' );
$this->loadLegacyFile('wp-includes/class-wp-http-proxy.php' );
$this->loadLegacyFile('wp-includes/class-http.php' );
$this->loadLegacyFile('wp-admin/includes/translation-install.php' );
$this->loadLegacyFile('wp-includes/plugin.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment