mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 14:27:40 +08:00
1.4.5
This commit is contained in:
parent
569aa227f9
commit
f9ab2017d0
15 changed files with 60 additions and 34 deletions
|
@ -1,3 +1,24 @@
|
|||
## 3.1.8 - July 1, 2021
|
||||
|
||||
* Updated Google-Fonts lists.
|
||||
* Tested up to WordPress 5.8 RC 1.
|
||||
* Fixed: Deprecated warning when editing post/page.
|
||||
* Fixed: Styling issue in Radio Buttonset control.
|
||||
|
||||
## 3.1.7 - June 21, 2021
|
||||
|
||||
* Updated Google-Fonts lists.
|
||||
* Tested up to WordPress 5.8 Beta 1.
|
||||
* Fixed: PHP 8 warnings.
|
||||
* Fixed: Missing Kirki styles in WordPress 5.8.
|
||||
* Fixed: https://wordpress.org/support/topic/plugin-title-conflict/ in https://github.com/kirki-framework/kirki/commit/0fb25dca4d1c4460ec45dc194d5210f854b1b737
|
||||
|
||||
## 3.1.6 - December 07, 2020
|
||||
|
||||
* Tested up to WordPress 5.6.
|
||||
* Tweak: Updated Google fonts.
|
||||
* Fixed: Color picker styling issue in Chrome.
|
||||
|
||||
## 3.1.5 - August 10, 2020
|
||||
|
||||
* Tested up to WordPress 5.5.
|
||||
|
|
|
@ -95,12 +95,6 @@
|
|||
background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important;
|
||||
widows: 100% !important;
|
||||
}
|
||||
.customize-control-kirki-color .kirki-input-container[data-has-alpha=false] .iris-picker.iris-border {
|
||||
width: 100% !important;
|
||||
}
|
||||
.customize-control-kirki-color .kirki-input-container[data-has-alpha=false] .iris-picker .iris-square {
|
||||
margin-right: 7px !important;
|
||||
}
|
||||
.customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 20px 20px;
|
||||
|
@ -357,6 +351,10 @@
|
|||
background-color: #00a0d2;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
.customize-control-kirki-radio-buttonset .screen-reader-text:focus {
|
||||
clip-path: inset(50%);
|
||||
-webkit-clip-path: inset(50%);
|
||||
}
|
||||
|
||||
.customize-control-kirki-radio-image > .image {
|
||||
display: flex;
|
||||
|
@ -736,6 +734,10 @@
|
|||
.customize-control-kirki-toggle {
|
||||
position: relative;
|
||||
}
|
||||
.customize-control-kirki-toggle .screen-reader-text:focus {
|
||||
clip-path: inset(50%);
|
||||
-webkit-clip-path: inset(50%);
|
||||
}
|
||||
.customize-control-kirki-toggle label {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
|
@ -62,7 +62,7 @@ class Kirki_Control {
|
|||
*
|
||||
* @return string the name of the class that will be used to create this control.
|
||||
*/
|
||||
final private function get_control_class_name( $args ) {
|
||||
private function get_control_class_name( $args ) {
|
||||
|
||||
// Set a default class name.
|
||||
$class_name = 'WP_Customize_Control';
|
||||
|
@ -98,7 +98,7 @@ class Kirki_Control {
|
|||
*
|
||||
* @access private
|
||||
*/
|
||||
final private function set_control_types() {
|
||||
private function set_control_types() {
|
||||
|
||||
// Early exit if this has already run.
|
||||
if ( ! empty( self::$control_types ) ) {
|
||||
|
|
|
@ -64,7 +64,7 @@ class Kirki_Settings {
|
|||
* @access private
|
||||
* @param array $args The field definition as sanitized in Kirki_Field.
|
||||
*/
|
||||
final private function add_settings( $args = array() ) {
|
||||
private function add_settings( $args = array() ) {
|
||||
|
||||
// Get the classname we'll be using to create our setting(s).
|
||||
$classname = false;
|
||||
|
@ -106,7 +106,7 @@ class Kirki_Settings {
|
|||
* @param string $transport Use refresh|postMessage.
|
||||
* @param string|array $sanitize_callback A callable sanitization function or method.
|
||||
*/
|
||||
final private function add_setting( $classname, $setting, $default, $type, $capability, $transport, $sanitize_callback ) {
|
||||
private function add_setting( $classname, $setting, $default, $type, $capability, $transport, $sanitize_callback ) {
|
||||
|
||||
$this->wp_customize->add_setting(
|
||||
new $classname(
|
||||
|
@ -130,7 +130,7 @@ class Kirki_Settings {
|
|||
* and that the defined classes actually exist.
|
||||
* If a defined class does not exist, it is removed.
|
||||
*/
|
||||
final private function set_setting_types() {
|
||||
private function set_setting_types() {
|
||||
|
||||
// Apply the kirki_setting_types filter.
|
||||
$this->setting_types = apply_filters(
|
||||
|
|
|
@ -43,7 +43,7 @@ class Kirki_Util {
|
|||
$plugins = get_plugins();
|
||||
$_plugin = '';
|
||||
foreach ( $plugins as $plugin => $args ) {
|
||||
if ( ! $is_plugin && isset( $args['Name'] ) && ( 'Kirki' === $args['Name'] || 'Kirki Toolkit' === $args['Name'] ) ) {
|
||||
if ( ! $is_plugin && isset( $args['Name'] ) && ( 'Kirki' === $args['Name'] || 'Kirki Toolkit' === $args['Name'] || 'Kirki Customizer Framework' === $args['Name'] ) ) {
|
||||
$is_plugin = true;
|
||||
$_plugin = $plugin;
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ class Kirki_Util {
|
|||
}
|
||||
$exists = false;
|
||||
foreach ( $plugins['plugins'] as $plugin ) {
|
||||
if ( isset( $plugin['Name'] ) && 'Kirki Toolkit' === $plugin['Name'] ) {
|
||||
if ( isset( $plugin['Name'] ) && ( 'Kirki' === $args['Name'] || 'Kirki Toolkit' === $args['Name'] || 'Kirki Customizer Framework' === $args['Name'] ) ) {
|
||||
$exists = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Description: The Ultimate WordPress Customizer Framework
|
||||
* Author: David Vongries
|
||||
* Author URI: https://wp-pagebuilderframework.com/
|
||||
* Version: 3.1.5
|
||||
* Version: 3.1.8
|
||||
* Text Domain: kirki
|
||||
* Requires WP: 4.9
|
||||
* Requires PHP: 5.3
|
||||
|
@ -40,7 +40,7 @@ if ( ! defined( 'KIRKI_PLUGIN_FILE' ) ) {
|
|||
|
||||
// Define the KIRKI_VERSION constant.
|
||||
if ( ! defined( 'KIRKI_VERSION' ) ) {
|
||||
define( 'KIRKI_VERSION', '3.1.3' );
|
||||
define( 'KIRKI_VERSION', '3.1.8' );
|
||||
}
|
||||
|
||||
// Make sure the path is properly set.
|
||||
|
|
|
@ -91,8 +91,10 @@ class Kirki_Modules_CSS {
|
|||
return;
|
||||
}
|
||||
|
||||
// Admin styles, adds compatibility with the new WordPress editor (Gutenberg).
|
||||
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_styles' ), 100 );
|
||||
if ( ! is_customize_preview() ) {
|
||||
// Admin styles, adds compatibility with the new WordPress editor (Gutenberg).
|
||||
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_styles' ), 100 );
|
||||
}
|
||||
|
||||
add_action( 'wp', array( $this, 'print_styles_action' ) );
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ class Kirki_Modules_Gutenberg {
|
|||
protected function add_hooks() {
|
||||
if ( ! $this->is_disabled() ) {
|
||||
add_action( 'after_setup_theme', array( $this, 'add_theme_support' ), 999 );
|
||||
add_filter( 'block_editor_settings', array( $this, 'enqueue' ) );
|
||||
add_filter( 'block_editor_settings_all', array( $this, 'enqueue' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2,8 +2,8 @@
|
|||
Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb
|
||||
Tags: customizer, options framework, theme, mods, toolkit, gutenberg
|
||||
Requires at least: 4.9
|
||||
Tested up to: 5.5
|
||||
Stable tag: 3.1.5
|
||||
Tested up to: 5.8
|
||||
Stable tag: 3.1.8
|
||||
License: MIT
|
||||
License URI: https://opensource.org/licenses/MIT
|
||||
|
||||
|
@ -87,13 +87,11 @@ If you want to integrate Kirki in your theme or plugin, please read the instruct
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 3.1.5 - August 10, 2020 =
|
||||
= 3.1.8 - July 1, 2021 =
|
||||
|
||||
* Tested up to WordPress 5.5.
|
||||
* Tweak: Updated Google fonts.
|
||||
* Fixed: Added wp-i18n dependency to alpha color picker script.
|
||||
* Fixed: Color picker styles.
|
||||
* Fixed: Color picker styles in background control.
|
||||
* Fixed: Color picker styles in multicolor control.
|
||||
* Updated Google-Fonts lists.
|
||||
* Tested up to WordPress 5.8 RC 1.
|
||||
* Fixed: Deprecated warning when editing post/page.
|
||||
* Fixed: Styling issue in Radio Buttonset control.
|
||||
|
||||
[See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).
|
||||
|
|
|
@ -18,7 +18,7 @@ $updater = new EDD_Theme_Updater_Admin(
|
|||
'remote_api_url' => 'https://alx.media', // Site where EDD is hosted
|
||||
'item_name' => 'Split', // Name of theme
|
||||
'theme_slug' => 'split', // Theme slug
|
||||
'version' => '1.4.4', // The current version of this theme
|
||||
'version' => '1.4.5', // The current version of this theme
|
||||
'author' => 'AlxMedia', // The author of this theme
|
||||
'download_id' => '', // Optional, used for generating a license renewal link
|
||||
'renew_url' => '', // Optional, allows for a custom license renewal link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue