该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Safe PHP Code Widget

描述

The usual Text widget allows you to insert arbitrary Text and/or HTML code. This allows that too, but also parses any PHP or JavaScript code in the text widget and executes it.

This plugin is based on “PHP Code Widget”, but now available for use by site administrators ONLY, which makes it more secure.

All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed. Also JavaScript code must be enclosed in the <script> and </script> tags, as usual.

屏幕截图

  • The widgets screen showing a Safe PHP Code Widget in use.
  • The output of the widget on the site.

安装

  1. Upload safe-php-code-widget folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

No questions yet – no answers yet.

评价

此插件暂无评价。

贡献者及开发者

「Safe PHP Code Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • First version in the repository