[buddypress-trac] [BuddyPress] #2304: 2 errors in bp-templatetags.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Apr 13 00:30:35 UTC 2010


#2304: 2 errors in bp-templatetags.php
--------------------+-------------------------------------------------------
 Reporter:  chouf1  |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  major   |   Milestone:  1.2.4
Component:  Core    |    Keywords:       
--------------------+-------------------------------------------------------
 Two errors line 672 and 674
 672: %s to be escaped
 change
 $pag_filter = sprintf( __( ' matching tag "%s"', 'buddypress' ),
 $forum_template->search_terms );
 to
 $pag_filter = sprintf( __( ' matching tag \"%s\"', 'buddypress' ),
 $forum_template->search_terms );

 674: trailing %s
 echo apply_filters( 'bp_forum_pagination_count', sprintf( __( 'Viewing
 topic %s to %s (%s total topics%s)', 'buddypress' ), $from_num, $to_num,
 $total, $pag_filter ) );

 to:
 echo apply_filters( 'bp_forum_pagination_count', sprintf( __( 'Viewing
 topic %s to %s (%s total topics)', 'buddypress' ), $from_num, $to_num,
 $total, $pag_filter ) );

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2304>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list