From f52aefd02b39d61a22628cde630f307cba2b15e8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Apr 2014 21:39:15 +0000 Subject: [PATCH] Fix PHPDoc formatting for `WP_Rewrite::add_endpoint()`. See #27700. Built from https://develop.svn.wordpress.org/trunk@28014 git-svn-id: http://core.svn.wordpress.org/trunk@27844 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 1b834c829e..0de3b3e34d 100644 --- a/wp-includes/rewrite.php +++ b/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;