Changeset 14326
- Timestamp:
- 12/20/2024 11:59:01 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
r14325 r14326 22 22 23 23 $user_registration_available = true; 24 $is_wordcamp_registration = str_contains( $_COOKIE['wporg_came_from'] ?? ( $_REQUEST['from'] ?? '' ), '.wordcamp.org' ); 24 $registration_source = $_COOKIE['wporg_came_from'] ?? ( $_REQUEST['from'] ?? '' ); 25 $is_wordcamp_registration = ( 26 str_contains( $registration_source, '.wordcamp.org' ) || 27 str_contains( $registration_source, 'events.wordpress.org') 28 ); 25 29 26 30 if ( defined( 'WPORG_ON_HOLIDAY' ) && WPORG_ON_HOLIDAY && ! $is_wordcamp_registration ) {
Note: See TracChangeset
for help on using the changeset viewer.