[wp-trac] [WordPress Trac] #31684: media.view.Settings.Gallery.extend doesn't work anymore

WordPress Trac noreply at wordpress.org
Wed Mar 18 14:39:22 UTC 2015


#31684: media.view.Settings.Gallery.extend doesn't work anymore
--------------------------+-----------------------------
 Reporter:  bduclos       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 I use the code below to add custom parameters to galleries. (Jetpack do
 the same to add a type parameter). Since Trunk split the javascript files
 into modules, it doesn't work anymore.
 {{{
 media.view.Settings.Gallery = media.view.Settings.Gallery.extend({})
 }}}

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


More information about the wp-trac mailing list