Opened 7 months ago
Closed 5 months ago
#61378 closed enhancement (wontfix)
Escape Output in Storage Count List Item Class
Reported by: | krunal265 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.5.3 |
Component: | Administration | Keywords: | has-patch |
Focuses: | coding-standards | Cc: |
Description
In wp-admin/includes/dashboard.php
$used_class should be escaped according to WordPress Coding Standards to ensure proper security and data handling.
Attachments (1)
Change History (3)
#1
@
7 months ago
- Keywords close added
The value of the $used_class
variable is either ' warning' or an empty string, which would not require escaping.
A similar ticket concluded that a toolbar $class
variable was not worth running the esc_attr
function without any benefit. See ticket:58251#comment:23.
Note: See
TracTickets for help on using
tickets.
Patch added