Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r45247 r47122  
    7575        <title><?php the_title_rss(); ?></title>
    7676        <link><?php the_permalink_rss(); ?></link>
     77
     78        <dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
    7779        <dc:date><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', $post->post_date_gmt, false ); ?></dc:date>
    78         <dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
    7980        <?php the_category_rss( 'rdf' ); ?>
     81
    8082        <?php if ( get_option( 'rss_use_excerpt' ) ) : ?>
    81         <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    82 <?php else : ?>
    83         <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    84         <content:encoded><![CDATA[<?php the_content_feed( 'rdf' ); ?>]]></content:encoded>
    85 <?php endif; ?>
     83                <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
     84        <?php else : ?>
     85                <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
     86                <content:encoded><![CDATA[<?php the_content_feed( 'rdf' ); ?>]]></content:encoded>
     87        <?php endif; ?>
     88
    8689        <?php
    8790        /**
Note: See TracChangeset for help on using the changeset viewer.