Changeset 51115 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 06/08/2021 10:20:42 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r50517 r51115 1426 1426 1427 1427 // Comments column uses HTML in the display name with screen reader text. 1428 // Instead of using esc_attr(), we strip tags to get closer to a user-friendly string.1429 $data = 'data-colname="' . wp_strip_all_tags( $column_display_name) . '"';1428 // Strip tags to get closer to a user-friendly string. 1429 $data = 'data-colname="' . esc_attr( wp_strip_all_tags( $column_display_name ) ) . '"'; 1430 1430 1431 1431 $attributes = "class='$classes' $data";
Note: See TracChangeset
for help on using the changeset viewer.