From 06bb67be06955c811403f5813914ca1f21e2862c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Mar 2019 14:45:51 +0000 Subject: [PATCH] Docs: Correct back-compat reference to `$excluded_categories` in `get_adjacent_post()`. See #46543, #17673. Built from https://develop.svn.wordpress.org/trunk@45033 git-svn-id: http://core.svn.wordpress.org/trunk@44842 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index f782534e2b..20d04e1a85 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1688,7 +1688,7 @@ function get_adjacent_post( $in_same_term = false, $excluded_terms = '', $previo $adjacent = $previous ? 'previous' : 'next'; if ( ! empty( $excluded_terms ) && ! is_array( $excluded_terms ) ) { - // back-compat, $excluded_terms used to be $excluded_terms with IDs separated by " and " + // Back-compat, $excluded_terms used to be $excluded_categories with IDs separated by " and ". if ( false !== strpos( $excluded_terms, ' and ' ) ) { _deprecated_argument( __FUNCTION__, '3.3.0', sprintf( __( 'Use commas instead of %s to separate excluded terms.' ), "'and'" ) ); $excluded_terms = explode( ' and ', $excluded_terms ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0a7f831925..3313f8bcf2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-45032'; +$wp_version = '5.2-alpha-45033'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.