[wp-trac] [WordPress Trac] #29130: wp.mce.View.extend no longer working as expected

WordPress Trac noreply at wordpress.org
Tue Aug 19 08:50:56 UTC 2014


#29130: wp.mce.View.extend no longer working as expected
--------------------------+-------------------------
 Reporter:  tolnem        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+-------------------------

Comment (by tolnem):

 I have noted that the code that I'm extending is experimental and still
 under development, and I am happy to handle the change on my side if
 necessary.

 I just reported this as a bug in case the backwards compatibility break
 wasn't intended, and because it seemed to me that the `wp.mce.View.extend`
 function now has no effect. Changing the code to just `View: {...}` works
 fine and feels cleaner. The number of installs I have this on isn't larger
 than that I can handle a backwards compatibility break, so for the sake of
 having cleaner code going forward I would not want you to revert this
 unless it really broke something that was expected to work.

 The plugin is part of a commercial product, so I am not able to share it
 with you.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29130#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list