[wp-trac] [WordPress Trac] #36156: redirect.js - Erroneous comma in object

WordPress Trac noreply at wordpress.org
Mon Mar 7 14:50:55 UTC 2016


#36156: redirect.js - Erroneous comma in object
-------------------------------------+-----------------------------
 Reporter:  phillclark               |      Owner:
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  General                  |    Version:  4.4.1
 Severity:  normal                   |   Keywords:
  Focuses:  javascript, performance  |
-------------------------------------+-----------------------------
 Within "redirect.js" there is an erroneous comma within the object on line
 17 that causes an error in older IE browsers.


 {{{
 file_frame = wp.media.frames.file_frame = wp.media({
         title: jQuery( this ).data( 'uploader_title' ),
         button: {
                 text: jQuery( this ).data( 'uploader_button_text' ),
         },
         multiple: false
 });
 }}}

 It is located at the end of the "text" object key row

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36156>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list