Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [htmlspecialchars-decode]

The tag has no usage guidance.

0
votes
0answers
23 views

Using decoded (non-latin) URL as a share link

I'm getting the non-latin WP permalink this way, to avoid ugly, long, encoded URL: $hebrew_url = rawurldecode(get_permalink()); And later, I'm using this URL in share popup: <div class="share-...
1
vote
1answer
136 views

HTML Entities displaying improperly as malformed escaped code

I'm having a strange issue that I've never seen before. I moved a WordPress site from Siteground over to GoDaddy a few days ago, and now the site appears to have problems displaying HTML entities in ...
1
vote
1answer
809 views

wp_query not searching with apostrophe

I'm trying to search WP_Query for the data containing the phrase "Dalton's Law" in meta_query. This is an AJAX search, and here's what I"m doing: //in this case $_POST['query'] is the phrase "Dalton'...
1
vote
1answer
45 views

The “\” is missing when comments is updated

When I update the comment in the following page, the “\” is missing. I find that the problem is due to the plugin buddypress. How to avoid the wordpress comment editor converting characters like “...
0
votes
0answers
68 views

Rewrite URL for Search + Special Characters / Umlaute

I want prettier search urls, like /suche/Danach+suche+ich/ So here is my code: add_filter("rewrite_rules_array", function($rules) { $newRules = array(); $newRules["suche/(.+)/?$"] = 'index....
0
votes
1answer
249 views

special characters not supporting in wordpress

First I dont know from which thing I am facing problem. I have created a wordpress website and it was working fine. I have moved it later to justhost.com and then I have got this problem. Special ...
1
vote
0answers
40 views

Why does the usermeta table contain html entities?

As a plugin developer, I have been storing special characters like ampersand as is in MySQL tables, then converting them to html entities after retrieving them for display. Now I discover that (for ...
2
votes
1answer
412 views

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, ...
0
votes
2answers
1k views

Wordpress 4 invalid username special charachters issue

I have some danish users that uses special chars like æøå and they can't log in to my wordpress blog. I tried on a fresh install on 4.2.2 and on 4.1.5 and it did not work, for example Andrew ...
2
votes
2answers
244 views

How do we remove mystical [X] 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', ...
0
votes
2answers
334 views

Codex Function Problems When There is an Apostrophe in the Category Name

I'm working on a site, largely managed by categories. Two of the categories have apostrophes in them... ex. "Joe's Place" and "Tina's Lounge". (Actual titles changed, these are examples...) The ...
0
votes
0answers
338 views

Wordpress special characters coming in ascii code

The article title on this website is "Meet Youngest Art Director of Pakistan – Babrus Khan" The special character in the title is not encoded back when retrieved from Database and Hence I can see in ...
1
vote
1answer
70 views

Customize Plugin

I am trying to create custom welcome panel in dashboard for WP and can't see where I went wrong. It's not allowing me to add html.
0
votes
1answer
93 views

Why is `--` converted into ndash and how can I get rid of it?

I have a blog where I publish Linux tutorials. Some of the commands I listed have a -- before command-line arguments. e.g.: dpkg --get-selections. The problem is that WordPress automatically switches ...
5
votes
2answers
8k views

Special characters in WordPress UTF-8 [closed]

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. ...
2
votes
2answers
6k views

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