Generates the WXR export file for download
1044
Continue readingChecks and cleans a URL.A number of characters are removed from the URL. If the URL is for displaying (the default behaviour) ampersands are also replaced. The ‘clean_url’ filter is applied to the returned cleaned URL.
1040
Continue readingEscapes data for use in a MySQL queryThis is just a handy shortcut for $wpdb->escape(), for completeness’ sake
1038
Continue readingEscape single quotes, htmlspecialchar ” &, and fix line endings.Escapes text strings for echoing in JS. It is intended to be used for inline JS (in a tag attribute, for example onclick=”…”). Note that the strings have to be in single quotes. The filter ‘js_escape’ is also applied here.
1036
Continue reading