Kirki 3.1.4, added "Requires at least" and "Requires PHP" version to style.css

This commit is contained in:
Alexander Agnarson 2020-07-12 11:17:58 +02:00
parent 5d52b24ea7
commit 69ce8914a7
150 changed files with 1061 additions and 835 deletions

View file

@ -5,7 +5,7 @@
* @package Kirki
* @category Core
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2020, David Vongries
* @license https://opensource.org/licenses/MIT
* @since 3.1.0
*/
@ -68,7 +68,7 @@ class Kirki_Fonts_Downloader {
// If the fonts folder don't exist, create it.
if ( ! file_exists( WP_CONTENT_DIR . '/fonts' ) ) {
$this->get_filesystem()->mkdir( WP_CONTENT_DIR . '/fonts', FS_CHMOD_DIR );
wp_mkdir_p( WP_CONTENT_DIR . '/fonts' );
}
foreach ( $font_files as $font_family => $files ) {
@ -78,7 +78,7 @@ class Kirki_Fonts_Downloader {
// If the folder doesn't exist, create it.
if ( ! file_exists( $folder_path ) ) {
$this->get_filesystem()->mkdir( $folder_path, FS_CHMOD_DIR );
wp_mkdir_p( $folder_path );
}
foreach ( $files as $url ) {