From e3c9236e0fc54a4bfccb77d445c1d7be70c1efd6 Mon Sep 17 00:00:00 2001 From: zhaofeng-shu33 <616545598@qq.com> Date: Tue, 17 Mar 2020 13:53:55 +0800 Subject: [PATCH] plugin url --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index faeae68..166cec3 100644 --- a/index.php +++ b/index.php @@ -238,7 +238,7 @@ class WP_CHINA_YES { frameborder="0" height="850" width="800px;" scrolling="No" leftmargin="0" topmargin="0"> EOT; - $plugin_root_url = plugin_dir(); + $plugin_root_url = plugin_url(); str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str); echo $iframe_str; }