這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Eval PHP

描述

With this plugin can added native PHP code within article and blog data. For logged-in user PHP error messages are shown for debugging the PHP code. Each
code block is run like a PHP function. Own functions can be added to the plugin and can be included on other calls. For article writers the execution of
PHP code can be disabled, so the administrator can create different function, that can be used by the writers. Output of the PHP code are included
within the article.

Features

  • inline code on articles / pages
  • function define and include
  • only execution of defined functions
  • any PHP error message is passed to the author
  • disabling PHP error messages
  • execution can be denied by a keyword list

Requirements

  • PHP 5.3.0 or newer

Shortcode

For inline code you can use:

[evalphp] your code [/evalphp]

For included code:

[evalphp include="your includes"]

The include parameter is optional and can be used on both shortcodes.

安裝

  1. Upload the folder to the “/wp-content/plugins/” directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

評價

There are no reviews for this plugin.

貢獻者及開發者

“Eval PHP” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Eval PHP 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1

  • first version with the base functions