Ticket #23800: 23800.diff
File 23800.diff, 566 bytes (added by , 10 years ago) |
---|
-
wp-includes/formatting.php
3289 3289 if ( ! get_role( $value ) && get_role( 'subscriber' ) ) 3290 3290 $value = 'subscriber'; 3291 3291 break; 3292 3293 case 'moderation_keys': 3294 case 'blacklist_keys': 3295 $value = explode( "\n", $value ); 3296 $value = array_filter( array_map( 'trim', $value ) ); 3297 $value = array_unique( $value ); 3298 $value = implode( "\n", $value ); 3299 break; 3292 3300 } 3293 3301 3294 3302 /**