mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 09:25:45 +08:00
1.0.1
This commit is contained in:
parent
b14ccb1b03
commit
7e3774b663
168 changed files with 2453 additions and 2788 deletions
|
@ -5,8 +5,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Aristeides Stathopoulos
|
||||
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -55,7 +55,7 @@ class Kirki_Autoload {
|
|||
|
||||
// Check if we've got it cached and ready.
|
||||
if ( isset( $this->cached_paths[ $class_name ] ) && file_exists( $this->cached_paths[ $class_name ] ) ) {
|
||||
include_once $this->cached_paths[ $class_name ];
|
||||
include_once $this->cached_paths[ $class_name ]; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ class Kirki_Autoload {
|
|||
$path = wp_normalize_path( $path );
|
||||
if ( file_exists( $path ) ) {
|
||||
$this->cached_paths[ $class_name ] = $path;
|
||||
include_once $path;
|
||||
include_once $path; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue