Docs: Synchronize `@since` notes for `add_magic_quotes()` and `wp_slash()`.
Follow-up to [48205], [48433]. See #49572. Built from https://develop.svn.wordpress.org/trunk@48441 git-svn-id: http://core.svn.wordpress.org/trunk@48210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f2a7a5e154
commit
c38f99df9a
|
@ -5502,10 +5502,10 @@ function sanitize_trackback_urls( $to_ping ) {
|
|||
* This should not be used to escape data going directly into an SQL query.
|
||||
*
|
||||
* @since 3.6.0
|
||||
* @since 5.5.0 Leave a non-string value untouched.
|
||||
* @since 5.5.0 Non-string values are left untouched.
|
||||
*
|
||||
* @param string|array $value String or array of strings to slash.
|
||||
* @return string|array Slashed $value
|
||||
* @param string|string[] $value String or array of strings to slash.
|
||||
* @return string|string[] Slashed $value.
|
||||
*/
|
||||
function wp_slash( $value ) {
|
||||
if ( is_array( $value ) ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta1-48440';
|
||||
$wp_version = '5.5-beta1-48441';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue