Changeset 19982 for trunk/wp-includes/formatting.php
- Timestamp:
- 02/24/2012 01:58:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r19933 r19982 1189 1189 * Acts on text which is about to be edited. 1190 1190 * 1191 * Unless $richedit is set, it is simply a holder for the 'format_to_edit'1192 * filter. If $richedit is set true htmlspecialchars(), through esc_textarea(),1193 * will be run on the content, converting special characters to HTML entities.1191 * The $content is run through esc_textarea(), which uses htmlspecialchars() 1192 * to convert special characters to HTML entities. If $richedit is set to true, 1193 * it is simply a holder for the 'format_to_edit' filter. 1194 1194 * 1195 1195 * @since 0.71 1196 1196 * 1197 1197 * @param string $content The text about to be edited. 1198 * @param bool $richedit Whether the $content should pass through htmlspecialchars(). Default false.1198 * @param bool $richedit Whether the $content should not pass through htmlspecialchars(). Default false (meaning it will be passed). 1199 1199 * @return string The text after the filter (and possibly htmlspecialchars()) has been run. 1200 1200 */
Note: See TracChangeset
for help on using the changeset viewer.