Plugin Directory

Changeset 562930


Ignore:
Timestamp:
06/23/2012 04:06:48 PM (14 years ago)
Author:
plocha
Message:

branch created, 3.4 support

Location:
convertentity
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • convertentity/trunk/convertentity.php

    r555835 r562930  
    33Plugin Name: Convertentity
    44Plugin URI: http://wordpress.org/extend/plugins/convertentity/
    5 Description: WordPress outputs sometimes some character entity references wich are not allowed in XHTML. Convertentity replaces them with valid entities.
     5Description: WordPress outputs sometimes some character entity references which are not allowed in XHTML. Convertentity replaces them with characters.
    66Version: 1.0.0
    77Author: plocha
    88Author URI: http://profiles.wordpress.org/plocha
    9 License: GPL2
    10 */
     9License: GPLv2
    1110
    12 /*
    13 /*
    1411Copyright 2012  Edgard Schmidt  (email : saiez@web.de)
    1512
     
    2825*/
    2926
    30 class Convertentity
    31 {
     27class Convertentity {
    3228
    3329function __construct () {
    34     add_action ( 'init', array ( $this, 'set_entity_filter' ) );
    35 }
    36 
    37 
    38 function set_entity_filter () {
    3930    ob_start ( array ( $this, 'filter_entities' ) );
    4031}
     
    5445};
    5546
    56 new Convertentity ();
     47new Convertentity;
    5748
    5849?>
  • convertentity/trunk/readme.txt

    r555835 r562930  
    33Tags: html, xhtml, character, entity, reference, convert, valid, invalid, syntax
    44Requires at least: 3.3.2
    5 Tested up to: 3.3.2
     5Tested up to: 3.4
    66Stable tag: 1.0.0
    77License: GPLv2 or later
     
    1616Convertentity converts all entity references into their corresponding characters with the exception of the references for the following characters: '<>&"
    1717
    18 Theses references are the only ones which are allowed in XHTML.
     18These references are the only ones which are allowed in XHTML.
    1919
    2020== Installation ==
Note: See TracChangeset for help on using the changeset viewer.