[buddypress-trac] [BuddyPress Trac] #7252: Missing colon in string

buddypress-trac noreply at wordpress.org
Mon Sep 12 21:18:11 UTC 2016


#7252: Missing colon in string
--------------------------+------------------------------
 Reporter:  SGr33n        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by danbp):

 Would ENT_NOQUOTES do the trick with htmlentities() ?

 I tested following string with htmlentities() here: https://en.functions-
 online.com/htmlentities.html

 string htmlentities ( string $str [, int $quote_style ] [, string $charset
 ] )

 String:

 {{{
 {{poster.name}} replied to one of your comments:

 "{{usermessage}}"
 }}}

 Quote_style: ENT_NOQUOTES

 Charset: UTF-8

 This returns a correct value.
 BuddyPress doesn't use nowhere htmlentities or htmlspecialchars.
 bbPress use htmlspecialchars in a few files.

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


More information about the buddypress-trac mailing list