[wp-trac] [WordPress Trac] #22344: Fatal error with asp_tags on

WordPress Trac noreply at wordpress.org
Tue Nov 6 00:16:18 UTC 2012


#22344: Fatal error with asp_tags on
--------------------------+--------------------
 Reporter:  knutsp        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by rmccue):

 * keywords:  needs-patch => has-patch


Comment:

 New patch uses `{{` instead of `<%`, giving a Mustache-style templating.
 `{{ a }}` is used for execution, `{{= a }}` is used for interpolating and
 `{{- a }}` is used for escaping.

 I've tested this out, and it appears to work perfectly. Only breakage I
 can see being possible is if plugins are using `wp.media.template()` with
 `<% a %>`, but since it's not in an actual release version, that should be
 fine.

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


More information about the wp-trac mailing list