Validation Errrors
-
Hello,
Just noticed some new(er) validation errors, including pages that are not displaying the plugin. Maybe just a simple unencoded ampersand… I didn’t fiddle with the plugin code. Have a look, thanks:
706. if(document.getElementsByClassName && document.getElementsByTagName) {
707. var pinit_class_tags = document.getElementsByClassName(“really_simple_share_pinterest”);
708. for(i=0; i < pinit_class_tags.length; i++) {
Warning Line 706, Column 40: character “&” is the first character of a delimiter but occurred as data
if(document.getElementsByClassName && document.getElementsByTagName) {
✉
This message may appear in several cases:
You tried to include the “<” character in your page: you should escape it as “<“
You used an unescaped ampersand “&”: this may be valid in some contexts, but it is recommended to use “&”, which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.Warning Line 706, Column 41: character “&” is the first character of a delimiter but occurred as data
if(document.getElementsByClassName && document.getElementsByTagName) {
✉
This message may appear in several cases:
You tried to include the “<” character in your page: you should escape it as “<“
You used an unescaped ampersand “&”: this may be valid in some contexts, but it is recommended to use “&”, which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.Warning Line 708, Column 17: character “<” is the first character of a delimiter but occurred as data
for(i=0; i < pinit_class_tags.length; i++) {
✉
This message may appear in several cases:
You tried to include the “<” character in your page: you should escape it as “<“
You used an unescaped ampersand “&”: this may be valid in some contexts, but it is recommended to use “&”, which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.http://wordpress.org/plugins/really-simple-facebook-twitter-share-buttons/
- The topic ‘Validation Errrors’ is closed to new replies.