Articles of htmlspecialchars decode

How can I stop wp_update_post messing up HTML example code?

I’m showing little pieces of example HTML/PHP code on the frontend (with syntax highlighting). The entries are displayed as FAQ custom posts, and have a plugin (CMS Tree page) to alter the menu order, at which these are displayed. Whenever I change the order, it calls a wp_update_post, updating ID, menu_order, post_parent, post_type. For debug, […]

How do we remove mystical from text? Image included

WordPress has placed an uncalled for character on one of our page’s text. We have a few hundred pages, and this only occurs on one. In the paragraph’s text, between the words ‘Music’ and ‘Students’, WordPress has placed a [X] character. It is not in the visual or text views, and only appears on the […]

How do I stop HTML entities in a custom meta box from being un-htmlentitied?

I have a custom meta box that is supposed to accept HTML, but the text I’m trying to input contains both double and single quotes (and ampersands), and it’s messing up the saved data – each time I reload the post, the data is duplicated with an extra single quote (and angle bracket) inserted at […]

Special characters in WordPress UTF-8

I have a problem regarding special characters that are appearing messed up on the front-end . mainly the get converted to question marks, or something like �?) Example – Frédèric becomes Fr�d�ric. some facts that made me puzzled: This WP install is on LOCAL machine, and shares the server with at least 40 other installs […]