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; }