[buddypress-trac] [BuddyPress Trac] #6821: Wrong number of links

buddypress-trac noreply at wordpress.org
Tue Jan 12 18:48:16 UTC 2016


#6821: Wrong number of links
------------------------------+-----------------------------
 Reporter:  mahype            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Component - Core  |    Version:
 Severity:  trivial           |   Keywords:
------------------------------+-----------------------------
 In the function "bp_core_check_for_moderation" the number of links will be
 checked. It gets the value by

 {{{#!php
 $max_links = get_option( 'comment_max_links' );
 }}}

 It's getting approved by this code:


 {{{#!php
 if ( $num_links >= $max_links ) {
     return false;
 }
 }}}

 It should be:

 {{{#!php
 if ( $num_links > $max_links ) {
     return false;
 }
 }}}

 to work fine.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6821>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list