WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8929 closed defect (bug) (invalid)

a totally ASCII Blog Title

Reported by: jidanni Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords:
Focuses: Cc:

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 (3)

comment:1 jidanni5 years ago

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.

comment:2 jidanni5 years ago

  • Version set to 2.7
keep your hands my ASCII
                ^off

comment:3 matt5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Please go easy on the rant-tickets.

Note: See TracTickets for help on using tickets.