Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 6.4.4 |
Comparing to | |
See all releases |
Code changes from version 6.4.3 to 6.4.4
- plugins/font-awesome/class-vk-font-awesome-versions.php +14 -14
- readme.txt +1 -1
- vkExUnit.php +1 -1
plugins/font-awesome/class-vk-font-awesome-versions.php
CHANGED
@@ -6,10 +6,10 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
|
6 |
|
7 |
static function init() {
|
8 |
add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
|
9 |
-
add_action( 'wp_enqueue_scripts', array( __CLASS__, 'load_font_awesome' ) );
|
10 |
add_action( 'admin_init', array( __CLASS__, 'load_admin_font_awesome' ) );
|
11 |
add_action( 'wp_head', array( __CLASS__, 'dynamic_css' ), 3 );
|
12 |
-
|
13 |
}
|
14 |
|
15 |
static function versions() {
|
@@ -75,6 +75,7 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
|
75 |
$current = self::current_info();
|
76 |
if ( $current['type'] === 'svg-with-js' ) {
|
77 |
wp_enqueue_script( 'font-awesome-js', $current['url_js'], array(), $current['version'] );
|
|
|
78 |
} else {
|
79 |
wp_enqueue_style( 'font-awesome', $current['url_css'], array(), $current['version'] );
|
80 |
}
|
@@ -91,18 +92,17 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
|
91 |
* body class 端末識別クラス追加
|
92 |
* @return [type] [description]
|
93 |
*/
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
|
107 |
/**
|
108 |
* Output dynbamic css according to Font Awesome versions
|
6 |
|
7 |
static function init() {
|
8 |
add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
|
9 |
+
add_action( 'wp_enqueue_scripts', array( __CLASS__, 'load_font_awesome' ), 3 );
|
10 |
add_action( 'admin_init', array( __CLASS__, 'load_admin_font_awesome' ) );
|
11 |
add_action( 'wp_head', array( __CLASS__, 'dynamic_css' ), 3 );
|
12 |
+
add_filter( 'body_class', array( __CLASS__, 'add_body_class_fa_version' ) );
|
13 |
}
|
14 |
|
15 |
static function versions() {
|
75 |
$current = self::current_info();
|
76 |
if ( $current['type'] === 'svg-with-js' ) {
|
77 |
wp_enqueue_script( 'font-awesome-js', $current['url_js'], array(), $current['version'] );
|
78 |
+
wp_add_inline_script( 'font-awesome-js', 'FontAwesomeConfig = { searchPseudoElements: true };', 'before' );
|
79 |
} else {
|
80 |
wp_enqueue_style( 'font-awesome', $current['url_css'], array(), $current['version'] );
|
81 |
}
|
92 |
* body class 端末識別クラス追加
|
93 |
* @return [type] [description]
|
94 |
*/
|
95 |
+
static function add_body_class_fa_version( $class ) {
|
96 |
+
$current = get_option( 'vk_font_awesome_version', '5.0_WebFonts_CSS' );
|
97 |
+
if ( $current == '4.7' ) {
|
98 |
+
$class[] = 'fa_v4';
|
99 |
+
} elseif ( $current == '5.0_WebFonts_CSS' ) {
|
100 |
+
$class[] = 'fa_v5_css';
|
101 |
+
} elseif ( $current == '5.0_SVG_JS' ) {
|
102 |
+
$class[] = 'fa_v5_svg';
|
103 |
+
}
|
104 |
+
return $class;
|
105 |
+
}
|
|
|
106 |
|
107 |
/**
|
108 |
* Output dynbamic css according to Font Awesome versions
|
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: 4.4
|
6 |
Tested up to: 4.9.5
|
7 |
-
Stable tag: 6.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.9.5
|
7 |
+
Stable tag: 6.4.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
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: 6.4.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
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: 6.4.4
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|