WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (20 months ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

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

    r39613 r42228  
    1515?>
    1616<feed
    17   xmlns="http://www.w3.org/2005/Atom"
    18   xmlns:thr="http://purl.org/syndication/thread/1.0"
    19   xml:lang="<?php bloginfo_rss( 'language' ); ?>"
    20   xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"
    21   <?php
    22   /**
    23   * Fires at end of the Atom feed root to add namespaces.
    24   *
    25   * @since 2.0.0
    26   */
    27   do_action( 'atom_ns' );
    28   ?>
    29  >
     17    xmlns="http://www.w3.org/2005/Atom"
     18    xmlns:thr="http://purl.org/syndication/thread/1.0"
     19    xml:lang="<?php bloginfo_rss( 'language' ); ?>"
     20    xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"
     21    <?php
     22    /**
     23    * Fires at end of the Atom feed root to add namespaces.
     24    *
     25    * @since 2.0.0
     26    */
     27    do_action( 'atom_ns' );
     28    ?>
     29>
    3030    <title type="text"><?php wp_title_rss(); ?></title>
    3131    <subtitle type="text"><?php bloginfo_rss("description") ?></subtitle>
Note: See TracChangeset for help on using the changeset viewer.