WordPress.org

Make WordPress Core

Changeset 28001


Ignore:
Timestamp:
04/07/2014 08:21:02 PM (7 years ago)
Author:
DrewAPicture
Message:

Improve PHPDoc formatting for get_the_permalink().

See #27700.

File:
1 edited

Legend:

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

    r27836 r28001  
    7070
    7171/**
    72  * Retrieve full permalink for current post or post ID. Alias for get_permalink().
     72 * Retrieve full permalink for current post or post ID.
     73 *
     74 * This function is an alias for get_permalink().
    7375 *
    7476 * @since 3.9.0
     77 *
    7578 * @see get_permalink()
    7679 *
    77  * @param int|WP_Post $id        Optional. Post ID or post object. Defaults current post.
     80 * @param int|WP_Post $id        Optional. Post ID or post object. Default is the current post.
    7881 * @param bool        $leavename Optional. Whether to keep post name or page name. Default false.
    7982 * @return string|bool The permalink URL or false if post does not exist.
Note: See TracChangeset for help on using the changeset viewer.