WordPress.org

Make WordPress Core

Changeset 18456


Ignore:
Timestamp:
07/21/11 21:41:21 (3 years ago)
Author:
nacin
Message:

Add pre_ent2ncr filter. props GaryJ, fixes #16432.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r18346 r18456  
    18761876 */ 
    18771877function ent2ncr($text) { 
     1878 
     1879    if( null !== $filtered = apply_filters( 'pre_ent2ncr', null, $text ) ) 
     1880        return $filtered; 
     1881 
    18781882    $to_ncr = array( 
    18791883        '"' => '"', 
Note: See TracChangeset for help on using the changeset viewer.