Make WordPress Core


Ignore:
Timestamp:
06/25/2013 07:03:17 PM (13 years ago)
Author:
ryan
Message:

Normalize the UTF-8 and ISO-8859-1 charset strings stored in blog_charset to make them friendlier with PHP functions that accept a charset such as htmlspecialchars().

fixes #23688

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r24387 r24510  
    180180add_filter( 'option_ping_sites',        'privacy_ping_filter'                 );
    181181add_filter( 'option_blog_charset',      '_wp_specialchars'                    ); // IMPORTANT: This must not be wp_specialchars() or esc_html() or it'll cause an infinite loop
     182add_filter( 'option_blog_charset',      '_canonical_charset'                  );
    182183add_filter( 'option_home',              '_config_wp_home'                     );
    183184add_filter( 'option_siteurl',           '_config_wp_siteurl'                  );
Note: See TracChangeset for help on using the changeset viewer.