Twenty Twelve: "Post Author" included as hCard names in comments
|Reported by:||BrazenlyGeek||Owned by:||lancewillett|
|Component:||Bundled Theme||Keywords:||has-patch needs-testing|
When Twenty Twelve output comments made by the author of the post being viewed, it appends "Post Author" (wrapped in a SPAN) to the comment author's name.
The problem is that the entire thing (author's name & "Post Author") is wrapped in a CITE with hCard class "fn" applied to it.
This causes hCard parsers to consider "Post Author" to be part of the author's full name, as can be verified by parse results here (http://www.google.com/webmasters/tools/richsnippets) when running through Twenty Twelve-powered posts with comments made by the post author.
Line 289 of Twenty Twelve's functions.php is the relevant line; moving "%2$s" to outside the CITE tag is all that's needed, at least to fix the semantics problem (not sure if there's specific styling attached to the SPAN within the CITE or not).
Change History (16)
- Keywords has-patch needs-testing added
- Milestone changed from Awaiting Review to 3.6
- Severity changed from trivial to normal
3 years ago
- Summary changed from "Post Author" included as hCard names in Twenty Twelve comments to Twenty Twelve: "Post Author" included as hCard names in comments