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