[wp-trac] [WordPress Trac] #21390: Upload/Insert media revamp

WordPress Trac noreply at wordpress.org
Wed Nov 7 08:41:19 UTC 2012


#21390: Upload/Insert media revamp
----------------------------+--------------------------
 Reporter:  nacin           |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  high            |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by koopersmith):

 In [changeset:"22415"]:
 {{{
 #!CommitTicketReference repository="" revision="22415"
 Use Mustache-insipired template tags.

 Underscore's default ERB-style templates are incompatible with PHP when
 asp_tags is enabled. As a result, we've settled on an alternative syntax
 that should be familiar to devs: Mustache-inspired for interpolating and
 escaping content, and ERB-inspired for execution.

         `{{{a}}}` - interpolating
         `{{ a }}` - escaping
         `<# a #>` - execution

 props rmccue. fixes #22344, see #21390.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21390#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list