Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate logs when saving posts #1530

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

tharsheblows
Copy link
Contributor

Fixes #1525

The block editor makes two requests each time a post is saved: once to save the post and once to save the legacy metaboxes. This PR checks for the meta-box-loader query variable and does not add a log if that is present.

This also adds the Classic Editor plugin for local testing.

@tharsheblows tharsheblows added this to the 4.1.0 milestone Jul 30, 2024
@tharsheblows tharsheblows requested a review from delawski July 30, 2024 16:50
Copy link
Contributor

@delawski delawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you!

@tharsheblows tharsheblows merged commit f243cac into develop Jul 31, 2024
2 checks passed
@tharsheblows tharsheblows deleted the fix/1525-editor-updates-two-records branch July 31, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publishing/Updating in Block Editor Creates Two Records
2 participants