Skip to content

Commit bf565cc

Browse files
committed
1.1.0.1
1 parent 3dc6f8f commit bf565cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,9 +1427,9 @@ function argon_lazyload($content){
14271427
function argon_fancybox($content){
14281428
if(!is_feed() && !is_robots() && !is_home()){
14291429
if (get_option('argon_enable_lazyload') != 'false'){
1430-
$content = preg_replace('/<img(.+)data-original=[\'"]([^\'"]+)[\'"](.*)>/i',"<div class='fancybox-wrapper' data-fancybox='post-images' href='$2'>$0</div>" , $content);
1430+
$content = preg_replace('/<img(.+)data-original=[\'"]([^\'"]+)[\'"](.*)\/>/i',"<div class='fancybox-wrapper' data-fancybox='post-images' href='$2'>$0</div>" , $content);
14311431
}else{
1432-
$content = preg_replace('/<img(.+)src=[\'"]([^\'"]+)[\'"](.*)>/i',"<div class='fancybox-wrapper' data-fancybox='post-images' href='$2'>$0</div>" , $content);
1432+
$content = preg_replace('/<img(.+)src=[\'"]([^\'"]+)[\'"](.*)\/>/i',"<div class='fancybox-wrapper' data-fancybox='post-images' href='$2'>$0</div>" , $content);
14331433
}
14341434
}
14351435
return $content;

info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version" : "1.1.0",
2+
"version" : "1.1.0.1",
33
"details_url" : "https://github.com/solstice23/argon-theme/releases",
4-
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.1.0/argon.zip"
4+
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.1.0.1/argon.zip"
55
}

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Theme Name: argon
33
Author: solstice23
44
Author URI: https://solstice23.top/
55
Description: 轻盈、简洁、美观的 Wordpress 主题
6-
Version: 1.1.0
6+
Version: 1.1.0.1
77
License: GNU General Public License v3.0
88
License URI: https://www.gnu.org/licenses/gpl-3.0.html
99
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义

0 commit comments

Comments
 (0)