WordPress.org

Make WordPress Core

Changeset 40931


Ignore:
Timestamp:
06/25/2017 06:19:24 AM (2 years ago)
Author:
DrewAPicture
Message:

Docs: Fix a typo in the description for the get_previous_post_link() $link parameter. The default value is '%title', not '%title%'.

Props kmgalanakis.
See #41017.

File:
1 edited

Legend:

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

    r39639 r40931  
    19331933 *
    19341934 * @param string       $format         Optional. Link anchor format. Default '« %link'.
    1935  * @param string       $link           Optional. Link permalink format. Default '%title%'.
     1935 * @param string       $link           Optional. Link permalink format. Default '%title'.
    19361936 * @param bool         $in_same_term   Optional. Whether link should be in a same taxonomy term. Default false.
    19371937 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
Note: See TracChangeset for help on using the changeset viewer.