How to fix wordpress <=2.8.3 0day security bugs
-
From https://www.vul.kr/how-to-fix-wordpress
Line 188 to line 191 The original code is
$key = preg_replace('/[^a-z0-9]/i', '', $key); if ( empty( $key ) ) return new WP_Error('invalid_key', __('Invalid key'));
Go to line 190,chang the code:
if ( empty( $key ) )
toif ( empty( $key ) || is_array( $key ) )
so the fix code is(Line 188 to line 191)$key = preg_replace('/[^a-z0-9]/i', '', $key); if ( empty( $key ) || is_array( $key ) ) return new WP_Error('invalid_key', __('Invalid key'));
- The topic ‘How to fix wordpress <=2.8.3 0day security bugs’ is closed to new replies.