Skip to content

Post saving should be locked during media uploads #76971

Closed

Description

@adamsilverstein

Description

Post saving should be locked while media uploads are in progress to prevent partially uploaded images from being saved. This was previously fixed in #74951 but has regressed.

Steps to reproduce

  1. Open a post in the editor
  2. Add an image block and start uploading a large media file
  3. While the upload is still in progress, click "Save" or "Publish"
  4. The post saves with a partially uploaded or missing image

Expected behavior

The save/publish button should be disabled (locked) while any media uploads are in progress. Once all uploads complete, saving should be re-enabled.

Actual behavior

The post can be saved while uploads are still in progress, resulting in partially uploaded images being included in the saved content.

Related

Activity

  1. added
    [Type] Bug
    [Status] In Progress
    [Feature] Client Side Media
    on Apr 1, 2026
  2. added 8 commits that reference this issue on Apr 1, 2026
    35154e8
    109e1b8
    bd7fdb3
    90e62c0
    8ac1629
    50464fb
    d37c186
    8f170a2
  3. moved this to 📋 Iteration/Tracking Issues in WordPress 7.1 Editor Taskson Apr 15, 2026
  4. moved this from 📋 Iteration/Tracking Issues to 🏗️ In Progress in WordPress 7.1 Editor Taskson Apr 21, 2026
  5. added a commit that references this issue on Apr 21, 2026
    211c39c
  6. moved this from 🏗️ In Progress to ✅ Done in WordPress 7.1 Editor Taskson Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[Feature] Client Side Media[Status] In Progress[Type] Bug

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions