From 7d9d7f2df47d56f126fe1ead213a8f0bf2a386de Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Dec 2015 00:38:25 +0000 Subject: [PATCH] Docs: Clarify that `get_post_types()` accepts `'not'` as its `$operator` parameter. Props barryceelen. Fixes #35225. Built from https://develop.svn.wordpress.org/trunk@36091 git-svn-id: http://core.svn.wordpress.org/trunk@36056 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 59506f8320..0ecf9a1ad7 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -864,7 +864,7 @@ function get_post_type_object( $post_type ) { * or 'objects'. Default 'names'. * @param string $operator Optional. The logical operation to perform. 'or' means only one * element from the array needs to match; 'and' means all elements - * must match. Accepts 'or' or 'and'. Default 'and'. + * must match; 'not' means no elements may match. Default 'and'. * @return array A list of post type names or objects. */ function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a3a5893174..6485e63a48 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36090'; +$wp_version = '4.5-alpha-36091'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.