From 9572878fabc8171b272c095c5048f93d4e03c66c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 17 Dec 2015 17:30:43 +0000 Subject: [PATCH] Docs: Add missing parameter notations to the DocBlock for `get_author_posts_url()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@35993 git-svn-id: http://core.svn.wordpress.org/trunk@35958 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/author-template.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 54ad8cada1..ef5d104d86 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -289,9 +289,11 @@ function the_author_posts_link( $deprecated = '' ) { * * @global WP_Rewrite $wp_rewrite * + * @param int $author_id Author ID. + * @param string $author_nicename Optional. The author's nicename (slug). Default empty. * @return string The URL to the author's page. */ -function get_author_posts_url($author_id, $author_nicename = '') { +function get_author_posts_url( $author_id, $author_nicename = '' ) { global $wp_rewrite; $auth_ID = (int) $author_id; $link = $wp_rewrite->get_author_permastruct(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 52c6339ce8..b3920c89c9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35992'; +$wp_version = '4.5-alpha-35993'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.