[wp-trac] [WordPress Trac] #28458: wp.mce.view: simplify things a bit

WordPress Trac noreply at wordpress.org
Fri Jun 6 14:21:14 UTC 2014

#28458: wp.mce.view: simplify things a bit
 Reporter:  avryl         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript

Comment (by wonderboymusic):

 In [changeset:"28689"]:
 #!CommitTicketReference repository="" revision="28689"
 As per @gcorne's suggestion, when calling `wp.mce.views.register()`,
 automatically set `shortcode` equal to the passed `type` in the set of
 default args instead of introducing a `type` property. It is still
 overrideable by the args that are passed.

 See #28458.

Ticket URL: <https://core.trac.wordpress.org/ticket/28458#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list