Update phpdoc for get_permalink(). props tivnet. fixes #25115.

Built from https://develop.svn.wordpress.org/trunk@25077


git-svn-id: http://core.svn.wordpress.org/trunk@25062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-08-21 22:12:10 +00:00
parent a9dc60c9a8
commit 666aafeda4
1 changed files with 3 additions and 3 deletions

View File

@ -73,9 +73,9 @@ function permalink_anchor( $mode = 'id' ) {
*
* @since 1.0.0
*
* @param int $id Optional. Post ID.
* @param bool $leavename Optional, defaults to false. Whether to keep post name or page name.
* @return string
* @param int|WP_Post $id Optional. Post ID or post object, defaults to the current post.
* @param bool $leavename Optional. Whether to keep post name or page name, defaults to false.
* @return string|bool The permalink URL or false if post does not exist.
*/
function get_permalink( $id = 0, $leavename = false ) {
$rewritecode = array(