Changeset 2377 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
- Timestamp:
- 01/26/2016 11:48:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
r2376 r2377 50 50 <?php if ( $error ) : ?> 51 51 <h3 id="return"><?php _e( 'Whoops!', 'wporg-showcase' ); ?></h3> 52 52 53 53 <?php if ( strstr( $url, 'blogspot.com' ) || strstr( $url, 'blogger.com' ) ) : ?> 54 54 <p><?php _e( 'Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.', 'wporg-showcase' ); ?></p> 55 55 56 56 <?php elseif ( $site_detected == "NO" ) : ?> 57 57 <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 59 59 <?php elseif ( $site_detected == "YES" && version_compare($site_version, $latest_release, '<' ) ) : ?> 60 60 <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> 61 61 <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 63 63 <?php else : ?> 64 64 <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 66 66 <?php endif; ?> 67 67 68 68 <?php endif; // $error ?> 69 69 … … 97 97 if ($use_recaptcha) { 98 98 $recaptcha_url = 'http://www.google.com/recaptcha/api/challenge?k=' . $recaptcha_pubkey; 99 if ( !empty( $recaptcha_error ) ) 99 if ( !empty( $recaptcha_error ) ) 100 100 $recaptcha_url .= '&error=' . $recaptcha_error; 101 101 ?> … … 106 106 <input type="hidden" name="recaptcha_response_field" value="manual_challenge"> 107 107 </noscript> 108 <?php 108 <?php 109 109 } // $use_recaptcha 110 110 ?> 111 111 112 112 <p><input id="submit" type="submit" tabindex="6" value="<?php esc_attr_e( 'Submit Site', 'wporg-showcase' ); ?>" class="button" /></p> 113 113 <?php do_action( 'comment_form', $post->ID ); ?>
Note: See TracChangeset
for help on using the changeset viewer.