[wp-trac] [WordPress Trac] #37955: Make it possible to whitelist URLs in check_comment()

WordPress Trac noreply at wordpress.org
Tue Sep 6 13:41:41 UTC 2016


#37955: Make it possible to whitelist URLs in check_comment()
-------------------------+-----------------------------
 Reporter:  ocean90      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 Use case: #meta1776

 There is currently no way to exclude URLs for the number of external links
 check.

 One option might be to pass `$comment` to the `comment_max_links_url`
 filter. This would make it possible to re-check the comment and reduce
 `$num_links`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37955>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list