Make WordPress Core

Changeset 28014


Ignore:
Timestamp:
04/07/2014 09:38:34 PM (9 years ago)
Author:
DrewAPicture
Message:

Fix PHPDoc formatting for WP_Rewrite::add_endpoint().

See #27700.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rewrite.php

    r27835 r28014  
    19561956     * Add an endpoint, like /trackback/.
    19571957     *
    1958      * See {@link add_rewrite_endpoint()} for full documentation.
    1959      *
    1960      * @see add_rewrite_endpoint()
    19611958     * @since 2.1.0
    19621959     * @since 3.9.0 $query_var parameter added.
    19631960     * @access public
     1961     *
     1962     * @see add_rewrite_endpoint() for full documentation.
    19641963     * @uses WP::add_query_var()
    19651964     *
    1966      * @param string $name Name of the endpoint.
    1967      * @param int $places Endpoint mask describing the places the endpoint should be added.
    1968      * @param string $query_var Name of the corresponding query variable. Defaults to $name.
     1965     * @param string $name      Name of the endpoint.
     1966     * @param int    $places    Endpoint mask describing the places the endpoint should be added.
     1967     * @param string $query_var Name of the corresponding query variable. Default is value of $name.
    19691968     */
    19701969    function add_endpoint( $name, $places, $query_var = null ) {
Note: See TracChangeset for help on using the changeset viewer.