Changeset 43571 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r43506 r43571 174 174 if ( $cats ) { 175 175 $cats = wp_list_sort( 176 $cats, array( 176 $cats, 177 array( 177 178 'term_id' => 'ASC', 178 179 ) … … 293 294 'post_type' => $post->post_type, 294 295 'p' => $post->ID, 295 ), '' 296 ), 297 '' 296 298 ); 297 299 } … … 699 701 'feed' => $feed, 700 702 'attachment_id' => $post_id, 701 ), home_url( '/' ) 703 ), 704 home_url( '/' ) 702 705 ); 703 706 } elseif ( 'page' == $post->post_type ) { … … 706 709 'feed' => $feed, 707 710 'page_id' => $post_id, 708 ), home_url( '/' ) 711 ), 712 home_url( '/' ) 709 713 ); 710 714 } else { … … 713 717 'feed' => $feed, 714 718 'p' => $post_id, 715 ), home_url( '/' ) 719 ), 720 home_url( '/' ) 716 721 ); 717 722 } … … 2523 2528 function get_the_post_navigation( $args = array() ) { 2524 2529 $args = wp_parse_args( 2525 $args, array( 2530 $args, 2531 array( 2526 2532 'prev_text' => '%title', 2527 2533 'next_text' => '%title', … … 2596 2602 if ( $GLOBALS['wp_query']->max_num_pages > 1 ) { 2597 2603 $args = wp_parse_args( 2598 $args, array( 2604 $args, 2605 array( 2599 2606 'prev_text' => __( 'Older posts' ), 2600 2607 'next_text' => __( 'Newer posts' ), … … 2651 2658 if ( $GLOBALS['wp_query']->max_num_pages > 1 ) { 2652 2659 $args = wp_parse_args( 2653 $args, array( 2660 $args, 2661 array( 2654 2662 'mid_size' => 1, 2655 2663 'prev_text' => _x( 'Previous', 'previous set of posts' ), … … 2956 2964 if ( get_comment_pages_count() > 1 ) { 2957 2965 $args = wp_parse_args( 2958 $args, array( 2966 $args, 2967 array( 2959 2968 'prev_text' => __( 'Older comments' ), 2960 2969 'next_text' => __( 'Newer comments' ), … … 3008 3017 $navigation = ''; 3009 3018 $args = wp_parse_args( 3010 $args, array( 3019 $args, 3020 array( 3011 3021 'screen_reader_text' => __( 'Comments navigation' ), 3012 3022 ) … … 3966 3976 function get_avatar_data( $id_or_email, $args = null ) { 3967 3977 $args = wp_parse_args( 3968 $args, array( 3978 $args, 3979 array( 3969 3980 'size' => 96, 3970 3981 'height' => null,
Note: See TracChangeset
for help on using the changeset viewer.