Changeset 11629
- Timestamp:
- 03/03/2022 07:25:56 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/admin/ui.php
r11623 r11629 139 139 $block_words = wp_unslash( $_POST['registration_block_words'] ?? '' ); 140 140 if ( $block_words ) { 141 $block_words = str_replace( "\r", '', $block_words ); // We're not trimming the lines (So spaces before/after can be included to match full words only), but need to remove the 'arrrs. 141 142 $block_words = explode( "\n", $block_words ); 142 143 $block_words = array_values( array_unique( array_filter( $block_words ) ) );
Note: See TracChangeset
for help on using the changeset viewer.