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

SQL Table Lookup

描述

You can use these SQL lookup shortcodes to extract data from any table in your WordPress database:

</p>

<p>[sql]SELECT a FROM b WHERE c='d';

If a table or column name has a space or other unusual character in it, wrap it in `backticks`. If a value contains a
space or other unusual characters, wrap it in ‘single quotes’.

While I’ve taken considerable effort to prevent SQL injection attacks by escaping all other dangerous characters with esc_sql (which uses mysql_real_escape_string/mysqli_real_escape_string and addslashes), I would advise against using this plugin on a site that accepts any kind of posts or comments from untrusted sources.

评价

此插件暂无评价。

贡献者及开发者

「SQL Table Lookup」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「SQL Table Lookup」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志