From e95626a94fa09043b01e91dc510e53a537ec5d27 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 24 Jun 2015 10:55:13 +0000 Subject: [PATCH] Document default values for optional arguments in `edit_term_link()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32926 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index b623e4d0a8..9df41fbee8 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -944,10 +944,10 @@ function get_edit_term_link( $term_id, $taxonomy, $object_type = '' ) { * * @since 3.1.0 * - * @param string $link Optional. Anchor text. - * @param string $before Optional. Display before edit link. - * @param string $after Optional. Display after edit link. - * @param object $term Term object. + * @param string $link Optional. Anchor text. 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. * @param bool $echo Optional. Whether or not to echo the return. Default true. * @return string|void HTML content. */