Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20539 closed defect (bug) (fixed)

Missing editor_template_src.js when setting SCRIPT_DEBUG to true

Reported by: ilovecolors's profile ilovecolors Owned by: ryan's profile ryan
Milestone: 3.4 Priority: low
Severity: normal Version: 3.4
Component: TinyMCE Keywords: has-patch commit
Focuses: Cc:


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)

20539.patch (506 bytes) - added by Jayjdk 12 years ago.
Remove editor_template_src.js from the $_old_files array

Download all attachments as: .zip

Change History (8)

#1 @azaozz
12 years ago

  • Keywords close added

The file exists in the repo, perhaps check your install and/or refresh it:

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

The file exists in both and current nightly build as well.

#3 @SergeyBiryukov
12 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#4 @SergeyBiryukov
12 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed

12 years ago

Remove editor_template_src.js from the $_old_files array

#5 @Jayjdk
12 years ago

  • Resolution worksforme deleted
  • Status changed from closed to 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.

#6 @nacin
12 years ago

  • Keywords has-patch commit added; close removed
  • Milestone set to 3.4
  • Priority changed from normal to low

#7 @ryan
12 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from reopened to closed

In [20728]:

Remove editor_template_src.js from old files list. It should not be deleted. Props Jayjdk. fixes #20539

Note: See TracTickets for help on using tickets.