Changeset 726
- Timestamp:
- 01/06/2004 10:44:41 AM (22 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-blog-header.php (modified) (1 diff)
-
wp-includes/vars.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r725 r726 228 228 if ($what_to_show == 'posts') { 229 229 $limits = ' LIMIT '.$posts_per_page; 230 } elseif ($what_to_show == 'days' ) {230 } elseif ($what_to_show == 'days' && empty($monthnum) && empty($year) && empty($day)) { 231 231 $lastpostdate = get_lastpostdate(); 232 232 $lastpostdate = mysql2date('Y-m-d 00:00:00',$lastpostdate); -
trunk/wp-includes/vars.php
r718 r726 263 263 foreach($wpsmiliestrans as $smiley => $img) { 264 264 $wp_smiliessearch[] = $smiley; 265 $smiley_masked = ''; 266 for ($i = 0; $i < strlen($smiley); $i = $i + 1) { 267 $smiley_masked .= substr($smiley, $i, 1).chr(160); 268 } 265 $smiley_masked = str_replace(' ', '', $smiley); 269 266 $wp_smiliesreplace[] = " <img src='$smilies_directory/$img' alt='$smiley_masked' />"; 270 267 }
Note: See TracChangeset
for help on using the changeset viewer.