Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20472 closed enhancement (fixed)

Add additional files/dirs for removal and tidy up $_old_files

Reported by: aldenta's profile aldenta Owned by: ryan's profile ryan
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch commit
Focuses: Cc:

Description

I ran across 22 files/dirs that have been removed from core but aren't in the $_old_files array. That means they don't get removed during upgrade. I also sorted the $_old_files array and added version numbers where appropriate. If that's too big of a diff I can just add these missing items to the array. I also included a test file to verify the array still has the correct information.

wp-admin/images/wp-logo-vs.gif (added 2.8, removed 3.0)
wp-admin/js/users.js (added 2.3, removed 2.8)
wp-includes/images/wlw/WpComments.png (added 2.3.1, removed 2.5)
wp-includes/images/wlw/WpIcon.png (added 2.3.1, removed 2.5)
wp-includes/images/wlw/WpWatermark.png (added 2.3.1, removed 2.5)
wp-includes/js/autosave-js.php (added 2.1, removed 2.2)
wp-includes/js/codepress/engines/khtml.js (added 2.8, removed 3.0)
wp-includes/js/codepress/engines/older.js (added 2.8, removed 3.0)
wp-includes/js/list-manipulation-js.php (added 2.1, removed 2.2)
wp-includes/js/swfupload/plugins/swfupload.documentready.js (added 2.5, removed 2.8)
wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js (added 2.5, removed 2.8)
wp-includes/js/swfupload/swfupload_f9.swf (added 2.5, removed 2.8)
wp-includes/js/tinymce/plugins/autosave (added 2.0, removed 2.8)
wp-includes/js/tinymce/plugins/inlinepopups/readme.txt (added 2.0, removed 2.0.8)
wp-includes/js/tinymce/plugins/media/css/content.css (added 2.5, removed 3.1)
wp-includes/js/tinymce/plugins/paste/css (added 2.1, removed 2.8)
wp-includes/js/tinymce/plugins/wordpress/js (added 2.5, removed 2.9)
wp-includes/js/tinymce/tiny_mce_config.php (added 2.1, removed 2.7)
wp-includes/js/tinymce/tiny_mce_ext.js (added 2.5, removed 2.7)
wp-includes/js/tinymce/utils/mclayer.js (added 2.1, removed 2.8)
wp-includes/js/tinymce/wordpress.css (added 2.5, removed 2.8)
wp-includes/js/wp-ajax-js.php (added 2.1, removed 2.2)

Attachments (2)

20472.diff (12.8 KB) - added by aldenta 12 years ago.
20472-test-old-files.php (13.9 KB) - added by aldenta 12 years ago.

Download all attachments as: .zip

Change History (5)

@aldenta
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Keywords commit added

#2 @ryan
12 years ago

  • Milestone changed from Awaiting Review to 3.4

#3 @ryan
12 years ago

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

In [20567]:

Add additional files/dirs for removal and tidy up $_old_files.

Props aldenta
Fixes #20472

Note: See TracTickets for help on using tickets.