Opened 14 years ago
Closed 14 years ago
#20539 closed defect (bug) (fixed)
Missing editor_template_src.js when setting SCRIPT_DEBUG to true
| Reported by: | ilovecolors | Owned by: | ryan |
|---|---|---|---|
| Priority: | low | Milestone: | 3.4 |
| Component: | TinyMCE | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Using WP 3.4 beta 3 multisite configuration based on directories.
In wp-config.php, set
define('SCRIPT_DEBUG', true);
Create/edit a post/page.
Console throws
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/wordpress/night/wp-includes/js/tinymce/themes/advanced/editor_template_src.js?ver=349-20521 Failed to load: http://localhost/wordpress/night/wp-includes/js/tinymce/themes/advanced/editor_template_src.js
As a result, TinyMCE is not initialized.
Attachments (1)
Change History (8)
#2
@
14 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
The file exists in both wordpress-3.4-beta3.zip and current nightly build as well.
#5
@
14 years ago
- Resolution worksforme
- Status closed → reopened
I have the same problem as ilovecolors. The editor_template_src.js file gets deleted every time I update WordPress.
I looked in the source code and the file is listed in the $_old_files array in wp-admin/includes/update-core.php
I've attached a patch.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The file exists in the repo, perhaps check your install and/or refresh it: http://core.trac.wordpress.org/browser/trunk/wp-includes/js/tinymce/themes/advanced