[wp-trac] [WordPress Trac] #22344: Fatal error with asp_tags on
WordPress Trac
noreply at wordpress.org
Wed Nov 7 08:41:18 UTC 2012
#22344: Fatal error with asp_tags on
--------------------------+--------------------------
Reporter: knutsp | Owner: koopersmith
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: blocker | Resolution: fixed
Keywords: has-patch |
--------------------------+--------------------------
Changes (by koopersmith):
* owner: => koopersmith
* status: new => closed
* resolution: => fixed
Comment:
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/22344#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list