Docs: Clarify the description for `wp_strip_all_tags()`.

Follow-up to [11929], [27042].

Props coffee2code, krupalpanchal, mukesh27.
Fixes #61759.
Built from https://develop.svn.wordpress.org/trunk@58814


git-svn-id: http://core.svn.wordpress.org/trunk@58210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-07-27 07:52:14 +00:00
parent dd21bf5f22
commit 7d8913c256
2 changed files with 3 additions and 3 deletions

View File

@ -5499,11 +5499,11 @@ function normalize_whitespace( $str ) {
}
/**
* Properly strips all HTML tags including script and style
* Properly strips all HTML tags including 'script' and 'style'.
*
* This differs from strip_tags() because it removes the contents of
* the `<script>` and `<style>` tags. E.g. `strip_tags( '<script>something</script>' )`
* will return 'something'. wp_strip_all_tags will return ''
* will return 'something'. wp_strip_all_tags() will return an empty string.
*
* @since 2.9.0
*

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58813';
$wp_version = '6.7-alpha-58814';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.