Make WordPress Core

Opened 5 years ago

Closed 8 months ago

Last modified 2 months ago

#52699 closed enhancement (fixed)

Flash is dead

Reported by: mkeck's profile mkeck Owned by: adamsilverstein's profile adamsilverstein
Milestone: 6.9 Priority: low
Severity: normal Version:
Component: General Keywords: has-patch early add-to-field-guide commit has-dev-note
Focuses: javascript, administration, performance Cc:

Description

Hello,

since Adobe does not support Flash anymore and nearly all browsers and OS too, I think it does not make sense to include follow things:

  • swfobject
  • flash fallback for upload
  • pupload flash

Change History (17)

#1 @fierevere
5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #52576.

thank you, its already been reported here:
https://core.trac.wordpress.org/ticket/52576

#2 @SergeyBiryukov
5 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Reopening, as I think this is different enough to be considered separately from #52576, which only focused on a single message in MediaElement.js.

#3 @johnbillion
5 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Priority changed from normal to low
  • Type changed from feature request to task (blessed)
  • Version 5.6 deleted

This ticket was mentioned in PR #3043 on WordPress/wordpress-develop by Tabrisrp.


3 years ago
#4

  • Keywords has-patch added; needs-patch removed

Remove swfobject and swfupload from codebase since Flash is unsupported now

Trac ticket: https://core.trac.wordpress.org/ticket/52699

#5 @flixos90
11 months ago

@johnbillion There hasn't been any activity on this in years, but there is the PR https://github.com/WordPress/wordpress-develop/pull/3043 by @tabrisrp that hasn't been reviewed yet.

I know it's low priority, but if the patch is good, we may want to get this in soon?

#6 @johnbillion
11 months ago

  • Keywords early added
  • Milestone changed from Future Release to 6.9

There is a chance that a plugin or theme has swfobject or swfupload as a script dependency even though it's not actually used. Let's rip these out in 6.9 early.

This ticket was mentioned in Slack in #core-performance by adamsilverstein. View the logs.


10 months ago

#8 @adamsilverstein
10 months ago

  • Owner set to adamsilverstein
  • Status changed from reopened to assigned

The PR looks good to me. We discussed this at the Performance bug scrub today and this seems ready to go for 6.9 (early).

@audrasjb commented on PR #3043:


10 months ago
#9

AH. Hmm no we need a PR udpate as this one has conflicts with current trunk.

#10 @audrasjb
10 months ago

  • Keywords add-to-field-guide needs-dev-note needs-refresh added
  • Type changed from task (blessed) to enhancement

This ticket was mentioned in PR #8621 on WordPress/wordpress-develop by @sainathpoojary.


10 months ago
#11

  • Keywords needs-refresh removed

This PR removes swfobject and swfupload, as Flash is no longer supported. These scripts are outdated and no longer needed.

Trac ticket: #52699
Original PR: #3043

#12 @sainathpoojary
10 months ago

Hi @audrasjb,
I’ve resolved the merge conflicts and submitted the PR. Please review it when you have a moment.

#13 @adamsilverstein
8 months ago

Spent some time looking thru plugins that reference 'swfupload' (https://wpdirectory.net/search/01JWZN3R8JSBXT60P053NW2R46). Although some plugins reference the handle, none appear to actually use or rely on it.

I also refreshed the PR (https://github.com/WordPress/wordpress-develop/pull/8621) to resolve conflicts and remove a few unrelated changes. This should be good to go.

#14 @audrasjb
8 months ago

Thanks for refreshing the PR @adamsilverstein. yeah I definitely think there shouldn't be any strong dependency from active projects of the ecosystem on swfupload as now. Worth removing this when we can :)

#15 @adamsilverstein
8 months ago

  • Keywords commit added

#16 @adamsilverstein
8 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 60281:

Media: remove swfupload flash fallback for media uploads.

Remove swfobject and swfupload. These scripts are no longer supported and Flash is dead.

Props sainathpoojary, audrasjb, mkeck, tabrisrp.

Fixes #52699.

#17 @desrosj
2 months ago

  • Keywords has-dev-note added; needs-dev-note removed

Flash received a final eulogy in the miscellaneous dev note for developer-focused changed: https://make.wordpress.org/core/2025/11/17/miscellaneous-developer-focused-changes-in-6-9/

Note: See TracTickets for help on using tickets.