Skip to content

Commit d94931f

Browse files
committed
0.991
1 parent 2a670b6 commit d94931f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ function parse_ua_and_icon($userAgent){
497497
if ($argon_comment_ua == "" || $argon_comment_ua == "hidden"){
498498
return "";
499499
}
500-
$parsed = parse_user_agent($userAgent);
500+
$parsed = argon_parse_user_agent($userAgent);
501501
$out = "<div class='comment-useragent'>";
502502
if ($argon_comment_show_ua['platform'] == true){
503503
if (isset($GLOBALS['UA_ICON'][$parsed['platform']])){

info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version" : "0.991.1",
2+
"version" : "0.991.2",
33
"details_url" : "https://github.com/solstice23/argon-theme/releases",
4-
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.991.1/argon.zip"
4+
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.991.2/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: 0.991.1
6+
Version: 0.991.2
77
License: GNU General Public License v3.0
88
License URI: https://www.gnu.org/licenses/gpl-3.0.html
99
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义

useragent-parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @license MIT
1616
*/
17-
function parse_user_agent( $u_agent = null ) {
17+
function argon_parse_user_agent( $u_agent = null ) {
1818
if( $u_agent === null && isset($_SERVER['HTTP_USER_AGENT']) ) {
1919
$u_agent = $_SERVER['HTTP_USER_AGENT'];
2020
}

0 commit comments

Comments
 (0)