Julian Klewes

Why does your x turn into ? (& # 215; ) ?

Tagged

Categorized
Dated
This article was posted in SeptemberOctober 22, 2005







If you wonder why WordPress replaces the x between numbers with a “?” (& # 215;) you get a quick answer right here:
It is due to a function which can be found in wp-includes/functions-formatting.php near the top of the file. You need to either delete or uncomment line 36 where it says:

$curl = preg_replace('/(d+)x(d+)/', "$1?$2", $curl);

or you can stop the function from filtering your text by creating a new file in your wp-content/plugins/ directory called notexturize.php (or whatever you wish):

Put the following in the file:
< ?php
/*
Plugin Name: No WPTexturize
Plugin URI: http://wordpress.org/support/
Description: This plugins keeps various pieces of your site's content from being "texturized" (i.e. filtered through wptexturize())
Author: The Support Forums
Version: 0.1
Author URI: http://wordpress.org/support/
*/
remove_filter('the_title', 'wptexturize');
?>

Enjoy.

The reason why I posted this is due to its annoyances it caused for me when using www.h4x3d.com , digit x digit always turned into ?.

If you enjoyed this post, make sure you subscribe to my RSS feed!

share me please

h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.

Interact - Leave a comment

Engage in the conversion and leave a comment.
I would much love to hear from you. Please note however that comments are moderated by default. Advertising and rant is welcomed, yet often discarded...
See left/right for additional information













Trackbacks & Pingbacks

  1. h4x3d.com » Wordpress 2.0 × / x Problem how it is solved - Download my functions-formatting.php pingbacked Posted January 3, 2006, 7:20 pm
  2. seo advice for the masses » Blog Archive » Hemmingway pingbacked Posted October 1, 2006, 10:03 am

comment? jump to the form



archives | sitemap | contact | tos

advertise
advertise

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

solarVPS.com - reliale enterprise hosting
you know the game, get in touch with me