mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Docs: Use more specific type in parameter description for wp_unslash()
.
Props marekdedic. See #48303. Built from https://develop.svn.wordpress.org/trunk@47400 git-svn-id: http://core.svn.wordpress.org/trunk@47187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7ca7727ec0
commit
f82fd2c436
@ -5473,8 +5473,8 @@ function wp_slash( $value ) {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param string|array $value String or array of strings to unslash.
|
||||
* @return string|array Unslashed $value
|
||||
* @param string|string[] $value String or array of strings to unslash.
|
||||
* @return string|string[] Unslashed $value
|
||||
*/
|
||||
function wp_unslash( $value ) {
|
||||
return stripslashes_deep( $value );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-beta3-47399';
|
||||
$wp_version = '5.4-beta3-47400';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user