Changes between Initial Version and Version 1 of Ticket #15454, comment 11
- Timestamp:
- 12/16/2010 01:36:01 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15454, comment 11
initial v1 1 1 There's this weird thing with sanitize_bookmark_field() and sanitize_term_field(). 2 2 3 Originally, when $context = 'edit', they will run 'link_notes' and 'term_description' through format_to_edit($value). The 2nd parameter of format_to_edit() is left to default (which is fa ult), which means format_to_edit($value) will escape the $value.3 Originally, when $context = 'edit', they will run 'link_notes' and 'term_description' through format_to_edit($value). The 2nd parameter of format_to_edit() is left to default (which is false), which means format_to_edit($value) will escape the $value. 4 4 5 5 However, 'link_notes' and 'term_description' are already escaped before being inserted into the database (when $context = 'db'), because they're processed by "pre_link_notes" and "pre_term_description" filters, to which wp_filter_kses() is attached.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)