跳到内容

Secure Paste

v1.7

Nikunj Soni · 2015年10月10日 上架

Secure your post by removing unnecessary HTML tags from post, page and custom post type content before inserting it to your WordPress database.

正在使用
30+
评分
5.0 / 5
累计下载
4,290
最近更新
2025年10月8日
1 条评价需要 WordPress 3.7+已测试到 6.8.13

贡献者

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 )

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums