[buddypress-trac] [BuddyPress] #4016: PHP Parse error: syntax error, unexpected T_STRING

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Feb 28 13:09:31 UTC 2012


#4016: PHP Parse error:  syntax error, unexpected T_STRING
------------------------------+---------------------
 Reporter:  j.conti           |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  1.5.5
Component:  Warnings/Notices  |     Version:  1.5.3
 Severity:  minor             |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------

Comment (by boonebgorges):

 (In [5861]) Use addslashes() and stripslashes() when hooking signup error
 messages to display hooks.
 This helps us to avoid syntax errors related to create_function() when the
 error message contains quotes.
 Fixes #4016. Props j.conti

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4016#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list