diff --git a/index.php b/index.php index a65ac2b..faeae68 100644 --- a/index.php +++ b/index.php @@ -232,11 +232,14 @@ class WP_CHINA_YES { } public static function settings() { - echo << - EOT; + $plugin_root_url = plugin_dir(); + str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str); + echo $iframe_str; } }