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)

@ocean903 years ago

comment:1 @nacin3 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.

comment:2 @nacin3 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.

comment:3 @SergeyBiryukov3 years ago

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

comment:4 @SergeyBiryukov3 years ago

  • Component changed from General to Administration

comment: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.

comment:6 @pat@…2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 @nacin2 years ago

In 25013:

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

comment:8 @nacin2 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.

comment:9 @SergeyBiryukov2 years ago

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

@duck_2 years ago

comment:10 @duck_2 years ago

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

comment: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.