Remove code from a previous patch. See [27188].
git-svn-id: https://develop.svn.wordpress.org/trunk@27189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1b8da3d0d6
commit
6d00fb3fe8
|
@ -68,19 +68,6 @@ function permalink_anchor( $mode = 'id' ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias for get_permalink()
|
|
||||||
*
|
|
||||||
* @since 3.9.0
|
|
||||||
*
|
|
||||||
* @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_the_permalink( $id = 0, $leavename = false ) {
|
|
||||||
return get_permalink( $id, $leavename );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve full permalink for current post or post ID.
|
* Retrieve full permalink for current post or post ID.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue