Changeset 6352
- Timestamp:
- 12/04/2007 12:40:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r6180 r6352 74 74 75 75 $category = ''; 76 if ( strpos($permalink, '%category%') !== false) {76 if ( strpos($permalink, '%category%') !== false ) { 77 77 $cats = get_the_category($post->ID); 78 78 if ( $cats ) … … 83 83 } 84 84 85 $authordata = get_userdata($post->post_author); 86 $author = $authordata->user_nicename; 85 $author = ''; 86 if ( strpos($permalink, '%author%') !== false ) { 87 $authordata = get_userdata($post->post_author); 88 $author = $authordata->user_nicename; 89 } 90 87 91 $date = explode(" ",date('Y m d H i s', $unixtime)); 88 92 $rewritereplace =
Note: See TracChangeset
for help on using the changeset viewer.