From 54a1dce0d5a0a6604886b467f6421c5d4bc35c10 Mon Sep 17 00:00:00 2001 From: "LAPTOP-AR62V6PB\\pc" Date: Wed, 27 Mar 2019 02:50:30 +0800 Subject: [PATCH] Fixed widget. --- includes/shortcode.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/shortcode.php b/includes/shortcode.php index eafbee8..6ead011 100644 --- a/includes/shortcode.php +++ b/includes/shortcode.php @@ -35,11 +35,13 @@ function crypto_qr_code_wp_shortcode_logic( $atts ) { $qr_svgCode_generate = QRcode::svg( $address, $qr_svgCode_file ); } + $random_num = substr( md5( mt_rand( 0, 999999999 ) ), 0, 9 ); + // Build template. $content .= " - {$address} - + {$address} + {$heading} {$label} \"{$address}\" {$address}