mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 06:37:49 +08:00
Update to Kirki 4.2.0
This commit is contained in:
parent
cbfd4f27e4
commit
77ecd4ca69
440 changed files with 6230 additions and 5211 deletions
|
@ -3,17 +3,17 @@
|
|||
* Plugin Name: Kirki Customizer Framework
|
||||
* Plugin URI: https://kirki.org
|
||||
* Description: The Ultimate WordPress Customizer Framework
|
||||
* Author: David Vongries
|
||||
* Author URI: https://davidvongries.com/
|
||||
* Version: 4.0.24
|
||||
* Author: Themeum
|
||||
* Author URI: https://themeum.com
|
||||
* Version: 4.2.0
|
||||
* Text Domain: kirki
|
||||
* Requires at least: 5.2
|
||||
* Requires PHP: 7.0
|
||||
* Requires PHP: 7.1
|
||||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2021, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -22,6 +22,7 @@ use Kirki\L10n;
|
|||
use Kirki\Compatibility\Modules;
|
||||
use Kirki\Compatibility\Framework;
|
||||
use Kirki\Compatibility\Kirki;
|
||||
use Kirki\URL;
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
@ -39,12 +40,19 @@ if ( ! defined( 'KIRKI_PLUGIN_FILE' ) ) {
|
|||
|
||||
require_once __DIR__ . '/lib/class-aricolor.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
require_once __DIR__ . '/lib/class-kirki-color.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
require_once __DIR__ . '/packages/autoload.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
require_once __DIR__ . '/kirki-composer/autoload.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
require_once __DIR__ . '/inc/bootstrap.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
|
||||
// Define the KIRKI_VERSION constant.
|
||||
if ( ! defined( 'KIRKI_VERSION' ) ) {
|
||||
define( 'KIRKI_VERSION', '4.0.24' );
|
||||
define( 'KIRKI_VERSION', '4.2.0' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'KIRKI_PLUGIN_DIR' ) ) {
|
||||
define( 'KIRKI_PLUGIN_DIR', __DIR__ );
|
||||
}
|
||||
|
||||
if ( ! defined( 'KIRKI_PLUGIN_URL' ) ) {
|
||||
define( 'KIRKI_PLUGIN_URL', URL::get_from_path( __DIR__ ) );
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'Kirki' ) ) {
|
||||
|
@ -67,6 +75,7 @@ $kirki->modules = new Modules();
|
|||
// Instantiate classes.
|
||||
new Kirki();
|
||||
new L10n( 'kirki', __DIR__ . '/languages' );
|
||||
new \Kirki\Settings\SetupSettings();
|
||||
|
||||
// ? Bagus: Do we really need to-reinclude this file? It was included above.
|
||||
// Include the ariColor library.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue