Make WordPress Core

Changeset 25965


Ignore:
Timestamp:
10/28/2013 11:05:26 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix a copy/paste error in get_next_post_link() description and $format argument. props jim912, ounziw. fixes #25743.

File:
1 edited

Legend:

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

    r25959 r25965  
    13921392
    13931393/**
    1394  * Get previous post link that is adjacent to the current post.
     1394 * Get next post link that is adjacent to the current post.
    13951395 *
    13961396 * @since 3.7.0
    1397  * @uses get_next_post_link()
    13981397 *
    13991398 * @param string       $format         Optional. Link anchor format.
     
    14041403 * @return string
    14051404 */
    1406 function get_next_post_link( $format = '« %link', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' ) {
     1405function get_next_post_link( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' ) {
    14071406    return get_adjacent_post_link( $format, $link, $in_same_cat, $excluded_terms, false, $taxonomy );
    14081407}
Note: See TracChangeset for help on using the changeset viewer.