Ticket #14429: 14429-strpbrk.patch
File 14429-strpbrk.patch, 620 bytes (added by , 9 years ago) |
---|
-
wp-includes/functions.php
234 234 $data = trim( $data ); 235 235 if ( 'N;' == $data ) 236 236 return true; 237 if ( function_exists('strpbrk') ) { 238 if ( strlen($data) > 1 && strpbrk($data,'adObis') == $data && $data[1] == ':' ) { 239 $badions = array(); 237 if ( function_exists( 'strpbrk' ) ) { 238 if ( strlen( $data ) > 3 && strpbrk( $data, 'adObis' ) === $data && ':' === $data[1] ) { 240 239 $badions[1] = $data[0]; 241 240 } else { 242 241 return false;