WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/28/2020 11:47:45 AM (19 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for optional parameters per the documentation standards.

See #49572.

File:
1 edited

Legend:

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

    r48185 r48197  
    258258 *
    259259 * @param int|WP_Post $id        Optional. Post ID or post object. Default is the global `$post`.
    260  * @param bool        $leavename Optional, defaults to false. Whether to keep post name. Default false.
    261  * @param bool        $sample    Optional, defaults to false. Is it a sample permalink. Default false.
     260 * @param bool        $leavename Optional. Whether to keep post name. Default false.
     261 * @param bool        $sample    Optional. Is it a sample permalink. Default false.
    262262 * @return string|WP_Error The post permalink.
    263263 */
Note: See TracChangeset for help on using the changeset viewer.