require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/functions.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/default-filters.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/l10n.php');
+ require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-error.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-locale.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-user.php');
// require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-dependency.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-post.php'); // コンテンツAPIマネージャーからWP_Post型でデータを取得
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-post-type.php');
+ require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/class-wp-embed.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/query.php');
require_once($this->gEnv->getWordpressRootPath() . '/wp-includes/pluggable.php');
// ##### データ初期化 #####
wp_initial_constants(); // WordPressその他定義値設定
+ wp_cookie_constants(); // クッキー用定義
create_initial_post_types(); // WP_Post型データ型登録
+ register_shutdown_function('shutdown_action_hook'); // 終了時イベント登録
// プラグイン初期化
$GLOBALS['wp_plugin_paths'] = array(); // $wp_plugin_pathsは未使用?
// WordPressメインオブジェクト作成
$GLOBALS['wp_version'] = '4.7.0'; // 下位互換性チェックで引っかかるのでv4.7.0に定める
$GLOBALS['locale'] = $this->gEnv->getCurrentLanguage(); // 表示言語を設定
+ $GLOBALS['wp_embed'] = new WP_Embed();
$GLOBALS['wp_the_query'] = new WP_Query(); // $wp_the_queryは変更不可変数で$wp_queryは変更可変数
$GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];
$GLOBALS['wp'] = new WP();