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
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-04-07 21:38:34 +00:00
parent c80074d551
commit ef4d73dafc
1 changed files with 5 additions and 6 deletions

View File

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