Minor errors result in admin failing html validation
-
There are two minor errors in this plugin that result in the admin dashboard failing to pass HTML validation.
First error is in inc/autoload/class-admin-bar-tweaks.php on line 95. The span with id=”ab-awaiting-mod” is duplicated for each site in the My Sites menu, resulting in Duplicate ID errors when validating the HTML. Suggest ab-awaiting-mod be appended with the $blog->userblog_id so that it creates a unique id for the span element, such as ad-awaiting-mod-3 when $blog->userblog_id is 3.
Second error is in inc/autoload/class-change-footer-text.php on line 120. The closing </abbr> is missing and needs to be added to the end of the string being created on this line.
Tony
The topic ‘Minor errors result in admin failing html validation’ is closed to new replies.