[wp-trac] [WordPress Trac] #37319: Documentation for first parameter of `comment_max_links_url` is incorrect

WordPress Trac noreply at wordpress.org
Thu Jul 14 11:47:36 UTC 2016


#37319: Documentation for first parameter of `comment_max_links_url` is incorrect
--------------------------+-----------------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------

Comment (by pbearne):

 @rachelbaker sorry about the code tidy got carried away :-)

 I pushed up 2 patches one with just the comment change

 But a relooking at this I felt that the filter wasn't much use as the sort
 of use that would make to do do a recount with a different regx (eg not
 include links to .gov sites). So I also have added a patch that adds a new
 filter that also passes the functions args as well

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


More information about the wp-trac mailing list