mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
PHP 7.2 supported
This commit is contained in:
parent
a3b66fd9b5
commit
64b2ebae80
@ -7,7 +7,7 @@
|
|||||||
* @package Sakura
|
* @package Sakura
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define( 'SAKURA_VERSION', '3.0.3.180528' );
|
define( 'SAKURA_VERSION', '3.0.5' );
|
||||||
|
|
||||||
//ini_set('display_errors', true);
|
//ini_set('display_errors', true);
|
||||||
//error_reporting(E_ALL);
|
//error_reporting(E_ALL);
|
||||||
@ -177,7 +177,7 @@ function sakura_scripts() {
|
|||||||
wp_enqueue_style( 'saukra_css', get_stylesheet_uri(), array(), SAKURA_VERSION );
|
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
|
// 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', 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' ) ) {
|
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||||
wp_enqueue_script( 'comment-reply' );
|
wp_enqueue_script( 'comment-reply' );
|
||||||
}
|
}
|
||||||
|
@ -738,9 +738,9 @@ function optionsframework_options() {
|
|||||||
|
|
||||||
$options[] = array(
|
$options[] = array(
|
||||||
'name' => __('jsDelivr 版本号', 'options_framework_theme'),
|
'name' => __('jsDelivr 版本号', 'options_framework_theme'),
|
||||||
'desc' => __('如不清楚是什么意思切勿修改默认值!(默认值为latest)', 'options_framework_theme'),
|
'desc' => __('默认值为3.4.5', 'options_framework_theme'),
|
||||||
'id' => 'jsdelivr_cdn_version',
|
'id' => 'jsdelivr_cdn_version',
|
||||||
'std' => 'latest',
|
'std' => '3.4.5',
|
||||||
'type' => 'text');
|
'type' => 'text');
|
||||||
|
|
||||||
//其他
|
//其他
|
||||||
@ -750,7 +750,7 @@ function optionsframework_options() {
|
|||||||
|
|
||||||
$options[] = array(
|
$options[] = array(
|
||||||
'name' => __('关于', 'options_framework_theme'),
|
'name' => __('关于', 'options_framework_theme'),
|
||||||
'desc' => __('Theme Sakura v3.0.3.180528 | <a href="https://2heng.xin/theme-sakura/">主题说明</a> | <a href="https://github.com/mashirozx/Sakura/">源码</a>', 'options_framework_theme'),
|
'desc' => __('Theme Sakura v3.0.5 | <a href="https://2heng.xin/theme-sakura/">主题说明</a> | <a href="https://github.com/mashirozx/Sakura/">源码</a>', 'options_framework_theme'),
|
||||||
'id' => 'theme_intro',
|
'id' => 'theme_intro',
|
||||||
'std' => '',
|
'std' => '',
|
||||||
'type' => 'typography ');
|
'type' => 'typography ');
|
||||||
|
@ -5,7 +5,7 @@ Theme URI: https://2heng.xin/theme-sakura/
|
|||||||
Author: Mashiro, Louie, Fuzzz
|
Author: Mashiro, Louie, Fuzzz
|
||||||
Author URI: http://2heng.xin
|
Author URI: http://2heng.xin
|
||||||
Description: Akina主题分支(原版地址 http://www.akina.pw/themeakina)
|
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: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Text Domain: akina
|
Text Domain: akina
|
||||||
|
Loading…
Reference in New Issue
Block a user