Index: trunk/extensions/AbuseFilter/SpecialAbuseFilter.php |
— | — | @@ -165,8 +165,8 @@ |
166 | 166 | $fields['abusefilter-edit-hitcount'] = ''; |
167 | 167 | } |
168 | 168 | |
169 | | - $fields['abusefilter-edit-rules'] = Xml::textarea( 'wpFilterRules', ( isset( $row->af_pattern ) ? $row->af_pattern : '' ) ); |
170 | | - $fields['abusefilter-edit-notes'] = Xml::textarea( 'wpFilterNotes', ( isset( $row->af_comments ) ? $row->af_comments : '' ) ); |
| 169 | + $fields['abusefilter-edit-rules'] = Xml::textarea( 'wpFilterRules', ( isset( $row->af_pattern ) ? $row->af_pattern"\n" : "\n" ) ); |
| 170 | + $fields['abusefilter-edit-notes'] = Xml::textarea( 'wpFilterNotes', ( isset( $row->af_comments ) ? $row->af_comments."\n" : "\n" ) ); |
171 | 171 | |
172 | 172 | |
173 | 173 | // Build checkboxen |