Make WordPress Core

Changeset 47400


Ignore:
Timestamp:
03/01/2020 04:23:24 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use more specific type in parameter description for wp_unslash().

Props marekdedic.
See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r47219 r47400  
    54745474 * @since 3.6.0
    54755475 *
    5476  * @param string|array $value String or array of strings to unslash.
    5477  * @return string|array Unslashed $value
     5476 * @param string|string[] $value String or array of strings to unslash.
     5477 * @return string|string[] Unslashed $value
    54785478 */
    54795479function wp_unslash( $value ) {
Note: See TracChangeset for help on using the changeset viewer.