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
This commit is contained in:
Sergey Biryukov 2019-10-03 23:12:57 +00:00
parent ff225c8bfc
commit c0bb073ca2
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.