Julian Klewes

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

Tagged

Categorized
Dated 4 years ago






Times read: 202
Read today: 4
Read last: March 20, 2010

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

popup tail

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


People asked me to put up a donate button or something similar, so here it is: if you care to buy me a beer or Red Bull (I drink the Dutch equivalent called Spam Energy), feel free to donate, anything is appreciated!



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

lorem

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