mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-04 20:19:53 +08:00
right function name
This commit is contained in:
parent
5916532134
commit
d526dd8f46
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class WP_CHINA_YES {
|
|||
frameborder="0" height="850" width="800px;" scrolling="No" leftmargin="0" topmargin="0">
|
||||
</iframe>
|
||||
EOT;
|
||||
$plugin_root_url = plugin_url();
|
||||
$plugin_root_url = plugins_url();
|
||||
$iframe_str = str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str);
|
||||
echo $iframe_str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue