Version Description
[ Bug fix ] Admin transration
Download this release
Release Info
Developer | vektor-inc |
Plugin | VK Block Patterns |
Version | 1.16.5 |
Comparing to | |
See all releases |
Code changes from version 1.16.4 to 1.16.5
- admin/admin.php +1 -10
- readme.txt +2 -2
- vk-block-patterns.php +1 -1
admin/admin.php
CHANGED
@@ -126,6 +126,7 @@ function vbp_admin_enqueue_scripts( $hook_suffix ) {
|
|
126 |
$asset['version'],
|
127 |
true
|
128 |
);
|
|
|
129 |
|
130 |
// 画面読み込み時に保存値を localize_script を使って渡す.
|
131 |
// boolean は 空 '' false または 1 true を渡す.
|
@@ -133,13 +134,3 @@ function vbp_admin_enqueue_scripts( $hook_suffix ) {
|
|
133 |
wp_localize_script( 'vk-patterns-admin-js', 'vkpOptions', $vbp_options );
|
134 |
}
|
135 |
add_action( 'admin_enqueue_scripts', 'vbp_admin_enqueue_scripts' );
|
136 |
-
|
137 |
-
/**
|
138 |
-
* Add admin js transration
|
139 |
-
*
|
140 |
-
* @return void
|
141 |
-
*/
|
142 |
-
function vbp_admin_script_translations() {
|
143 |
-
wp_set_script_translations( 'vk-patterns-admin-js', 'vk-block-patterns' );
|
144 |
-
}
|
145 |
-
add_action( 'init', 'vbp_admin_script_translations' );
|
126 |
$asset['version'],
|
127 |
true
|
128 |
);
|
129 |
+
wp_set_script_translations( 'vk-patterns-admin-js', 'vk-block-patterns' );
|
130 |
|
131 |
// 画面読み込み時に保存値を localize_script を使って渡す.
|
132 |
// boolean は 空 '' false または 1 true を渡す.
|
134 |
wp_localize_script( 'vk-patterns-admin-js', 'vkpOptions', $vbp_options );
|
135 |
}
|
136 |
add_action( 'admin_enqueue_scripts', 'vbp_admin_enqueue_scripts' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.8
|
6 |
Tested up to: 5.9.3
|
7 |
-
Stable tag: 1.16.
|
8 |
Requires PHP: 7.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -16,7 +16,7 @@ When you activate this plugin that create new custom post type for custom block
|
|
16 |
|
17 |
== Changelog ==
|
18 |
|
19 |
-
= 1.16.
|
20 |
[ Bug fix ] Admin transration
|
21 |
|
22 |
= 1.16.1 =
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.8
|
6 |
Tested up to: 5.9.3
|
7 |
+
Stable tag: 1.16.5
|
8 |
Requires PHP: 7.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
16 |
|
17 |
== Changelog ==
|
18 |
|
19 |
+
= 1.16.5 =
|
20 |
[ Bug fix ] Admin transration
|
21 |
|
22 |
= 1.16.1 =
|
vk-block-patterns.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VK Block Patterns
|
4 |
* Plugin URI: https://github.com/vektor-inc/vk-block-patterns
|
5 |
* Description: You can make and register your original custom block patterns.
|
6 |
-
* Version: 1.16.
|
7 |
* Requires at least: 5.8
|
8 |
* Author: Vektor,Inc.
|
9 |
* Author URI: https://vektor-inc.co.jp
|
3 |
* Plugin Name: VK Block Patterns
|
4 |
* Plugin URI: https://github.com/vektor-inc/vk-block-patterns
|
5 |
* Description: You can make and register your original custom block patterns.
|
6 |
+
* Version: 1.16.5
|
7 |
* Requires at least: 5.8
|
8 |
* Author: Vektor,Inc.
|
9 |
* Author URI: https://vektor-inc.co.jp
|