Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#55565 closed defect (bug) (fixed)

clipboard script does not register with a version

Reported by: desrosj's profile desrosj Owned by: desrosj's profile desrosj
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: good-first-bug has-patch commit
Focuses: Cc:

Description

Introduced in [45044].

Currently, the clipboard script handle that loads ClipboardJS does not specify a version when being added. It seems that this is unintentional, and specifying the current version is preferred.

Attachments (1)

55565.diff (721 bytes) - added by elifvish 2 years ago.

Download all attachments as: .zip

Change History (6)

#1 @elifvish
2 years ago

Last edited 2 years ago by elifvish (previous) (diff)

@elifvish
2 years ago

#2 @elifvish
2 years ago

  • Keywords has-patch added; needs-patch removed

#3 @desrosj
2 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.0

#4 @desrosj
2 years ago

  • Component changed from External Libraries to Script Loader

#5 @desrosj
2 years ago

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

In 53173:

Script Loader: Specify the version of the clipboard library included when registering.

For external libraries, the current version included with WordPress should be specified when registering scripts.

Props elifvish.
Fixes #55565.

Note: See TracTickets for help on using tickets.