WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #13377, comment 1


Ignore:
Timestamp:
01/31/2011 12:00:55 AM (9 years ago)
Author:
kawauso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13377, comment 1

    v1 v2  
    11It appears to be used in `get_file_data()` (which is sanitized properly where used), `get_file_description()` and `get_page_templates()`.
    22
    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.
     3The 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.
    44
    55It also standardises `trim()` usage on `get_file_description($file)` and makes the `$filedesc` logic actually understandable.