• Gentlemen, I hate how WordPress corrupts ASCII so much, that I have made the following plugin:

    // One can turn off smileys from the admin panels, but to keep WordPress out of our ASCII we must:
    foreach(
    array(
    ‘bloginfo’,
    ‘comment_author’,
    ‘comment_text’,
    ‘link_description’,
    ‘link_name’,
    ‘link_notes’,
    ‘list_cats’,
    ‘single_post_title’,
    ‘term_description’,
    ‘term_name’,
    ‘the_content’,
    ‘the_excerpt’,
    ‘the_title’,
    ‘wp_title’,
    ) as $filter ) {
    remove_filter($filter, ‘wptexturize’);}
    //However there are still a few places where WordPress goes behind our backs to still use wptexturize(),
    //and PHP won’t allow us to just redeclare function wptexturize($text){return $text;}

    My question is: will this break something? Thanks.

  • The topic ‘deballing wptexturize’ is closed to new replies.