From bae2b337f06c8a5ea5e77f37969026a9bde1140a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 22 Sep 2016 22:54:29 +0000 Subject: [PATCH] Docs: Add `home` and `commentpaged` as accepted values for `user_trailingslashit` filter. Props sebastian.pisula. Fixes #37734. Built from https://develop.svn.wordpress.org/trunk@38645 git-svn-id: http://core.svn.wordpress.org/trunk@38588 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index b922be0df2..292c98ca80 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -58,8 +58,8 @@ function user_trailingslashit($string, $type_of_url = '') { * * @param string $string URL with or without a trailing slash. * @param string $type_of_url The type of URL being considered. Accepts 'single', 'single_trackback', - * 'single_feed', 'single_paged', 'feed', 'category', 'page', 'year', - * 'month', 'day', 'paged', 'post_type_archive'. + * 'single_feed', 'single_paged', 'commentpaged', 'paged', 'home', 'feed', + * 'category', 'page', 'year', 'month', 'day', 'post_type_archive'. */ return apply_filters( 'user_trailingslashit', $string, $type_of_url ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 18528a9f6b..af63feb076 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38644'; +$wp_version = '4.7-alpha-38645'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.