WordPress.org

Make WordPress Core

Changeset 48441


Ignore:
Timestamp:
07/11/2020 10:46:27 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize @since notes for add_magic_quotes() and wp_slash().

Follow-up to [48205], [48433].

See #49572.

File:
1 edited

Legend:

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

    r48433 r48441  
    55035503 *
    55045504 * @since 3.6.0
    5505  * @since 5.5.0 Leave a non-string value untouched.
    5506  *
    5507  * @param string|array $value String or array of strings to slash.
    5508  * @return string|array Slashed $value
     5505 * @since 5.5.0 Non-string values are left untouched.
     5506 *
     5507 * @param string|string[] $value String or array of strings to slash.
     5508 * @return string|string[] Slashed $value.
    55095509 */
    55105510function wp_slash( $value ) {
Note: See TracChangeset for help on using the changeset viewer.