Changeset 6364 for trunk/wp-includes/feed.php
- Timestamp:
- 12/06/2007 07:49:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r6328 r6364 99 99 100 100 101 function comments_rss_link($link_text = 'Comments RSS', $ commentsrssfilename = 'nolongerused') {101 function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') { 102 102 $url = get_post_comments_feed_link(); 103 103 echo "<a href='$url'>$link_text</a>"; … … 105 105 106 106 107 function comments_rss($ commentsrssfilename = 'nolongerused') {107 function comments_rss($deprecated = '') { 108 108 return get_post_comments_feed_link(); 109 109 } … … 111 111 112 112 function get_author_rss_link($echo = false, $author_id, $author_nicename) { 113 $auth _ID= (int) $author_id;113 $author_id = (int) $author_id; 114 114 $permalink_structure = get_option('permalink_structure'); 115 115 … … 169 169 170 170 171 function get_category_rss_link($echo = false, $cat_ID, $ category_nicename) {172 $link = get_category_feed_link($cat_ID, $feed ='rss2');171 function get_category_rss_link($echo = false, $cat_ID, $deprecated = '') { 172 $link = get_category_feed_link($cat_ID, 'rss2'); 173 173 174 174 if ( $echo ) … … 181 181 $categories = get_the_category(); 182 182 $tags = get_the_tags(); 183 $home = get_bloginfo_rss('home');184 183 $the_list = ''; 185 184 $cat_names = array(); … … 253 252 254 253 function rss_enclosure() { 255 global $ id, $post;254 global $post; 256 255 if ( !empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) ) 257 256 return; … … 268 267 269 268 function atom_enclosure() { 270 global $ id, $post;269 global $post; 271 270 if ( !empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) ) 272 271 return;
Note: See TracChangeset
for help on using the changeset viewer.