Docs: Add a `@since` note for `get_post_permalink()` returning `false` on failure.
Follow-up to [53733]. See #45329. Built from https://develop.svn.wordpress.org/trunk@53734 git-svn-id: http://core.svn.wordpress.org/trunk@53293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bfc1358a0
commit
486602cfca
|
@ -308,6 +308,7 @@ function get_permalink( $post = 0, $leavename = false ) {
|
|||
* Retrieves the permalink for a post of a custom post type.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @since 6.1.0 Returns false if the post does not exist.
|
||||
*
|
||||
* @global WP_Rewrite $wp_rewrite WordPress rewrite component.
|
||||
*
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-53733';
|
||||
$wp_version = '6.1-alpha-53734';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue