Changeset 1150 for trunk/wp-includes/template-functions-links.php
- Timestamp:
- 04/24/2004 09:52:24 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-links.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-links.php
r1112 r1150 88 88 function get_month_link($year, $month) { 89 89 global $querystring_start, $querystring_equal; 90 if (!$year) $year = gmdate('Y', time()+( $time_difference* 3600));91 if (!$month) $month = gmdate('m', time()+( $time_difference* 3600));90 if (!$year) $year = gmdate('Y', time()+(get_settings('gmt_offset') * 3600)); 91 if (!$month) $month = gmdate('m', time()+(get_settings('gmt_offset') * 3600)); 92 92 if ('' != get_settings('permalink_structure')) { 93 93 $off = strpos(get_settings('permalink_structure'), '%monthnum%'); … … 106 106 function get_day_link($year, $month, $day) { 107 107 global $querystring_start, $querystring_equal; 108 if (!$year) $year = gmdate('Y', time()+( $time_difference* 3600));109 if (!$month) $month = gmdate('m', time()+( $time_difference* 3600));110 if (!$day) $day = gmdate('j', time()+( $time_difference* 3600));108 if (!$year) $year = gmdate('Y', time()+(get_settings('gmt_offset') * 3600)); 109 if (!$month) $month = gmdate('m', time()+(get_settings('gmt_offset') * 3600)); 110 if (!$day) $day = gmdate('j', time()+(get_settings('gmt_offset') * 3600)); 111 111 if ('' != get_settings('permalink_structure')) { 112 112 $off = strpos(get_settings('permalink_structure'), '%day%');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)