Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r10387 r10150  
    224224 * @subpackage Feed
    225225 * @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 */
     227function comment_guid() {
     228    echo get_comment_guid();
    231229}
    232230
     
    238236 * @since unknown
    239237 *
    240  * @param int|object $comment_id Optional comment object or id. Defaults to global comment object.
    241238 * @return bool|string false on failure or guid for comment on success.
    242239 */
    243 function get_comment_guid($comment_id = null) {
    244     $comment = get_comment($comment_id);
     240function get_comment_guid() {
     241    global $comment;
    245242
    246243    if ( !is_object($comment) )
     
    256253 */
    257254function comment_link() {
    258     echo clean_url( get_comment_link() );
     255    echo get_comment_link();
    259256}
    260257
Note: See TracChangeset for help on using the changeset viewer.