h4x3d.com

- h4x3d.com

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

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 ?.