This commit is contained in:
Alexander Agnarson 2021-07-03 13:19:24 +02:00
parent 35ed27b643
commit 382e1f31c1
15 changed files with 60 additions and 34 deletions

View file

@ -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 ## 3.1.5 - August 10, 2020
* Tested up to WordPress 5.5. * Tested up to WordPress 5.5.

View file

@ -95,12 +95,6 @@
background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important; background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important;
widows: 100% !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 { .customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner {
display: grid; display: grid;
grid-template-columns: 1fr 20px 20px; grid-template-columns: 1fr 20px 20px;
@ -357,6 +351,10 @@
background-color: #00a0d2; background-color: #00a0d2;
color: rgba(255, 255, 255, 0.8); 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 { .customize-control-kirki-radio-image > .image {
display: flex; display: flex;
@ -736,6 +734,10 @@
.customize-control-kirki-toggle { .customize-control-kirki-toggle {
position: relative; position: relative;
} }
.customize-control-kirki-toggle .screen-reader-text:focus {
clip-path: inset(50%);
-webkit-clip-path: inset(50%);
}
.customize-control-kirki-toggle label { .customize-control-kirki-toggle label {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View file

@ -62,7 +62,7 @@ class Kirki_Control {
* *
* @return string the name of the class that will be used to create this 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. // Set a default class name.
$class_name = 'WP_Customize_Control'; $class_name = 'WP_Customize_Control';
@ -98,7 +98,7 @@ class Kirki_Control {
* *
* @access private * @access private
*/ */
final private function set_control_types() { private function set_control_types() {
// Early exit if this has already run. // Early exit if this has already run.
if ( ! empty( self::$control_types ) ) { if ( ! empty( self::$control_types ) ) {

View file

@ -64,7 +64,7 @@ class Kirki_Settings {
* @access private * @access private
* @param array $args The field definition as sanitized in Kirki_Field. * @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). // Get the classname we'll be using to create our setting(s).
$classname = false; $classname = false;
@ -106,7 +106,7 @@ class Kirki_Settings {
* @param string $transport Use refresh|postMessage. * @param string $transport Use refresh|postMessage.
* @param string|array $sanitize_callback A callable sanitization function or method. * @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( $this->wp_customize->add_setting(
new $classname( new $classname(
@ -130,7 +130,7 @@ class Kirki_Settings {
* and that the defined classes actually exist. * and that the defined classes actually exist.
* If a defined class does not exist, it is removed. * 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. // Apply the kirki_setting_types filter.
$this->setting_types = apply_filters( $this->setting_types = apply_filters(

View file

@ -43,7 +43,7 @@ class Kirki_Util {
$plugins = get_plugins(); $plugins = get_plugins();
$_plugin = ''; $_plugin = '';
foreach ( $plugins as $plugin => $args ) { 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; $is_plugin = true;
$_plugin = $plugin; $_plugin = $plugin;
} }
@ -139,7 +139,7 @@ class Kirki_Util {
} }
$exists = false; $exists = false;
foreach ( $plugins['plugins'] as $plugin ) { 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; $exists = true;
} }
} }

View file

@ -5,7 +5,7 @@
* Description: The Ultimate WordPress Customizer Framework * Description: The Ultimate WordPress Customizer Framework
* Author: David Vongries * Author: David Vongries
* Author URI: https://wp-pagebuilderframework.com/ * Author URI: https://wp-pagebuilderframework.com/
* Version: 3.1.5 * Version: 3.1.8
* Text Domain: kirki * Text Domain: kirki
* Requires WP: 4.9 * Requires WP: 4.9
* Requires PHP: 5.3 * Requires PHP: 5.3
@ -40,7 +40,7 @@ if ( ! defined( 'KIRKI_PLUGIN_FILE' ) ) {
// Define the KIRKI_VERSION constant. // Define the KIRKI_VERSION constant.
if ( ! defined( 'KIRKI_VERSION' ) ) { if ( ! defined( 'KIRKI_VERSION' ) ) {
define( 'KIRKI_VERSION', '3.1.3' ); define( 'KIRKI_VERSION', '3.1.8' );
} }
// Make sure the path is properly set. // Make sure the path is properly set.

View file

@ -91,8 +91,10 @@ class Kirki_Modules_CSS {
return; return;
} }
// Admin styles, adds compatibility with the new WordPress editor (Gutenberg). if ( ! is_customize_preview() ) {
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_styles' ), 100 ); // 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' ) ); add_action( 'wp', array( $this, 'print_styles_action' ) );

View file

@ -127,7 +127,7 @@ class Kirki_Modules_Gutenberg {
protected function add_hooks() { protected function add_hooks() {
if ( ! $this->is_disabled() ) { if ( ! $this->is_disabled() ) {
add_action( 'after_setup_theme', array( $this, 'add_theme_support' ), 999 ); 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

View file

@ -2,8 +2,8 @@
Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb
Tags: customizer, options framework, theme, mods, toolkit, gutenberg Tags: customizer, options framework, theme, mods, toolkit, gutenberg
Requires at least: 4.9 Requires at least: 4.9
Tested up to: 5.5 Tested up to: 5.8
Stable tag: 3.1.5 Stable tag: 3.1.8
License: MIT License: MIT
License URI: https://opensource.org/licenses/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 == == Changelog ==
= 3.1.5 - August 10, 2020 = = 3.1.8 - July 1, 2021 =
* Tested up to WordPress 5.5. * Updated Google-Fonts lists.
* Tweak: Updated Google fonts. * Tested up to WordPress 5.8 RC 1.
* Fixed: Added wp-i18n dependency to alpha color picker script. * Fixed: Deprecated warning when editing post/page.
* Fixed: Color picker styles. * Fixed: Styling issue in Radio Buttonset control.
* Fixed: Color picker styles in background control.
* Fixed: Color picker styles in multicolor control.
[See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md). [See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).

View file

@ -18,7 +18,7 @@ $updater = new EDD_Theme_Updater_Admin(
'remote_api_url' => 'https://alx.media', // Site where EDD is hosted 'remote_api_url' => 'https://alx.media', // Site where EDD is hosted
'item_name' => 'Featureon', // Name of theme 'item_name' => 'Featureon', // Name of theme
'theme_slug' => 'featureon', // Theme slug 'theme_slug' => 'featureon', // Theme slug
'version' => '2.4.4', // The current version of this theme 'version' => '2.4.5', // The current version of this theme
'author' => 'AlxMedia', // The author of this theme 'author' => 'AlxMedia', // The author of this theme
'download_id' => '', // Optional, used for generating a license renewal link 'download_id' => '', // Optional, used for generating a license renewal link
'renew_url' => '', // Optional, allows for a custom license renewal link 'renew_url' => '', // Optional, allows for a custom license renewal link

View file

@ -1,7 +1,7 @@
=== Featureon === === Featureon ===
Contributors: alxmedia Contributors: alxmedia
Requires at least: 5.0 Requires at least: 5.0
Tested up to: 5.5 Tested up to: 5.8
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: blog, one-column, two-columns, three-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background Tags: blog, one-column, two-columns, three-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background
@ -74,6 +74,9 @@ Source: https://stocksnap.io
== Changelog == == Changelog ==
= 2.4.5 - 2021-07-03 =
* Updated to Kirki 3.1.8
= 2.4.4 - 2021-05-26 = = 2.4.4 - 2021-05-26 =
* Fixed premium theme updater version number issue * Fixed premium theme updater version number issue

View file

@ -1,10 +1,10 @@
/* /*
Theme Name: Featureon Theme Name: Featureon
Theme URI: http://alx.media/themes/featureon/ Theme URI: http://alx.media/themes/featureon/
Version: 2.4.4 Version: 2.4.5
Requires at least: 5.0 Requires at least: 5.0
Requires PHP: 5.6 Requires PHP: 5.6
Tested up to: 5.6 Tested up to: 5.8
Description: <a href="http://alx.media/themes/featureon/">Featureon</a> is a responsive 100% high resolution theme for blogs and magazines. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-2 sidebars to the left or right that can be uniquely specified for each page or post, 300px / 300px fixed width sidebars, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured stories and carousel, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features. Description: <a href="http://alx.media/themes/featureon/">Featureon</a> is a responsive 100% high resolution theme for blogs and magazines. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-2 sidebars to the left or right that can be uniquely specified for each page or post, 300px / 300px fixed width sidebars, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured stories and carousel, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features.
Author: Alexander Agnarson Author: Alexander Agnarson
Author URI: http://alx.media Author URI: http://alx.media