From f14a9e73d0693c6c8da93cf972dd81b38347b3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E9=A2=97=E7=BA=A2=E5=BF=83?= Date: Mon, 16 Dec 2019 17:59:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed2 --- templates/site-card.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/site-card.php b/templates/site-card.php index 4418110..a1fb8d2 100644 --- a/templates/site-card.php +++ b/templates/site-card.php @@ -1,16 +1,14 @@ ID); $qrurl = $link_url; $is_html = ''; if(get_post_meta($post->ID, '_wechat_qr', true)){ $qrurl=""; $is_html = 'true'; } else if($link_url=="") { - // $qrurl = '无二维码!'; - $link_url = get_permalink($post->ID); - $qrurl = ""; - $is_html = 'true'; + $qrurl = '地址错误!'; } else if(io_get_option('is_qr')) { $qrurl = ""; $is_html = 'true';