[buddypress-trac] [BuddyPress Trac] #9221: [BP Legacy Template pack] A printf function is written incorrectly related to "mentions" count in src/bp-templates/bp-legacy/buddypress/activity/index.php

buddypress-trac noreply at wordpress.org
Tue Jul 30 19:21:11 UTC 2024


#9221: [BP Legacy Template pack] A printf function is written incorrectly related
to "mentions" count in src/bp-templates/bp-
legacy/buddypress/activity/index.php
----------------------------------------------------+---------------------
 Reporter:  emaralive                               |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  14.1.0
Component:  Templates                               |     Version:  14.0.0
 Severity:  normal                                  |  Resolution:
 Keywords:  has-screenshots dev-feedback has-patch  |
----------------------------------------------------+---------------------

Comment (by espellcaste):

 > I added another screenshot, what if you made the "Mentions" tab look as
 what is indicated (IOW, drop the word "new": Would that be a problem?

 I think that's a good idea. o/

 @imath what do you think?

 > printf() to sprintf()
 There is nothing to say this is better. More preference. Using `wp_kses`
 here is more ''expensive'' to check. I think `esc_html` is fine for that
 usecase.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9221#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list