[wp-trac] [WordPress Trac] #22344: Fatal error with asp_tags on
WordPress Trac
noreply at wordpress.org
Fri Nov 2 01:44:15 UTC 2012
#22344: Fatal error with asp_tags on
-----------------------------+--------------------------
Reporter: knutsp | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Media
Version: trunk | Severity: major
Keywords: |
-----------------------------+--------------------------
{{{
PHP Parse error: syntax error, unexpected ')', expecting '&' or
T_VARIABLE in /wp-includes/media.php on line 1453
}}}
I upgraded to 3.5-beta2-22352 with the beta plugin, and got the "white
screen of death" on one system, but not on another. Debugged and found
this error. Uploaded a .user.ini file with the line asp_tags = Off to the
root folder, and everything was back to normal.
It seems media.php uses a script templating method with <% %> as
placeholders. This is dangerous and will break sites.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22344>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list