[wp-trac] Re: [WordPress Trac] #8929: a totally ASCII Blog Title
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 23 04:01:50 GMT 2009
#8929: a totally ASCII Blog Title
--------------------------+-------------------------------------------------
Reporter: jidanni | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by jidanni):
OK you rabid ASCII hating WordPress fellows, you almost lost a
customer. However I came up with my own plugin to keep your hands my ASCII
all over. Wonder if it will
break anything:
{{{
// 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 use wptexturize(),
//and PHP won't allow us to just redeclare function
wptexturize($text){return $text;}
}}}
You really should have a one click 'Let go of my ASCII' option, just like
for smileys.
--
Ticket URL: <http://trac.wordpress.org/ticket/8929#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list