close
Skip to content

Custom Fields Panel & add_meta_box function cause post to constantly think it has unsaved changes. #48808

@albanyacademy

Description

@albanyacademy

Description

Enabling custom fields panel or adding a custom panel via add_meta_box causes post to always have "update" button enabled.

Step-by-step reproduction instructions

  1. add new post
  2. save new post
  3. click update button forever.

Screenshots, screen recording, code snippet

https://www.screencast.com/t/s9r4xJO93seE

Environment info

  • wordpress 6.1.1, no plugins installed

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Technical FeedbackNeeds testing from a developer perspective.[Feature] Meta BoxesA draggable box shown on the post editing screen[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions