[wordpress插件] Convertentity可转换性

wordpress 插件 文章 2020-04-02 01:50 454 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Some WordPress functions outputs character entity references.

某些WordPress函数输出字符实体引用。

The most of these are not allowed in XHTML.

XHTML中不允许其中的大多数。

So if your WordPress installation uses the mime type ‘application/xhtml+xml’, the generated sites could have invalid xhtml code and the browser would display the syntax error page.

因此,如果您的WordPress安装使用了MIME类型“ application / xhtml + xml”,则生成的网站可能包含无效的xhtml代码,浏览器将显示语法错误页面。

Convertentity converts all entity references into their corresponding characters with the exception of the references for the following characters: ‘<>&”

除了以下字符的引用外,Convertentity将所有实体引用转换为相应的字符:“ <>&”

Theses references are the only ones which are allowed in XHTML.

这些引用是XHTML中唯一允许的引用。

安装步骤

    1. Upload convertentity.php to the /wp-content/plugins/ directory
    2. convertentity.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/convertentity.1.0.0.zip
-EOF-

AI助手支持GPT4.0