mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Synchronize @since notes for add_magic_quotes() and wp_slash().
Follow-up to [48205], [48433]. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user