Meta data JavaScript error
-
I can not view the meta data for unconfirmed users (users.php?page=unconfirmed_emails) when using French as my language.
The problem is in the string “Méta-information de l’utilisateur”, which contains a single quote as you can see. Because the string is surrounded by single quotes, I get the following:
Uncaught SyntaxError: Unexpected identifier
.I would also suggest you look into using unobtrusive JavaScript for the meta data link. See jQuery().click() and wp_localize_script to create the meta data popup.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Meta data JavaScript error’ is closed to new replies.