WordPress.org

Make WordPress Core

Ticket #25743: get_next_post_link.patch

File get_next_post_link.patch, 1.1 KB (added by ounziw, 7 years ago)
  • wp-includes/link-template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    13681368}
    13691369
    13701370/**
    1371  * Get previous post link that is adjacent to the current post.
     1371 * Get next post link that is adjacent to the current post.
    13721372 *
    13731373 * @since 3.7.0
    1374  * @uses get_next_post_link()
    13751374 *
    13761375 * @param string $format Optional. Link anchor format.
    13771376 * @param string $link Optional. Link permalink format.
     
    13791378 * @param string $excluded_categories Optional. Excluded categories IDs.
    13801379 * @return string
    13811380 */
    1382 function get_next_post_link( $format = '&laquo; %link', $link = '%title', $in_same_cat = false, $excluded_categories = '' ) {
     1381function get_next_post_link( $format = '%link &raquo;', $link = '%title', $in_same_cat = false, $excluded_categories = '' ) {
    13831382        return get_adjacent_post_link( $format, $link, $in_same_cat, $excluded_categories, false );
    13841383}
    13851384