Skip to content

Add post capability verification when saving metabox#4

Open
anassrahou wants to merge 1 commit into
tomusborne:masterfrom
anassrahou:fix/metabox-capability-validation
Open

Add post capability verification when saving metabox#4
anassrahou wants to merge 1 commit into
tomusborne:masterfrom
anassrahou:fix/metabox-capability-validation

Conversation

@anassrahou

Copy link
Copy Markdown

Adds an explicit edit_post capability check during metabox saves.

The plugin already validates nonces and autosaves, but WordPress
recommends verifying user permissions before updating post metadata.

This change introduces no behavioral changes for authorized users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant