WordPress.org

Make WordPress Core

Changeset 11798


Ignore:
Timestamp:
08/11/09 04:53:57 (7 years ago)
Author:
ryan
Message:

Reject activation keys that are arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-login.php

    r11514 r11798  
    188188    $key = preg_replace('/[^a-z0-9]/i', '', $key); 
    189189 
    190     if ( empty( $key ) ) 
     190    if ( empty( $key ) || is_array( $key ) ) 
    191191        return new WP_Error('invalid_key', __('Invalid key')); 
    192192 
Note: See TracChangeset for help on using the changeset viewer.