Changeset 31726
- Timestamp:
- 03/11/2015 07:59:03 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r31708 r31726 168 168 add_filter( 'bloginfo_rss', 'ent2ncr', 8 ); 169 169 add_filter( 'the_author', 'ent2ncr', 8 ); 170 add_filter( 'the_guid', 'esc_url' ); 170 171 171 172 // Misc filters -
trunk/src/wp-includes/post-template.php
r31645 r31726 173 173 */ 174 174 function the_guid( $id = 0 ) { 175 echo esc_url( get_the_guid( $id ) ); 175 /** 176 * Filter the escaped Global Unique Identifier (guid) of the post. 177 * 178 * @since 4.2.0 179 * 180 * @param string $post_guid Escaped Global Unique Identifier (guid) of the post. 181 */ 182 echo apply_filters( 'the_guid', get_the_guid( $id ) ); 176 183 } 177 184
Note: See TracChangeset
for help on using the changeset viewer.