mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
update to v3.3.2
This commit is contained in:
parent
329bd0bc0a
commit
199cd29188
@ -7,9 +7,8 @@
|
|||||||
* @package Sakura
|
* @package Sakura
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define( 'SAKURA_VERSION', '3.3.1' );
|
define( 'SAKURA_VERSION', '3.3.2' );
|
||||||
define( 'BUILD_VERSION', '3' );
|
define( 'BUILD_VERSION', '3' );
|
||||||
define( 'JSDELIVR_VERSION', '3.6.7' );
|
|
||||||
|
|
||||||
//ini_set('display_errors', true);
|
//ini_set('display_errors', true);
|
||||||
//error_reporting(E_ALL);
|
//error_reporting(E_ALL);
|
||||||
@ -1190,17 +1189,6 @@ add_filter('the_content', 'toc_support');
|
|||||||
add_filter('the_excerpt_rss', 'toc_support');
|
add_filter('the_excerpt_rss', 'toc_support');
|
||||||
add_filter('the_content_feed', 'toc_support');
|
add_filter('the_content_feed', 'toc_support');
|
||||||
|
|
||||||
// Markdown parser
|
|
||||||
/* 处理超时??
|
|
||||||
function markdown_parser($content) {
|
|
||||||
include 'inc/Parsedown.php';
|
|
||||||
$Parsedown = new Parsedown();
|
|
||||||
$content = $Parsedown->text($content);
|
|
||||||
return $content;
|
|
||||||
}
|
|
||||||
add_filter( 'comment_text', 'markdown_parser' );
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 显示访客当前 IP
|
// 显示访客当前 IP
|
||||||
function get_the_user_ip() {
|
function get_the_user_ip() {
|
||||||
if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) {
|
if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) {
|
||||||
|
@ -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: A branch of theme Akina
|
Description: A branch of theme Akina
|
||||||
Version: 3.3.1
|
Version: 3.3.2
|
||||||
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: sakura
|
Text Domain: sakura
|
||||||
|
Loading…
Reference in New Issue
Block a user