Changeset 58814
- Timestamp:
- 07/27/2024 07:50:32 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r58601 r58814 5500 5500 5501 5501 /** 5502 * Properly strips all HTML tags including script and style5502 * Properly strips all HTML tags including 'script' and 'style'. 5503 5503 * 5504 5504 * This differs from strip_tags() because it removes the contents of 5505 5505 * the `<script>` and `<style>` tags. E.g. `strip_tags( '<script>something</script>' )` 5506 * will return 'something'. wp_strip_all_tags will return ''5506 * will return 'something'. wp_strip_all_tags() will return an empty string. 5507 5507 * 5508 5508 * @since 2.9.0
Note: See TracChangeset
for help on using the changeset viewer.