From c0bb073ca2141fee0ed843b76d67b5d594b1bc1d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 3 Oct 2019 23:12:57 +0000 Subject: [PATCH] Docs: Clarify default value for the `$link` parameter in `edit_tag_link()`, `edit_term_link()`, and `edit_bookmark_link()`. Props atachibana. Fixes #48109. Built from https://develop.svn.wordpress.org/trunk@46383 git-svn-id: http://core.svn.wordpress.org/trunk@46182 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 510d9a1243..9419633632 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -958,7 +958,7 @@ function get_edit_tag_link( $tag_id, $taxonomy = 'post_tag' ) { * * @since 2.7.0 * - * @param string $link Optional. Anchor text. Default empty. + * @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty. * @param string $before Optional. Display before edit link. Default empty. * @param string $after Optional. Display after edit link. Default empty. * @param WP_Term $tag Optional. Term object. If null, the queried object will be inspected. @@ -1037,7 +1037,7 @@ function get_edit_term_link( $term_id, $taxonomy = '', $object_type = '' ) { * * @since 3.1.0 * - * @param string $link Optional. Anchor text. Default empty. + * @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty. * @param string $before Optional. Display before edit link. Default empty. * @param string $after Optional. Display after edit link. Default empty. * @param object $term Optional. Term object. If null, the queried object will be inspected. Default null. @@ -1577,7 +1577,7 @@ function get_edit_bookmark_link( $link = 0 ) { * * @since 2.7.0 * - * @param string $link Optional. Anchor text. Default empty. + * @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty. * @param string $before Optional. Display before edit link. Default empty. * @param string $after Optional. Display after edit link. Default empty. * @param int $bookmark Optional. Bookmark ID. Default is the current bookmark. diff --git a/wp-includes/version.php b/wp-includes/version.php index 7b75ba6ec9..9cf29d53b5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta2-46382'; +$wp_version = '5.3-beta2-46383'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.