Changes from trunk/wp-includes/feed.php at r10150 to branches/2.7/wp-includes/feed.php at r10387
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/feed.php
r10150 r10387 224 224 * @subpackage Feed 225 225 * @since unknown 226 */ 227 function comment_guid() { 228 echo get_comment_guid(); 226 * 227 * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. 228 */ 229 function comment_guid($comment_id = null) { 230 echo get_comment_guid($comment_id); 229 231 } 230 232 … … 236 238 * @since unknown 237 239 * 240 * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. 238 241 * @return bool|string false on failure or guid for comment on success. 239 242 */ 240 function get_comment_guid( ) {241 global $comment;243 function get_comment_guid($comment_id = null) { 244 $comment = get_comment($comment_id); 242 245 243 246 if ( !is_object($comment) ) … … 253 256 */ 254 257 function comment_link() { 255 echo get_comment_link();258 echo clean_url( get_comment_link() ); 256 259 } 257 260
Note: See TracChangeset
for help on using the changeset viewer.