Changeset 37530
- Timestamp:
- 05/23/2016 10:22:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r37498 r37530 1791 1791 $arc_week_start = date_i18n( get_option( 'date_format' ), $arc_week['start'] ); 1792 1792 $arc_week_end = date_i18n( get_option( 'date_format' ), $arc_week['end'] ); 1793 $url = sprintf( '%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', home_url(), '', '?', '=', $arc_year, '&', '=', $result->week);1793 $url = add_query_arg( array( 'm' => $arc_year, 'w' => $result->week, ), home_url( '/' ) ); 1794 1794 if ( 'post' !== $r['post_type'] ) { 1795 1795 $url = add_query_arg( 'post_type', $r['post_type'], $url );
Note: See TracChangeset
for help on using the changeset viewer.