[wp-trac] [WordPress Trac] #37132: tinymce uses php open tag which can crash visual editor when server is set to parse JS files for PHP
WordPress Trac
noreply at wordpress.org
Tue Jun 21 16:10:21 UTC 2016
#37132: tinymce uses php open tag which can crash visual editor when server is set
to parse JS files for PHP
-------------------------------+------------------------------
Reporter: oldbucsfan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.5.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by oldbucsfan):
Inline is a great solution when you have an isolated piece of code, but
when many pages call the same code, it is inefficient to have each page
contain it's own code.
The only real solutions are to parse .js files or to change your
javascript files to .php files and use the appropriate header to let the
browser know it is actually a javascript file.
It seems to me that the small change would simply be a good way to go to
prevent any potential problems with php, but it may be too rare a
situation to warrant a change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37132#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list