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

WordPress Trac noreply at wordpress.org
Mon Jul 11 23:35:19 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:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by pbearne):

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


Comment:

 OK we looked at this and the filters name doesn't make sense

 So we have deprecated the current filter and added 2 more to place it

 one that allows's you to change / set the max links allowed

 and a renamed filter that allows you to filter the number of links found
 in the comment

 Plus whitespace tidy / code format for the rest of the function ( if this
 too many changes ask and I will remove the extra changes

 We used patch as a demo at contrib2core toronto meetup

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


More information about the wp-trac mailing list