Changeset 22121 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 10/05/2012 01:11:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r22092 r22121 487 487 $diff = $now - $registered_at; 488 488 // If registered more than two days ago, cancel registration and let this signup go through. 489 if ( $diff > 172800)489 if ( $diff > 2 * DAY_IN_SECONDS ) 490 490 $wpdb->delete( $wpdb->signups, array( 'user_login' => $user_name ) ); 491 491 else … … 500 500 $diff = current_time( 'timestamp', true ) - mysql2date('U', $signup->registered); 501 501 // If registered more than two days ago, cancel registration and let this signup go through. 502 if ( $diff > 172800)502 if ( $diff > 2 * DAY_IN_SECONDS ) 503 503 $wpdb->delete( $wpdb->signups, array( 'user_email' => $user_email ) ); 504 504 else … … 603 603 $diff = current_time( 'timestamp', true ) - mysql2date('U', $signup->registered); 604 604 // If registered more than two days ago, cancel registration and let this signup go through. 605 if ( $diff > 172800)605 if ( $diff > 2 * DAY_IN_SECONDS ) 606 606 $wpdb->delete( $wpdb->signups, array( 'domain' => $mydomain , 'path' => $path ) ); 607 607 else
Note: See TracChangeset
for help on using the changeset viewer.