Ticket #33756: 33756.5.diff
| File 33756.5.diff, 846 bytes (added by , 8 years ago) |
|---|
-
src/wp-includes/formatting.php
1914 1914 } 1915 1915 1916 1916 /** 1917 * Sanitizes a title, or returns a fallback title.1917 * Sanitizes a into a slug, which can be used in places such as URLs or HTML attributes. 1918 1918 * 1919 * Specifically, HTML and PHP tags are stripped. Further actions can be added 1920 * via the plugin API. If $title is empty and $fallback_title is set, the latter 1919 * In a save context, converts accents to ASCII characters. By default, output is 1920 * further limited to alphanumeric characters, underscore (_) and dash (-) through the 1921 * 'sanitize_title' filter. If $title is empty and $fallback_title is set, the latter 1921 1922 * will be used. 1922 1923 * 1923 1924 * @since 1.0.0