#8929 closed defect (bug) (invalid)
a totally ASCII Blog Title
| Reported by: | jidanni | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Gentlemen, let us today to attempt to get a totally ASCII Blog Title
on wp-admin/options-general.php.
We enter "Bob's blog". The apostrophe ends up as entity 8217.
We enter "Bob's blog" and indeed that ugliness stays in the links
created.
Nope. No way to generate a simple
<h1><a href="http://...">Annette B. Jacobson's articles</a></h1>
All ASCII.
Same with dashes, etc.
Ah finally a workaround: use a colon:
Annette B. Jacobson: articles
But now that I've revealed it works, I bet y'all will corrupt it too,
next edition.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.