Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#23486 closed enhancement (fixed)

Deprecate/remove custom-fields.js and categories.js

Reported by: ocean90's profile ocean90 Owned by: nacin's profile nacin
Milestone: 3.6.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:


admin-categories aka wp-admin/js/categories.js is unused since 3.1.

admin-custom-fields aka wp-admin/js/custom-fields.js is unused since 2.5.

Attachments (2)

23486.patch (5.3 KB) - added by ocean90 11 years ago.
23486.old-files.diff (471 bytes) - added by duck_ 11 years ago.

Download all attachments as: .zip

Change History (13)

11 years ago

#1 @nacin
11 years ago

Only instances in the plugin directory of either are:

plugins/zelist-directory/wp-admin/categories.php:128:wp_enqueue_script( 'admin-categories' );

Both of which are straight copies of the link-categories.php and categories.php wp-admin files.

#2 @nacin
11 years ago

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

In 23446:

Remove unused admin-categories and admin-custom-fields JavaScript files. props ocean90. fixes #23486.

#3 @SergeyBiryukov
11 years ago

  • Keywords 2nd-opinion removed
  • Milestone changed from Awaiting Review to 3.6

#4 @SergeyBiryukov
11 years ago

  • Component changed from General to Administration

#5 @pat@…
11 years ago

These files have been left in the zip package as 0-byte files which results in a copy error when unzipping the package using PHPs ZipArchive library. They should be removed from the zip archive if they have been deprecated/removed.

#6 @pat@…
11 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#7 @nacin
11 years ago

In 25013:

Remove zero-byte files that were meant to be deleted in [23446]. see #23486.

#8 @nacin
11 years ago

In 25014:

Remove zero-byte files that were meant to be deleted in [23446]. see #23486.

Merges [25013] to the 3.6 branch.

#9 @SergeyBiryukov
11 years ago

  • Milestone changed from 3.6 to 3.6.1
  • Resolution set to fixed
  • Status changed from reopened to closed

#10 @duck_
11 years ago

[25013] missed out adding the files to $_old_files in trunk, see 23486.old-files.diff.

#11 @duck_
11 years ago

In 25019:

Add javascript files deleted in [25013] to $_old_files. See #23486.

Note: See TracTickets for help on using tickets.