Docs: Use more specific type in parameter description for wp_unslash()
.
Props marekdedic. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47400 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7c0d2c8fc
commit
f327466200
@ -5473,8 +5473,8 @@ function wp_slash( $value ) {
|
|||||||
*
|
*
|
||||||
* @since 3.6.0
|
* @since 3.6.0
|
||||||
*
|
*
|
||||||
* @param string|array $value String or array of strings to unslash.
|
* @param string|string[] $value String or array of strings to unslash.
|
||||||
* @return string|array Unslashed $value
|
* @return string|string[] Unslashed $value
|
||||||
*/
|
*/
|
||||||
function wp_unslash( $value ) {
|
function wp_unslash( $value ) {
|
||||||
return stripslashes_deep( $value );
|
return stripslashes_deep( $value );
|
||||||
|
Loading…
Reference in New Issue
Block a user