Changeset 10385 for trunk/wp-includes/feed.php
- Timestamp:
- 01/20/2009 08:55:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r10377 r10385 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) )
Note: See TracChangeset
for help on using the changeset viewer.