I was trying to create a post today and came across a very strange issue.
I tried to give the title for the post as ‘1080×2340 Wallpapers’. Whenever I do that, WordPress automatically treats the lowercase ‘x’ as multiplication symbol ‘×’ in the front end (when the post is published). If you look at them side by side (x×) they are not the same.
Because of this, the title of the post becomes ‘1080×2340 Wallpapers’ (this title has the multiplication symbol) as opposed to ‘1080x2340 Wallpapers’.
Is there some way we can override this with some PHP code?
For example, whenever a multiplication symbol ‘×’ comes in the title replace it with lower case ‘x’ with PHP?
Is it possible?
Note: I know this is nothing related to GP but I just wanted to see if it is possible to write a simple PHP function to achieve this.