Replacing x between two numbers in the post title or the content
-
Hi, I’ve just noticed that WP replaces letter X between two numbers with a different
×
(ascii code, smaller, vertically-centered).
For example: I have a post title containing 55×66, in a post view it’s ok to read, but when I use post_title() in $wpdb->prepare() to store some data and then send it with wp_mail function, the x is replaced with (& # 215 ;
without spaces ) which is really annoying.
I tried to add_filter and str_replace it to turn this of, but no luck. Any ideas? Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Replacing x between two numbers in the post title or the content’ is closed to new replies.