Changeset 2239 for trunk/wp-includes/feed-functions.php
- Timestamp:
- 02/07/2005 07:37:53 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-functions.php
r2227 r2239 77 77 function comments_rss($commentsrssfilename = 'wp-commentsrss2.php') { 78 78 global $id; 79 global $querystring_start, $querystring_equal, $querystring_separator;80 79 81 80 if ('' != get_settings('permalink_structure')) … … 88 87 89 88 function get_author_rss_link($echo = false, $author_id, $author_nicename) { 90 global $querystring_start, $querystring_equal;91 89 $auth_ID = $author_id; 92 90 $permalink_structure = get_settings('permalink_structure'); … … 94 92 if ('' == $permalink_structure) { 95 93 $file = get_settings('siteurl') . '/wp-rss2.php'; 96 $link = $file . $querystring_start . 'author' . $querystring_equal. $author_id;94 $link = $file . '?author=' . $author_id; 97 95 } else { 98 96 $link = get_author_link(0, $author_id, $author_nicename); … … 105 103 106 104 function get_category_rss_link($echo = false, $category_id, $category_nicename) { 107 global $querystring_start, $querystring_equal;108 105 $cat_ID = $category_id; 109 106 $permalink_structure = get_settings('permalink_structure'); … … 111 108 if ('' == $permalink_structure) { 112 109 $file = get_settings('siteurl') . '/wp-rss2.php'; 113 $link = $file . $querystring_start . 'cat' . $querystring_equal. $category_id;110 $link = $file . '?cat=' . $category_id; 114 111 } else { 115 112 $link = get_category_link(0, $category_id, $category_nicename);
Note: See TracChangeset
for help on using the changeset viewer.