From 5f7e85d58918c3b8b4699e82baa6eee964891587 Mon Sep 17 00:00:00 2001 From: "K. Adam White" Date: Mon, 23 Jul 2018 17:14:26 +0000 Subject: [PATCH] Docs: Add `$object_subtype` param documentation for `sanitize_meta()`. Props timothyblynjacobs. See #38323. Built from https://develop.svn.wordpress.org/trunk@43521 git-svn-id: http://core.svn.wordpress.org/trunk@43350 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/meta.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/meta.php b/wp-includes/meta.php index 30b82bbabf..7d44fe6222 100644 --- a/wp-includes/meta.php +++ b/wp-includes/meta.php @@ -979,6 +979,7 @@ function is_protected_meta( $meta_key, $meta_type = null ) { * @param string $meta_key Meta key. * @param mixed $meta_value Meta value to sanitize. * @param string $object_type Type of object the meta is registered to. + * @param string $object_subtype Optional. The subtype of the object type. * * @return mixed Sanitized $meta_value. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f78a2f554..f49e92ee90 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43520'; +$wp_version = '5.0-alpha-43521'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.