Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#23486 closed enhancement (fixed)

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

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

Description

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 14 years ago.
23486.old-files.diff​ (471 bytes ) - added by duck_ 13 years ago.

Download all attachments as: .zip

Change History (13)

@ocean90
14 years ago

#1 @nacin
14 years ago

Only instances in the plugin directory of either are:

plugins/zelist/admin/link-categories.php:49:wp_enqueue_script('admin-categories');
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
14 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 23446:

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

#3 @SergeyBiryukov
14 years ago

  • Keywords 2nd-opinion removed
  • Milestone Awaiting Review → 3.6

#4 @SergeyBiryukov
14 years ago

  • Component General → Administration

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

  • Resolution fixed
  • Status closed → reopened

#7 @nacin
13 years ago

In 25013:

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

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

  • Milestone 3.6 → 3.6.1
  • Resolution → fixed
  • Status reopened → closed

#10 @duck_
13 years ago

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

#11 @duck_
13 years ago

In 25019:

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

Note: See TracTickets for help on using tickets.