Changeset 14320
- Timestamp:
- 12/20/2024 01:41:05 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
r14295 r14320 44 44 $terms_of_service_error = ! $terms_of_service || $terms_of_service > TOS_REVISION; 45 45 46 $wporg_on_holiday = defined( 'WPORG_ON_HOLIDAY' ) && WPORG_ON_HOLIDAY; 47 46 48 // handle user registrations. 47 if ( ! $ error_user_login && ! $error_user_email && ! $terms_of_service_error ) {49 if ( ! $wporg_on_holiday && ! $error_user_login && ! $error_user_email && ! $terms_of_service_error ) { 48 50 49 51 $recaptcha = wporg_login_check_recapcha_status( 'register', false /* Allow low scores to pass through */ ); … … 68 70 69 71 get_header(); 72 70 73 ?> 74 75 <?php if ( defined( 'WPORG_ON_HOLIDAY' ) && WPORG_ON_HOLIDAY ) : ?> 76 <p><?php printf( __( 'New user registration is currently unavailable. Please check back after the <a href="%s">holiday break</a>.', 'wporg' ), 'https://wordpress.org/news/2024/12/holiday-break/' ); ?></p> 77 <?php else: ?> 71 78 72 79 <p class="intro"><?php _e( 'Create a WordPress.org account to start contributing to WordPress, get help in the support forums, or rate and review themes and plugins.', 'wporg' ); ?></p> … … 142 149 </form> 143 150 151 <?php endif; // WPORG_ON_HOLIDAY else ?> 152 144 153 <p id="nav"> 145 154 <a href="/" title="<?php esc_attr_e( 'Already have an account?', 'wporg' ); ?>"><?php _e( 'Already have an account?', 'wporg' ); ?></a> •
Note: See TracChangeset
for help on using the changeset viewer.