[wp-trac] [WordPress Trac] #19550: Please provide option to disable wptexturize entirely

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 01:14:16 UTC 2011


#19550: Please provide option to disable wptexturize entirely
-------------------------+------------------------------
 Reporter:  jwz          |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Formatting   |     Version:  3.3
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by toscho):

 List of direct calls to wptexturize()


 {{{
 wp-admin/includes/plugin.php:143
         $plugin_data['Description'] = wptexturize(
 $plugin_data['Description'] );

 wp-admin/import.php:115
         $action = "<a href='" . esc_url("admin.php?import=$id") . "'
 title='" . esc_attr( wptexturize(strip_tags($data[1])) )
 ."'>{$data[0]}</a>";

 wp-admin/menu-header.php:75
         $title = wptexturize( $item[0] );

 wp-admin/menu-header.php:148
         $title = wptexturize($sub_item[0]);

 wp-includes/comment-template.php:758
         echo '    dc:title="'.str_replace('--', '&#x2d;&#x2d;',
 wptexturize(strip_tags(get_the_title()))).'"'."\n";

 wp-includes/general-template.php:833
         $text = wptexturize($text);

 wp-includes/media.php:867
         " . wptexturize($attachment->post_excerpt) . "

 wp-includes/theme.php:217
         $theme_data['Description'] = wptexturize( wp_kses(
 $theme_data['Description'], $themes_allowed_tags ) );

 wp-includes/theme.php:290
         $description = wptexturize($theme_data['Description']);
 }}}

 The question is how we name such a filter. And if we need more than one
 name.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19550#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list