Changeset 562930
- Timestamp:
- 06/23/2012 04:06:48 PM (14 years ago)
- Location:
- convertentity
- Files:
-
- 2 edited
- 1 copied
-
branches/1.0 (copied) (copied from convertentity/tags/1.0.0)
-
trunk/convertentity.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
convertentity/trunk/convertentity.php
r555835 r562930 3 3 Plugin Name: Convertentity 4 4 Plugin URI: http://wordpress.org/extend/plugins/convertentity/ 5 Description: WordPress outputs sometimes some character entity references w ich are not allowed in XHTML. Convertentity replaces them with valid entities.5 Description: WordPress outputs sometimes some character entity references which are not allowed in XHTML. Convertentity replaces them with characters. 6 6 Version: 1.0.0 7 7 Author: plocha 8 8 Author URI: http://profiles.wordpress.org/plocha 9 License: GPL2 10 */ 9 License: GPLv2 11 10 12 /*13 /*14 11 Copyright 2012 Edgard Schmidt (email : saiez@web.de) 15 12 … … 28 25 */ 29 26 30 class Convertentity 31 { 27 class Convertentity { 32 28 33 29 function __construct () { 34 add_action ( 'init', array ( $this, 'set_entity_filter' ) );35 }36 37 38 function set_entity_filter () {39 30 ob_start ( array ( $this, 'filter_entities' ) ); 40 31 } … … 54 45 }; 55 46 56 new Convertentity ();47 new Convertentity; 57 48 58 49 ?> -
convertentity/trunk/readme.txt
r555835 r562930 3 3 Tags: html, xhtml, character, entity, reference, convert, valid, invalid, syntax 4 4 Requires at least: 3.3.2 5 Tested up to: 3. 3.25 Tested up to: 3.4 6 6 Stable tag: 1.0.0 7 7 License: GPLv2 or later … … 16 16 Convertentity converts all entity references into their corresponding characters with the exception of the references for the following characters: '<>&" 17 17 18 These sreferences are the only ones which are allowed in XHTML.18 These references are the only ones which are allowed in XHTML. 19 19 20 20 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.