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

Secure Paste

描述

WordPress itself does a job of filtering dangerous code inside your content.
But your users can break your site design without compromising your security by inserting unnecessary HTML tags in post, page or in custom post type.

This plugin removes unnecessary HTML tags from post, page and custom post type content before inserting it to your WordPress database.
It also prevents users to paste or write disallowed HTML tags in post content.

If your website users creates content for you and if they copy the content from some other webpages, then in that situation this plugin will be helpful to you to disallowed unnecessary HTML tags.

  • This plugin will only allow the below HTML tags :

    p, h1, h2, h3, h4, h5, h6, ol, ul, li, ins, blockquote,
    cite, code, em, b, i, u, q, strike, strong, br, hr,
    abbr (allowed attributes: title),
    acronym (allowed attributes: title),
    a (allowed attributes: href, title),
    img (allowed attributes: src, alt, class, width, height),
    del (allowed attributes: datetime)

Usage :

  1. Download and extract this plugin to wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress and enjoy !

Amazing Features

  • Easy to use
  • File is easy customizable ( you can add your tag in secure-paste.php file )

安装

  1. Download and extract this plugin to wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress and enjoy !

评价

2019 年 12 月 9 日
Easy to use. Only update post and magic!!! Thanks for develope it.
阅读所有1条评价

贡献者及开发者

“Secure Paste” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Secure Paste”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.6

  • Tested and compatible with WordPress 6.1.1

1.5

  • Tested and compatible with WordPress 5.8

1.4

  • Tested and compatible with WordPress 5.2.3

1.3

  • Renamed to Secure Paste & Tested on WordPress 4.9.6

1.2

  • Renamed to WP Safe Post

1.1

  • Tested on WordPress 4.7

1.0

  • Initial release