#58252 closed defect (bug) (duplicate)
Escaping issue found while echoing attribute's dynamic value in html attribute.
| Reported by: | madhusudandev | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 6.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | coding-standards |
Description
In wp-includes/class-wp-admin-bar.php file, I've found that the there is an escaping issue while echoing attribute's dynamic value in html attribute (like class). The issue is found at line 458 of that file. I think it should be escaped.
I've seen the attribute's dynamic value were escaped in the other lines of that file. Link mentioned below:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/class-wp-admin-bar.php#L487
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/class-wp-admin-bar.php#L514
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #58251.
This ticket is duplicate of https://core.trac.wordpress.org/ticket/58251