Making WordPress.org


Ignore:
Timestamp:
11/16/2018 09:24:02 PM (6 years ago)
Author:
iandunn
Message:

WordCamp Central: Apply coding standards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/sidebar-schedule.php

    r2898 r7861  
    88            <h3>Planned WordCamps</h3>
    99
    10             <?php echo wptexturize( wpautop( "These WordCamps are in the early stages of planning, but don't have a date yet. When their dates are confirmed, they'll be added to the schedule of approved WordCamps." ) );
    11             ?>
     10            <p>
     11                These WordCamps are in the early stages of planning, but don't have a date yet. When their dates are confirmed, they'll be added to the schedule of approved WordCamps.
     12            </p>
    1213
    1314            <?php
     
    1516                $args = array(
    1617                    'posts_per_page' => -1,
    17                     'post_status' => WordCamp_Loader::get_pre_planning_post_statuses(),
     18                    'post_status'    => WordCamp_Loader::get_pre_planning_post_statuses(),
    1819                    'meta_key'       => 'Start Date (YYYY-mm-dd)',
    1920                    'orderby'        => 'meta_value',
     
    3233
    3334                <?php wcpt_has_wordcamps( $args ); ?>
    34                 <?php while ( wcpt_wordcamps() ) : wcpt_the_wordcamp(); ?>
     35                <?php while ( wcpt_wordcamps() ) :
     36                    wcpt_the_wordcamp(); ?>
    3537
    3638                    <li>
     
    5456                    // and run the query again
    5557                    $args['meta_query'][0]['compare'] = '<';
    56                     $args['orderby'] = 'date';
     58                    $args['orderby']                  = 'date';
    5759                    wcpt_has_wordcamps( $args );
    5860                ?>
    5961
    60                 <?php while ( wcpt_wordcamps() ) : wcpt_the_wordcamp(); ?>
     62                <?php while ( wcpt_wordcamps() ) :
     63                    wcpt_the_wordcamp(); ?>
    6164
    6265                    <li>
     
    7679
    7780                <li>
    78                     <?php echo wptexturize(
    79                         wpautop( 'Don&#8217;t see your city on the list, but yearning for a local WordCamp? Check out what it takes to <a href="/become-an-organizer/">become an organizer</a>!')
    80                     ); ?>
     81                    Don&#8217;t see your city on the list, but yearning for a local WordCamp? Check out what it takes to <a href="/become-an-organizer/">become an organizer</a>!
    8182                </li>
    8283
Note: See TracChangeset for help on using the changeset viewer.