Changeset 14949
- Timestamp:
- 05/26/2010 05:27:18 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r14947 r14949 1151 1151 <entry xmlns="<?php echo $this->ATOM_NS ?>" 1152 1152 xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>"> 1153 <id><?php esc_url( the_guid( $GLOBALS['post']->ID )); ?></id>1153 <id><?php the_guid( $GLOBALS['post']->ID ); ?></id> 1154 1154 <?php list($content_type, $content) = prep_atom_text_construct(get_the_title()); ?> 1155 1155 <title type="<?php echo $content_type ?>"><?php echo $content ?></title> … … 1168 1168 <?php if ($GLOBALS['post']->post_type == 'attachment') { ?> 1169 1169 <link rel="edit-media" href="<?php $this->the_media_url() ?>" /> 1170 <content type="<?php echo $GLOBALS['post']->post_mime_type ?>" src="<?php esc_url( the_guid() ); ?>"/>1170 <content type="<?php echo $GLOBALS['post']->post_mime_type ?>" src="<?php the_guid() ; ?>"/> 1171 1171 <?php } else { ?> 1172 1172 <link href="<?php the_permalink_rss() ?>" /> -
trunk/wp-includes/feed-atom-comments.php
r14947 r14949 74 74 // Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt) 75 75 if ( $comment->comment_parent == 0 ) : // This comment is top level ?> 76 <thr:in-reply-to ref="<?php esc_url( the_guid()); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" />76 <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 77 77 <?php else : // This comment is in reply to another comment 78 78 $parent_comment = get_comment($comment->comment_parent); -
trunk/wp-includes/feed-atom.php
r14947 r14949 37 37 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title> 38 38 <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" /> 39 <id><?php esc_url( the_guid() ); ?></id>39 <id><?php the_guid() ; ?></id> 40 40 <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated> 41 41 <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published> -
trunk/wp-includes/feed-rss2.php
r14947 r14949 40 40 <?php the_category_rss() ?> 41 41 42 <guid isPermaLink="false"><?php esc_url( the_guid()); ?></guid>42 <guid isPermaLink="false"><?php the_guid(); ?></guid> 43 43 <?php if (get_option('rss_use_excerpt')) : ?> 44 44 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> -
trunk/wp-includes/post-template.php
r14753 r14949 128 128 * post. The reason you should not use it as a link, is because of moving the 129 129 * blog across domains. 130 * 131 * Url is escaped to make it xml safe 130 132 * 131 133 * @since 1.5.0 … … 134 136 */ 135 137 function the_guid( $id = 0 ) { 136 echo get_the_guid($id);138 echo esc_url( get_the_guid($id) ); 137 139 } 138 140
Note: See TracChangeset
for help on using the changeset viewer.