Skip to content

Commit

Permalink
fix: 修复一处参数错误,下次一并推送吧
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokinx authored Nov 13, 2023
1 parent 3bab77e commit a491d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function bark_push_msg( $comment_id ) {
$token = trim( get_theme_mod( 'biji_setting_bark' ) );
$query = [
'group' => trim( get_bloginfo( 'name' ) ),
'avatar' => get_avatar_url( $comment->comment_author_email ),
'icon' => get_avatar_url( $comment->comment_author_email ),
'url' => htmlspecialchars( get_comment_link( $comment_id ) ),
];
$title = urlencode(trim( get_the_title( $comment->comment_post_ID ) ) ?: $query['group']);
Expand Down

0 comments on commit a491d36

Please sign in to comment.