WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20363 closed defect (bug) (fixed)

Duplicated code in media-gallery.dev.js

Reported by: aaroncampbell Owned by: duck_
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: General Keywords:
Focuses: Cc:

Description

It looks like the code in media-gallery.dev.js got replicated (three times) - http://core.trac.wordpress.org/browser/trunk/wp-admin/js/media-gallery.dev.js?rev=20359

It doesn't look like it was like that in 19840.17.diff:ticket:19840, so I'm not sure exactly when it happened.

Change History (2)

comment:1 duck_2 years ago

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

In [20369]:

Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.

comment:2 in reply to: ↑ description duck_2 years ago

Replying to aaroncampbell:

It doesn't look like it was like that in 19840.17.diff:ticket:19840, so I'm not sure exactly when it happened.

I think the patch will have been applied three times without the new file being deleted in between patchings.

Note: See TracTickets for help on using tickets.