Skip to content

Commit

Permalink
0.991
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Aug 2, 2020
1 parent 2a670b6 commit d94931f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ function parse_ua_and_icon($userAgent){
if ($argon_comment_ua == "" || $argon_comment_ua == "hidden"){
return "";
}
$parsed = parse_user_agent($userAgent);
$parsed = argon_parse_user_agent($userAgent);
$out = "<div class='comment-useragent'>";
if ($argon_comment_show_ua['platform'] == true){
if (isset($GLOBALS['UA_ICON'][$parsed['platform']])){
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "0.991.1",
"version" : "0.991.2",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.991.1/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.991.2/argon.zip"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: argon
Author: solstice23
Author URI: https://solstice23.top/
Description: 轻盈、简洁、美观的 Wordpress 主题
Version: 0.991.1
Version: 0.991.2
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义
Expand Down
2 changes: 1 addition & 1 deletion useragent-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @license MIT
*/
function parse_user_agent( $u_agent = null ) {
function argon_parse_user_agent( $u_agent = null ) {
if( $u_agent === null && isset($_SERVER['HTTP_USER_AGENT']) ) {
$u_agent = $_SERVER['HTTP_USER_AGENT'];
}
Expand Down

0 comments on commit d94931f

Please sign in to comment.