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
This commit is contained in:
Drew Jaynes 2015-12-17 17:30:43 +00:00
parent 76cc768e90
commit 9572878fab
2 changed files with 4 additions and 2 deletions

View File

@ -289,9 +289,11 @@ function the_author_posts_link( $deprecated = '' ) {
* *
* @global WP_Rewrite $wp_rewrite * @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. * @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; global $wp_rewrite;
$auth_ID = (int) $author_id; $auth_ID = (int) $author_id;
$link = $wp_rewrite->get_author_permastruct(); $link = $wp_rewrite->get_author_permastruct();

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.