Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 9.15.2.1 |
Comparing to | |
See all releases |
Code changes from version 9.15.2.0 to 9.15.2.1
- admin/admin.php +1 -0
- gulpfile.js +3 -0
- inc/sns/package/{block.js → block.jsx} +5 -10
- inc/sns/package/block.min.js +1 -2
- readme.txt +4 -1
- vkExUnit.php +1 -1
admin/admin.php
CHANGED
@@ -24,6 +24,7 @@ require dirname( __FILE__ ) . '/admin-post-metabox.php';
|
|
24 |
|
25 |
// 親メニューが出力される前に フックを通さずに直接読み込むとページが表示されなくなる
|
26 |
add_action( 'plugin_loaded', 'veu_load_main_setting_page' );
|
|
|
27 |
function veu_load_main_setting_page() {
|
28 |
require_once dirname( __FILE__ ) . '/admin-main-setting-page.php';
|
29 |
require_once dirname( __FILE__ ) . '/vk-admin/vk-admin-config.php';
|
24 |
|
25 |
// 親メニューが出力される前に フックを通さずに直接読み込むとページが表示されなくなる
|
26 |
add_action( 'plugin_loaded', 'veu_load_main_setting_page' );
|
27 |
+
add_action( 'network_plugin_loaded', 'veu_load_main_setting_page' );
|
28 |
function veu_load_main_setting_page() {
|
29 |
require_once dirname( __FILE__ ) . '/admin-main-setting-page.php';
|
30 |
require_once dirname( __FILE__ ) . '/vk-admin/vk-admin-config.php';
|
gulpfile.js
CHANGED
@@ -33,6 +33,9 @@ gulp.task('block', function () {
|
|
33 |
.pipe(babel({
|
34 |
plugins: ['transform-react-jsx']
|
35 |
}))
|
|
|
|
|
|
|
36 |
.pipe(jsmin())
|
37 |
.pipe(rename({suffix: '.min'}))
|
38 |
.pipe(gulp.dest('./inc/sns/package'));
|
33 |
.pipe(babel({
|
34 |
plugins: ['transform-react-jsx']
|
35 |
}))
|
36 |
+
.pipe(babel({
|
37 |
+
presets: ['@babel/env']
|
38 |
+
}))
|
39 |
.pipe(jsmin())
|
40 |
.pipe(rename({suffix: '.min'}))
|
41 |
.pipe(gulp.dest('./inc/sns/package'));
|
inc/sns/package/{block.js → block.jsx}
RENAMED
@@ -1,10 +1,11 @@
|
|
1 |
|
2 |
-
const { __ } = wp.i18n
|
3 |
-
const { registerBlockType } = wp.blocks
|
4 |
-
const { ServerSideRender, PanelBody } = wp.components
|
5 |
-
const { Fragment } = wp.element
|
6 |
const { InspectorControls } =
|
7 |
wp.blockEditor && wp.blockEditor.BlockEdit ? wp.blockEditor : wp.editor;
|
|
|
8 |
|
9 |
registerBlockType("vk-blocks/share-button", {
|
10 |
title: __("Share button", "vk-all-in-one-expansion-unit"),
|
@@ -13,12 +14,6 @@ registerBlockType("vk-blocks/share-button", {
|
|
13 |
edit: ({className}) => {
|
14 |
return (
|
15 |
<Fragment>
|
16 |
-
<InspectorControls>
|
17 |
-
<PanelBody title={__("Share Button setting", "vew-blocks")}>
|
18 |
-
<p>{__("If set enable sharebutton, display share buttons.", "vew-blocks")}</p>
|
19 |
-
</PanelBody>
|
20 |
-
</InspectorControls>
|
21 |
-
|
22 |
<div className={`${className} vew_share_button_block`} >
|
23 |
<ServerSideRender
|
24 |
block="vk-blocks/share-button"
|
1 |
|
2 |
+
const { __ } = wp.i18n
|
3 |
+
const { registerBlockType } = wp.blocks
|
4 |
+
const { ServerSideRender, PanelBody } = wp.components
|
5 |
+
const { Fragment } = wp.element
|
6 |
const { InspectorControls } =
|
7 |
wp.blockEditor && wp.blockEditor.BlockEdit ? wp.blockEditor : wp.editor;
|
8 |
+
const React = wp.element
|
9 |
|
10 |
registerBlockType("vk-blocks/share-button", {
|
11 |
title: __("Share button", "vk-all-in-one-expansion-unit"),
|
14 |
edit: ({className}) => {
|
15 |
return (
|
16 |
<Fragment>
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
<div className={`${className} vew_share_button_block`} >
|
18 |
<ServerSideRender
|
19 |
block="vk-blocks/share-button"
|
inc/sns/package/block.min.js
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
|
2 |
-
const{__}=wp.i18n;const{registerBlockType}=wp.blocks;const{ServerSideRender,PanelBody}=wp.components;const{Fragment}=wp.element;const{InspectorControls}=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor;registerBlockType("vk-blocks/share-button",{title:__("Share button","vk-all-in-one-expansion-unit"),icon:'share',category:"vk-blocks-cat",edit:({className})=>{return React.createElement(Fragment,null,React.createElement(InspectorControls,null,React.createElement(PanelBody,{title:__("Share Button setting","vew-blocks")},React.createElement("p",null,__("if set enable sharebutton, display share buttons.","vew-blocks")))),React.createElement("div",{className:`${className} vew_share_button_block`},React.createElement(ServerSideRender,{block:"vk-blocks/share-button",attributes:{position:'After'}})));},save:()=>{return null;}});
|
1 |
+
"use strict";var __=wp.i18n.__,registerBlockType=wp.blocks.registerBlockType,_wp$components=wp.components,ServerSideRender=_wp$components.ServerSideRender,PanelBody=_wp$components.PanelBody,Fragment=wp.element.Fragment,_ref=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,InspectorControls=_ref.InspectorControls,React=wp.element;registerBlockType("vk-blocks/share-button",{title:__("Share button","vk-all-in-one-expansion-unit"),icon:"share",category:"vk-blocks-cat",edit:function(e){var t=e.className;return React.createElement(Fragment,null,React.createElement("div",{className:"".concat(t," vew_share_button_block")},React.createElement(ServerSideRender,{block:"vk-blocks/share-button",attributes:{position:"After"}})))},save:function(){return null}});
|
|
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.3.2
|
7 |
-
Stable tag: 9.15.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -93,6 +93,9 @@ e.g.
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
96 |
= 9.15.0.0 =
|
97 |
[ Add function ][ Contactform7 Asset Optimize ] Contact Form Speeding up
|
98 |
[ Specification change ] JacaScript refactaring ( Speeding up )
|
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.3.2
|
7 |
+
Stable tag: 9.15.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 9.15.2.0 =
|
97 |
+
[ BugFix ] MuitiSite Bug fix
|
98 |
+
|
99 |
= 9.15.0.0 =
|
100 |
[ Add function ][ Contactform7 Asset Optimize ] Contact Form Speeding up
|
101 |
[ Specification change ] JacaScript refactaring ( Speeding up )
|
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.15.2.
|
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.15.2.1
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vk-all-in-one-expansion-unit
|
9 |
* Domain Path: /languages
|