mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 05:34:07 +01:00
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:
parent
76cc768e90
commit
9572878fab
@ -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();
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user