Skip to content

Commit

Permalink
PHP 7.2 supported
Browse files Browse the repository at this point in the history
  • Loading branch information
mashirozx committed Jun 13, 2018
1 parent a3b66fd commit 64b2eba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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' );
}
Expand Down
6 changes: 3 additions & 3 deletions options.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

//其他
Expand All @@ -750,7 +750,7 @@ function optionsframework_options() {

$options[] = array(
'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',
'std' => '',
'type' => 'typography ');
Expand Down
2 changes: 1 addition & 1 deletion style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64b2eba

Please sign in to comment.