-wp_cache_init();
-if ( function_exists('wp_cache_add_global_groups') ) {
- wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta', 'site-transient'));
- wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' ));
-}
-
-require (ABSPATH . WPINC . '/plugin.php');
-require (ABSPATH . WPINC . '/default-filters.php');
-include_once(ABSPATH . WPINC . '/pomo/mo.php');
-require_once (ABSPATH . WPINC . '/l10n.php');
-
-if ( !is_blog_installed() && (strpos($_SERVER['PHP_SELF'], 'install.php') === false && !defined('WP_INSTALLING')) ) {
- if ( defined('WP_SITEURL') )
- $link = WP_SITEURL . '/wp-admin/install.php';
- elseif (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false)
- $link = preg_replace('|/wp-admin/?.*?$|', '/', $_SERVER['PHP_SELF']) . 'wp-admin/install.php';
- else
- $link = preg_replace('|/[^/]+?$|', '/', $_SERVER['PHP_SELF']) . 'wp-admin/install.php';
- require_once(ABSPATH . WPINC . '/kses.php');
- require_once(ABSPATH . WPINC . '/pluggable.php');
- require_once(ABSPATH . WPINC . '/formatting.php');
- wp_redirect($link);
- die(); // have to die here ~ Mark
-}
-
-require (ABSPATH . WPINC . '/formatting.php');
-require (ABSPATH . WPINC . '/capabilities.php');
-require (ABSPATH . WPINC . '/query.php');
-require (ABSPATH . WPINC . '/theme.php');
-require (ABSPATH . WPINC . '/user.php');
-require (ABSPATH . WPINC . '/meta.php');
-require (ABSPATH . WPINC . '/general-template.php');
-require (ABSPATH . WPINC . '/link-template.php');
-require (ABSPATH . WPINC . '/author-template.php');
-require (ABSPATH . WPINC . '/post.php');
-require (ABSPATH . WPINC . '/post-template.php');
-require (ABSPATH . WPINC . '/category.php');
-require (ABSPATH . WPINC . '/category-template.php');
-require (ABSPATH . WPINC . '/comment.php');
-require (ABSPATH . WPINC . '/comment-template.php');
-require (ABSPATH . WPINC . '/rewrite.php');
-require (ABSPATH . WPINC . '/feed.php');
-require (ABSPATH . WPINC . '/bookmark.php');
-require (ABSPATH . WPINC . '/bookmark-template.php');
-require (ABSPATH . WPINC . '/kses.php');
-require (ABSPATH . WPINC . '/cron.php');
-require (ABSPATH . WPINC . '/version.php');
-require (ABSPATH . WPINC . '/deprecated.php');
-require (ABSPATH . WPINC . '/script-loader.php');
-require (ABSPATH . WPINC . '/taxonomy.php');
-require (ABSPATH . WPINC . '/update.php');
-require (ABSPATH . WPINC . '/canonical.php');
-require (ABSPATH . WPINC . '/shortcodes.php');
-require (ABSPATH . WPINC . '/media.php');
-require (ABSPATH . WPINC . '/http.php');
-require (ABSPATH . WPINC . '/widgets.php');
-
-if ( !defined('WP_CONTENT_URL') )
- define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
-
-/**
- * Allows for the plugins directory to be moved from the default location.
- *
- * @since 2.6.0
- */
-if ( !defined('WP_PLUGIN_DIR') )
- define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash
-
-/**
- * Allows for the plugins directory to be moved from the default location.
- *
- * @since 2.6.0
- */
-if ( !defined('WP_PLUGIN_URL') )
- define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash
-
-/**
- * Allows for the plugins directory to be moved from the default location.
- *
- * @since 2.1.0
- */
-if ( !defined('PLUGINDIR') )
- define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.
-
-/**
- * Allows for the mu-plugins directory to be moved from the default location.
- *
- * @since 2.8.0
- */
-if ( !defined('WPMU_PLUGIN_DIR') )
- define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); // full path, no trailing slash
-
-/**
- * Allows for the mu-plugins directory to be moved from the default location.
- *
- * @since 2.8.0
- */
-if ( !defined('WPMU_PLUGIN_URL') )
- define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // full url, no trailing slash