Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 56e8b88

Browse files
Merge pull request #140 from technote-space/release/v2.0.2
v2.0.2
2 parents f21850a + c452180 commit 56e8b88

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
## 要件
3535
- PHP 5.6 以上
36-
- WordPress 5.2 以上
36+
- WordPress 4.6 以上
3737

3838
## 導入手順
3939
1. 管理画面のプラグインから「新規追加」
@@ -52,7 +52,7 @@
5252
デフォルト設定画面で設定した値でマーカーが動作します。
5353
![ボタン1](https://raw.githubusercontent.com/technote-space/marker-animation/images/.github/images/201902051620.png)
5454

55-
サイドバーで細かく値を指定できます。
55+
サイドバーで細かく値を指定できます。 (WordPress v5.2以上)
5656
![詳細設定](https://raw.githubusercontent.com/technote-space/marker-animation/images/.github/images/201905201416.png)
5757
### マーカー設定で「ブロックエディタにボタン表示させるかどうか」を有効にして登録したボタン
5858
マーカー設定で登録した値(空にした値はデフォルトの値)でマーカーが動作します。

assets/js/marker-animation-gutenberg.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configs/config.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @version 2.0.0
3+
* @version 2.0.2
44
* @author Technote
55
* @since 1.0.0
66
* @copyright Technote All Rights Reserved
@@ -14,12 +14,6 @@
1414

1515
return [
1616

17-
// required wordpress version
18-
'required_wordpress_version' => '5.2',
19-
20-
// db version
21-
'db_version' => '0.1.0',
22-
2317
// menu image url
2418
'menu_image' => 'icon-24x24.png',
2519

languages/marker-animation-ja.mo

0 Bytes
Binary file not shown.

languages/marker-animation-ja.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: marker-animation\n"
44
"POT-Creation-Date: 2018-07-01 17:47+0900\n"
5-
"PO-Revision-Date: 2019-05-26 02:59+0900\n"
5+
"PO-Revision-Date: 2019-05-28 21:36+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"MIME-Version: 1.0\n"

marker-animation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin URI: https://wordpress.org/plugins/marker-animation
55
Description: This plugin will add "Marker animation" function
66
Author: Technote
7-
Version: 2.0.1
7+
Version: 2.0.2
88
Author URI: https://technote.space
99
Text Domain: marker-animation
1010
Domain Path: /languages/

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Marker Animation ===
22
Contributors: technote0space
33
Tags: marker, marker animation, highlighter, 蛍光ペン, マーカー, アンダーライン
4-
Requires at least: 5.2
4+
Requires at least: 4.6
55
Requires PHP: 5.6
66
Tested up to: 5.2
7-
Stable tag: 2.0.1
7+
Stable tag: 2.0.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -43,6 +43,9 @@ The classic editor will not be supported on next major update (scheduled for 201
4343

4444
== Upgrade Notice ==
4545

46+
= 2.0.2 =
47+
* [すべての差分](https://github.com/technote-space/marker-animation/pull/140)
48+
4649
= 2.0.1 =
4750
* ツールバーボタンの挙動を修正しました。 [詳細](https://github.com/technote-space/marker-animation/issues/132)
4851
* [すべての差分](https://github.com/technote-space/marker-animation/pull/139)
@@ -104,6 +107,9 @@ The classic editor will not be supported on next major update (scheduled for 201
104107

105108
== Changelog ==
106109

110+
= 2.0.2 (2019/6/1) =
111+
* Changed: [Required WordPress version](https://github.com/technote-space/marker-animation/issues/141)
112+
107113
= 2.0.1 (2019/6/1) =
108114
* Fixed: [Behavior of Toolbar button](https://github.com/technote-space/marker-animation/issues/132)
109115

src/classes/models/editor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @version 2.0.0
3+
* @version 2.0.2
44
* @author Technote
55
* @since 1.0.0
66
* @copyright Technote All Rights Reserved
@@ -64,6 +64,7 @@ private function get_editor_params() {
6464
'prefix' => $assets->get_data_prefix(),
6565
'default_icon' => $this->get_img_url( 'icon-24x24.png' ),
6666
'append_nav_item_class_name' => true,
67+
'is_valid_detail_setting' => $this->app->utility->compare_wp_version( '5.2', '>=' ),
6768
];
6869
}
6970
}

0 commit comments

Comments
 (0)