[buddypress-trac] [BuddyPress] #5205: IE8 bug in global.js (String.prototype.trim is undefined)

buddypress-trac noreply at wordpress.org
Wed Oct 16 13:49:56 UTC 2013


#5205: IE8 bug in global.js (String.prototype.trim is undefined)
--------------------------+-----------------------------
 Reporter:  tomdxw        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.8.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I couldn't find any information on what browsers BuddyPress supports, so I
 don't know if this is a valid bug or not, but I'll report it anyway.

 1. Use IE8, with BuddyPress and the bp-default theme activated
 2. Visit a group
 3. Type something into the "what's new" box
 4. Click "Post Update"
 5. IE8 reports an error on line 1502 of global.js and the post is not
 submitted

 To fix I simply added this polyfill: https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/String/trim#Compatibility

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


More information about the buddypress-trac mailing list