Make WordPress Core

Changeset 14949 for trunk/wp-app.php


Ignore:
Timestamp:
05/26/2010 05:27:18 PM (14 years ago)
Author:
westi
Message:

Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r14947 r14949  
    11511151<entry xmlns="<?php echo $this->ATOM_NS ?>"
    11521152       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>
    11541154<?php list($content_type, $content) = prep_atom_text_construct(get_the_title()); ?>
    11551155    <title type="<?php echo $content_type ?>"><?php echo $content ?></title>
     
    11681168<?php if ($GLOBALS['post']->post_type == 'attachment') { ?>
    11691169    <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() ; ?>"/>
    11711171<?php } else { ?>
    11721172    <link href="<?php the_permalink_rss() ?>" />
Note: See TracChangeset for help on using the changeset viewer.