[wp-trac] [WordPress Trac] #23800: Filter Comment Blacklist, to delete duplicated terms

WordPress Trac noreply at wordpress.org
Fri May 16 10:56:56 UTC 2014


#23800: Filter Comment Blacklist, to delete duplicated terms
--------------------------------------+------------------------------
 Reporter:  shadowhck                 |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by GaVrA):

 * keywords:  good-first-bug needs-patch => good-first-bug has-patch


Comment:

 I added [attachment:23800.diff] patch that should take care of this by
 {{{explode()}}}, {{{array_filter()}}}, {{{array_unique()}}} and finally
 {{{implode()}}}.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23800#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list