Make WordPress Core

Changeset 53776


Ignore:
Timestamp:
07/25/2022 05:26:24 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Remove an obsolete function description in addslashes_gpc().

  • Usage of get_magic_quotes_gpc() was removed from addslashes_gpc() in [46105] / #47783.
  • A similar description fragment was removed from wp_parse_str() in that changeset, but this one was missed.
  • The get_magic_quotes_gpc() function itself was deprecated in PHP 7.4 and removed in PHP 8.0.

Props mitweka, audrasjb, SergeyBiryukov.
Fixes #56233.
See #55646.

File:
1 edited

Legend:

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

    r53775 r53776  
    27862786 * Adds slashes to a string or recursively adds slashes to strings within an array.
    27872787 *
    2788  * Slashes will first be removed if magic_quotes_gpc is set, see {@link
    2789  * https://www.php.net/magic_quotes} for more details.
    2790  *
    27912788 * @since 0.71
    27922789 *
Note: See TracChangeset for help on using the changeset viewer.