diff --git a/functions.php b/functions.php index 5073228..4693689 100644 --- a/functions.php +++ b/functions.php @@ -7,7 +7,7 @@ * @package Sakura */ -define( 'SAKURA_VERSION', '3.0.3.180528' ); +define( 'SAKURA_VERSION', '3.0.5' ); //ini_set('display_errors', true); //error_reporting(E_ALL); @@ -177,7 +177,7 @@ function sakura_scripts() { wp_enqueue_style( 'saukra_css', get_stylesheet_uri(), array(), SAKURA_VERSION ); // If you do not like the CDN, uncomment this line, and comment the next line //wp_enqueue_script( 'app', get_template_directory_uri() . '/js/sakura-app.js', array(), SAKURA_VERSION, true ); - wp_enqueue_script( 'app', 'https://cdn.jsdelivr.net/gh/moezx/cdn@latest/js/other/sakura-app.js', array(), SAKURA_VERSION, true ); + wp_enqueue_script( 'app', 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.4.5/js/other/sakura-app.js', array(), SAKURA_VERSION, true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } diff --git a/options.php b/options.php index bc9995d..774d67f 100644 --- a/options.php +++ b/options.php @@ -738,9 +738,9 @@ function optionsframework_options() { $options[] = array( 'name' => __('jsDelivr 版本号', 'options_framework_theme'), - 'desc' => __('如不清楚是什么意思切勿修改默认值!(默认值为latest)', 'options_framework_theme'), + 'desc' => __('默认值为3.4.5', 'options_framework_theme'), 'id' => 'jsdelivr_cdn_version', - 'std' => 'latest', + 'std' => '3.4.5', 'type' => 'text'); //其他 @@ -750,7 +750,7 @@ function optionsframework_options() { $options[] = array( 'name' => __('关于', 'options_framework_theme'), - 'desc' => __('Theme Sakura v3.0.3.180528 | 主题说明 | 源码', 'options_framework_theme'), + 'desc' => __('Theme Sakura v3.0.5 | 主题说明 | 源码', 'options_framework_theme'), 'id' => 'theme_intro', 'std' => '', 'type' => 'typography '); diff --git a/style.css b/style.css index b1246e8..350052d 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Theme URI: https://2heng.xin/theme-sakura/ Author: Mashiro, Louie, Fuzzz Author URI: http://2heng.xin Description: Akina主题分支(原版地址 http://www.akina.pw/themeakina) -Version: 3.0.3.180528 +Version: 3.0.5 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: akina