Update index.php

This commit is contained in:
赵丰 (Zhao Feng) 2020-03-17 13:40:09 +08:00 committed by GitHub
parent 2062f0a949
commit a2046018c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,9 +234,9 @@ class WP_CHINA_YES {
public static function settings() {
echo <<<EOT
<div style="height: 20px"></div>
<iframe src="/wp-content/plugins/wp-china-yes/settings.html"
<iframe src="<?php echo plugins_url() ?>/wp-china-yes/settings.html"
frameborder="0" height="850" width="800px;" scrolling="No" leftmargin="0" topmargin="0">
</iframe>
EOT;
}
}
}