Changes between Version 1 and Version 2 of Ticket #13377, comment 1
- Timestamp:
- 01/31/11 00:00:55 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13377, comment 1
v1 v2 1 1 It appears to be used in `get_file_data()` (which is sanitized properly where used), `get_file_description()` and `get_page_templates()`. 2 2 3 The attached patch sanitizes uses of the latter two with `esc_html()`, apart from in `wp_getPageTemplates()`. Not really sure what to do with that.3 The attached patch sanitizes uses of the latter two with `esc_html()`, apart from `get_page_templates()` in `wp_getPageTemplates()`. Not really sure what to do with that. 4 4 5 5 It also standardises `trim()` usage on `get_file_description($file)` and makes the `$filedesc` logic actually understandable.