From ef4d73dafc2604da2a50d6b382d4466920fa109c Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 7 Apr 2014 21:38:34 +0000 Subject: [PATCH] Fix PHPDoc formatting for `WP_Rewrite::add_endpoint()`. See #27700. git-svn-id: https://develop.svn.wordpress.org/trunk@28014 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rewrite.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/rewrite.php b/src/wp-includes/rewrite.php index 1b834c829e..0de3b3e34d 100644 --- a/src/wp-includes/rewrite.php +++ b/src/wp-includes/rewrite.php @@ -1955,17 +1955,16 @@ class WP_Rewrite { /** * Add an endpoint, like /trackback/. * - * See {@link add_rewrite_endpoint()} for full documentation. - * - * @see add_rewrite_endpoint() * @since 2.1.0 * @since 3.9.0 $query_var parameter added. * @access public + * + * @see add_rewrite_endpoint() for full documentation. * @uses WP::add_query_var() * - * @param string $name Name of the endpoint. - * @param int $places Endpoint mask describing the places the endpoint should be added. - * @param string $query_var Name of the corresponding query variable. Defaults to $name. + * @param string $name Name of the endpoint. + * @param int $places Endpoint mask describing the places the endpoint should be added. + * @param string $query_var Name of the corresponding query variable. Default is value of $name. */ function add_endpoint( $name, $places, $query_var = null ) { global $wp;