Ticket #36243: general-template.php.patch
File general-template.php.patch, 1.1 KB (added by , 9 years ago) |
---|
-
src/wp-includes/general-template.php
1679 1679 // this is what will separate dates on weekly archive links 1680 1680 $archive_week_separator = '–'; 1681 1681 1682 // over-ride general date format ? 0 = no: use the date format set in Options, 1 = yes: over-ride1683 $archive_date_format_over_ride = 0;1684 1685 1682 // options for daily archive (only if you over-ride the general date format) 1686 1683 $archive_day_date_format = 'Y/m/d'; 1687 1684 1688 // options for weekly archive (only if you over-ride the general date format)1689 $archive_week_start_date_format = 'Y/m/d';1690 $archive_week_end_date_format = 'Y/m/d';1691 1692 if ( ! $archive_date_format_over_ride ) {1693 $archive_day_date_format = get_option( 'date_format' );1694 $archive_week_start_date_format = get_option( 'date_format' );1695 $archive_week_end_date_format = get_option( 'date_format' );1696 }1697 1698 1685 $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] ); 1699 1686 1700 1687 /**