Making WordPress.org


Ignore:
Timestamp:
01/26/2016 11:48:33 PM (9 years ago)
Author:
coffee2code
Message:

W.org Showcase: Trim trailing whitespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php

    r2376 r2377  
    5050    <?php if ( $error ) : ?>
    5151        <h3 id="return"><?php _e( 'Whoops!', 'wporg-showcase' ); ?></h3>
    52        
     52
    5353        <?php if ( strstr( $url, 'blogspot.com' ) || strstr( $url, 'blogger.com' ) ) : ?>
    5454            <p><?php _e( 'Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.', 'wporg-showcase' ); ?></p>
    55    
     55
    5656        <?php elseif ( $site_detected == "NO" ) : ?>
    5757            <p><?php _e( 'We didn\'t detect WordPress at the given URL. Please submit the URL of a site running WordPress.', 'wporg-showcase' ); ?></p>
    58        
     58
    5959        <?php elseif ( $site_detected == "YES" && version_compare($site_version, $latest_release, '<' ) ) : ?>
    6060            <p><?php _e( 'We were unable to detect the latest version of WordPress at the given URL. We\'d prefer submissions to the showcase to be running up-to-date versions of WordPress.', 'wporg-showcase' ); ?></p>
    6161            <p><?php _e( 'If you\'re sure the site is running the latest version of WordPress, then please check the URL to make sure it\'s accurate, and that the URL you submit points directly to the location where WordPress is running.', 'wporg-showcase' ); ?></p>
    62        
     62
    6363        <?php else : ?>
    6464            <p><?php _e( 'There seems to have been a problem with the information you entered. Please make sure all fields have data and resubmit.', 'wporg-showcase' ); ?></p>
    65    
     65
    6666        <?php endif; ?>
    67    
     67
    6868    <?php endif; // $error ?>
    6969
     
    9797    if ($use_recaptcha) {
    9898        $recaptcha_url = 'http://www.google.com/recaptcha/api/challenge?k=' . $recaptcha_pubkey;
    99         if ( !empty( $recaptcha_error ) ) 
     99        if ( !empty( $recaptcha_error ) )
    100100            $recaptcha_url .= '&error=' . $recaptcha_error;
    101101    ?>
     
    106106    <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
    107107    </noscript>
    108     <?php 
     108    <?php
    109109    } // $use_recaptcha
    110110    ?>
    111    
     111
    112112    <p><input id="submit" type="submit" tabindex="6" value="<?php esc_attr_e( 'Submit Site', 'wporg-showcase' ); ?>" class="button" /></p>
    113113    <?php do_action( 'comment_form', $post->ID ); ?>
Note: See TracChangeset for help on using the changeset viewer.