Version Description
[ Bug fix ] Cope with before 5.0
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 9.48.3.0 |
Comparing to | |
See all releases |
Code changes from version 9.48.2.0 to 9.48.3.0
- inc/child-page-index/child-page-index.php +23 -20
- inc/page-list-ancestor/page-list-ancestor.php +19 -15
- inc/sitemap-page/sitemap-page.php +17 -15
- readme.txt +4 -1
- vkExUnit.php +1 -1
inc/child-page-index/child-page-index.php
CHANGED
@@ -218,26 +218,29 @@ add_action( 'init', 'veu_child_page_index_setup', 15 );
|
|
218 |
function veu_child_page_index_setup() {
|
219 |
global $common_attributes;
|
220 |
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
'
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
'
|
232 |
-
|
|
|
|
|
233 |
),
|
|
|
234 |
),
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
}
|
218 |
function veu_child_page_index_setup() {
|
219 |
global $common_attributes;
|
220 |
|
221 |
+
if ( function_exists( 'register_block_type' ) ){
|
222 |
+
register_block_type(
|
223 |
+
'vk-blocks/child-page-index',
|
224 |
+
array(
|
225 |
+
'attributes' => array_merge(
|
226 |
+
array(
|
227 |
+
'className' => array(
|
228 |
+
'type' => 'string',
|
229 |
+
'default' => ''
|
230 |
+
),
|
231 |
+
'postId' => array(
|
232 |
+
'type' => 'number',
|
233 |
+
'default' => -1
|
234 |
+
),
|
235 |
),
|
236 |
+
$common_attributes
|
237 |
),
|
238 |
+
'editor_script' => 'veu-block',
|
239 |
+
'editor_style' => 'veu-block-editor',
|
240 |
+
'render_callback' => 'veu_childPageIndex_block_callback',
|
241 |
+
'supports' => [],
|
242 |
+
)
|
243 |
+
);
|
244 |
+
}
|
245 |
+
|
246 |
}
|
inc/page-list-ancestor/page-list-ancestor.php
CHANGED
@@ -142,24 +142,28 @@ function veu_page_list_ancestor_save_custom_field( $post_id ) {
|
|
142 |
add_action( 'init', 'veu_page_list_ancestor_block_setup', 15 );
|
143 |
function veu_page_list_ancestor_block_setup() {
|
144 |
global $common_attributes;
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
'
|
149 |
-
|
150 |
-
|
151 |
-
'
|
|
|
|
|
|
|
|
|
152 |
),
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
);
|
161 |
}
|
162 |
|
|
|
163 |
function veu_pageListAncestor_block_callback( $attr=array() ) {
|
164 |
include dirname(dirname(__FILE__)) .'/vk-blocks/hidden-utils.php';
|
165 |
|
142 |
add_action( 'init', 'veu_page_list_ancestor_block_setup', 15 );
|
143 |
function veu_page_list_ancestor_block_setup() {
|
144 |
global $common_attributes;
|
145 |
+
|
146 |
+
if ( function_exists( 'register_block_type' ) ){
|
147 |
+
register_block_type(
|
148 |
+
'vk-blocks/page-list-ancestor',
|
149 |
+
array(
|
150 |
+
'attributes' => array(
|
151 |
+
'className' => array(
|
152 |
+
'type' => 'string',
|
153 |
+
'default' => ''
|
154 |
+
),
|
155 |
+
$common_attributes
|
156 |
),
|
157 |
+
'editor_script' => 'veu-block',
|
158 |
+
'editor_style' => 'veu-block-editor',
|
159 |
+
'render_callback' => 'veu_pageListAncestor_block_callback',
|
160 |
+
'supports' => [],
|
161 |
+
)
|
162 |
+
);
|
163 |
+
}
|
|
|
164 |
}
|
165 |
|
166 |
+
|
167 |
function veu_pageListAncestor_block_callback( $attr=array() ) {
|
168 |
include dirname(dirname(__FILE__)) .'/vk-blocks/hidden-utils.php';
|
169 |
|
inc/sitemap-page/sitemap-page.php
CHANGED
@@ -281,20 +281,22 @@ function vkExUnit_save_custom_field_sitemapData( $post_id ) {
|
|
281 |
add_action( 'init', 'veu_sitemap_block_setup', 15 );
|
282 |
function veu_sitemap_block_setup() {
|
283 |
global $common_attributes;
|
284 |
-
register_block_type
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
'
|
289 |
-
'
|
290 |
-
|
|
|
|
|
|
|
291 |
),
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
);
|
300 |
}
|
281 |
add_action( 'init', 'veu_sitemap_block_setup', 15 );
|
282 |
function veu_sitemap_block_setup() {
|
283 |
global $common_attributes;
|
284 |
+
if ( function_exists( 'register_block_type' ) ){
|
285 |
+
register_block_type(
|
286 |
+
'vk-blocks/sitemap',
|
287 |
+
array(
|
288 |
+
'attributes' => array(
|
289 |
+
'className' => array(
|
290 |
+
'type' => 'string',
|
291 |
+
'default' => '',
|
292 |
+
),
|
293 |
+
$common_attributes
|
294 |
),
|
295 |
+
'editor_script' => 'veu-block',
|
296 |
+
'editor_style' => 'veu-block-editor',
|
297 |
+
'render_callback' => 'vkExUnit_sitemap',
|
298 |
+
'supports' => [],
|
299 |
+
)
|
300 |
+
);
|
301 |
+
}
|
|
|
302 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 5.0.0
|
6 |
Tested up to: 5.5.3
|
7 |
-
Stable tag: 9.48.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -81,6 +81,9 @@ e.g.
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
84 |
= 9.48.2.0 =
|
85 |
[ Specification Change ] Load Term Color on init
|
86 |
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 5.0.0
|
6 |
Tested up to: 5.5.3
|
7 |
+
Stable tag: 9.48.3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
81 |
|
82 |
== Changelog ==
|
83 |
|
84 |
+
= 9.48.3.0 =
|
85 |
+
[ Bug fix ] Cope with before 5.0
|
86 |
+
|
87 |
= 9.48.2.0 =
|
88 |
[ Specification Change ] Load Term Color on init
|
89 |
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
5 |
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
-
* Version: 9.48.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vk-all-in-one-expansion-unit
|
9 |
* Domain Path: /languages
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
5 |
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
+
* Version: 9.48.3.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vk-all-in-one-expansion-unit
|
9 |
* Domain Path: /languages
|