Changeset 3276 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 12/07/2005 12:36:07 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-formatting.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r3273 r3276 493 493 494 494 495 function format_to_edit($content ) {495 function format_to_edit($content, $richedit = false) { 496 496 $content = apply_filters('format_to_edit', $content); 497 $content = htmlspecialchars($content); 497 if (! $richedit ) 498 $content = htmlspecialchars($content); 498 499 return $content; 499 500 } … … 998 999 999 1000 $output = $text; 1000 $output = html_entity_decode($output); // undoes format_to_edit()1001 1001 $output = convert_chars($output); 1002 1002 $output = wpautop($output);
Note: See TracChangeset
for help on using the changeset viewer.