Incorrect fix re JSON data in map-global.php
-
In version 6.4.9, a change was made to escape the JSON data in
templates/templates/map-global.php
.This was not the correct fix. The JSON data should not be (directly) in a
div
element. Instead it should be in ascript
element withtype=application/json
. If it is in the correct element type, it does not need escaping (and should not be).The existence of the data in a display element (regadless of the inline style hack with
display: none; visibility: hidden
) causes SEO issues. Search engines regard it as content for the page (they often ignore CSS andstyle
properties), include it in indexing, and may even include it in a snippet in search results.This is a bug report. (I don’t know where else to report bugs.)
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.