Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php

    r38833 r42343  
    1919    <div class="page-content">
    2020        <?php
    21         if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
     21        if ( is_home() && current_user_can( 'publish_posts' ) ) :
     22        ?>
    2223
    2324            <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
     
    2930                get_search_form();
    3031
    31         endif; ?>
     32        endif;
     33        ?>
    3234    </div><!-- .page-content -->
    3335</section><!-- .no-results -->
Note: See TracChangeset for help on using the changeset viewer.