Make WordPress Core

Ticket #62972: 62972.diff

File 62972.diff, 710 bytes (added by pratiklondhe, 2 months ago)
  • src/wp-content/themes/twentyfourteen/inc/template-tags.php

    diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php
    index 7e48884089..26def1afc0 100644
    a b if ( ! function_exists( 'twentyfourteen_paging_nav' ) ) : 
    4747                                'total'     => $wp_query->max_num_pages,
    4848                                'current'   => $paged,
    4949                                'mid_size'  => 1,
    50                                 'add_args'  => array_map( 'urlencode', $query_args ),
     50                                'add_args'  => urlencode_deep( $query_args ),
    5151                                'prev_text' => __( '← Previous', 'twentyfourteen' ),
    5252                                'next_text' => __( 'Next →', 'twentyfourteen' ),
    5353                        )