Make WordPress Core

Ticket #6492: 6492.get_the_guid.patch

File 6492.get_the_guid.patch, 371 bytes (added by r-a-y, 14 years ago)
  • www/wp-includes/post-template.php

     
    153153function get_the_guid( $id = 0 ) {
    154154        $post = &get_post($id);
    155155
    156         return apply_filters('get_the_guid', $post->guid);
     156        return apply_filters('get_the_guid', $post->guid, $post );
    157157}
    158158
    159159/**