Changeset 3272
- Timestamp:
- 12/05/2005 04:58:26 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r3271 r3272 865 865 } elseif( $author != '' && $email != '' ) { 866 866 $ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author = '$author' AND comment_author_email = '$email' and comment_approved = '1' LIMIT 1"); 867 if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) ) 868 return true; 867 if ( ( 1 == $ok_to_comment ) && 868 ( empty($mod_keys) || false === strpos( $email, $mod_keys) ) ) 869 return true; 869 870 else 870 871 return false; -
trunk/wp-register.php
r3134 r3272 110 110 <label for="user_login"><?php _e('Username:') ?></label><br /> <input type="text" name="user_login" id="user_login" size="20" maxlength="20" value="<?php echo $user_login; ?>" /><br /></p> 111 111 <p><label for="user_email"><?php _e('E-mail:') ?></label><br /> <input type="text" name="user_email" id="user_email" size="25" maxlength="100" value="<?php echo $user_email; ?>" /></p> 112 <p> A password will be emailed to you.</p>112 <p><?php _e('A password will be emailed to you.') ?></p> 113 113 <p class="submit"><input type="submit" value="<?php _e('Register') ?> »" id="submit" name="submit" /></p> 114 114 </form>
Note: See TracChangeset
for help on using the changeset viewer.