Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#23486 closed enhancement (fixed)

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

Reported by: ocean90 Owned by: 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 3 years ago.
23486.old-files.diff (471 bytes) - added by duck_ 2 years ago.

Download all attachments as: .zip

Change History (13)

3 years ago

#1 @nacin
3 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
3 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
3 years ago

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

#4 @SergeyBiryukov
3 years ago

  • Component changed from General to Administration

#5 @pat@…
2 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@…
2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#7 @nacin
2 years ago

In 25013:

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

#8 @nacin
2 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
2 years ago

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

#10 @duck_
2 years ago

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

#11 @duck_
2 years ago

In 25019:

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

Note: See TracTickets for help on using tickets.