mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@53776 git-svn-id: http://core.svn.wordpress.org/trunk@53335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83da7ca360
commit
b6fad3a241
@ -2785,9 +2785,6 @@ function untrailingslashit( $string ) {
|
|||||||
/**
|
/**
|
||||||
* Adds slashes to a string or recursively adds slashes to strings within an array.
|
* Adds slashes to a string or recursively adds slashes to strings within an array.
|
||||||
*
|
*
|
||||||
* Slashes will first be removed if magic_quotes_gpc is set, see {@link
|
|
||||||
* https://www.php.net/magic_quotes} for more details.
|
|
||||||
*
|
|
||||||
* @since 0.71
|
* @since 0.71
|
||||||
*
|
*
|
||||||
* @param string|array $gpc String or array of data to slash.
|
* @param string|array $gpc String or array of data to slash.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-alpha-53775';
|
$wp_version = '6.1-alpha-53776';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user