From 0d97a49138d44a2677bf97c4d96a24cbf92ae672 Mon Sep 17 00:00:00 2001 From: Takashi Kitajima Date: Tue, 27 Mar 2018 12:23:00 +0900 Subject: [PATCH] 5.0.1 --- .gitignore | 1 + composer.json | 2 +- composer.lock | 26 +++++++++++++------------- resources/app/setup/seo.php | 8 ++++++++ resources/style.css | 2 +- 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index db263fb1..f40794b9 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ vendor/ release/ mimizuku.zip .travis/github_deploy_key +yarn-error.log diff --git a/composer.json b/composer.json index 03723c7d..b41940ea 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require": { "php": ">=5.6", - "inc2734/mimizuku-core": ">=1.10.3" + "inc2734/mimizuku-core": ">=1.10.4" }, "config": { "process-timeout": 0, diff --git a/composer.lock b/composer.lock index 73529e47..6d3171dd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,21 +4,21 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "e61a6cf7e2f35f246e904f919927ae8e", - "content-hash": "99d2274bd5c3ce47fa0a0155f76ad1f4", + "hash": "527e664683879713fee91281e719cc9b", + "content-hash": "5ac7206a94bc520a3e723d914331d704", "packages": [ { "name": "inc2734/mimizuku-core", - "version": "1.10.3", + "version": "1.10.4", "source": { "type": "git", "url": "https://github.com/inc2734/mimizuku-core.git", - "reference": "e0b1e2d1eaef5cae610a44118c41a8ddb1ca0205" + "reference": "42016f1feffc6624a7caf7480d614ed680fcfdc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inc2734/mimizuku-core/zipball/e0b1e2d1eaef5cae610a44118c41a8ddb1ca0205", - "reference": "e0b1e2d1eaef5cae610a44118c41a8ddb1ca0205", + "url": "https://api.github.com/repos/inc2734/mimizuku-core/zipball/42016f1feffc6624a7caf7480d614ed680fcfdc6", + "reference": "42016f1feffc6624a7caf7480d614ed680fcfdc6", "shasum": "" }, "require": { @@ -33,7 +33,7 @@ "inc2734/wp-oembed-blog-card": ">=2.1.0", "inc2734/wp-profile-box": ">=1.0.1", "inc2734/wp-pure-css-gallery": ">=1.1.0", - "inc2734/wp-seo": ">=1.0.2", + "inc2734/wp-seo": ">=1.0.3", "inc2734/wp-share-buttons": ">=1.0.6", "inc2734/wp-view-controller": ">=4.0.5", "php": ">=5.6" @@ -61,7 +61,7 @@ } ], "description": "This library is core of WordPress theme mimizuku", - "time": "2018-03-16 13:18:29" + "time": "2018-03-27 03:13:40" }, { "name": "inc2734/wp-awesome-components", @@ -571,16 +571,16 @@ }, { "name": "inc2734/wp-seo", - "version": "1.0.2", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/inc2734/wp-seo.git", - "reference": "ce5207b16502e1fe0232b82d2ed067cbdad937e4" + "reference": "7712520f88dbd2d3115077897669f52dcaac166c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inc2734/wp-seo/zipball/ce5207b16502e1fe0232b82d2ed067cbdad937e4", - "reference": "ce5207b16502e1fe0232b82d2ed067cbdad937e4", + "url": "https://api.github.com/repos/inc2734/wp-seo/zipball/7712520f88dbd2d3115077897669f52dcaac166c", + "reference": "7712520f88dbd2d3115077897669f52dcaac166c", "shasum": "" }, "require": { @@ -610,7 +610,7 @@ } ], "description": "A library for SEO of WordPress.", - "time": "2018-03-16 12:34:15" + "time": "2018-03-27 03:11:57" }, { "name": "inc2734/wp-share-buttons", diff --git a/resources/app/setup/seo.php b/resources/app/setup/seo.php index 59ee43a0..9fc6f188 100644 --- a/resources/app/setup/seo.php +++ b/resources/app/setup/seo.php @@ -78,3 +78,11 @@ add_filter( 'inc2734_wp_seo_twitter_site', function( $twitter_site ) { return get_option( 'mwt-twitter-site' ); } ); + +/** + * Print Google Tag Manager script in body + * + * @return void + */ +remove_action( 'wp_footer', 'inc2734_wp_seo_googletagmanager_noscript_tag_install' ); +add_action( 'mimizuku_prepend_body', 'inc2734_wp_seo_googletagmanager_noscript_tag_install' ); diff --git a/resources/style.css b/resources/style.css index 76c80724..3d45c6ad 100644 --- a/resources/style.css +++ b/resources/style.css @@ -4,7 +4,7 @@ Theme URI: Author: inc2734 Author URI: https://2inc.org Description: -Version: 5.0.0 +Version: 5.0.1 License: GPLv2 or later License URI: license.txt Tags: editor-style, featured-images