Skip to content

Conflict with WP Statuses #97

@rodrigo-arias

Description

@rodrigo-arias

Hi,

Thanks for your work with Public Post Preview.

I’m started to using it along with WP Statuses (https://github.com/imath/wp-statuses).

That changes things a bit since in the gutenberg-integration.js script when you use getEditedPostAttribute, WP Statuses returns private as status for all statuses, but adds a custom_status attribute that has the correct values.

status: getEditedPostAttribute( 'status' ),

Do you think it is possible to somehow filter the attribute to use, or add some conditional so that the Public Post Preview works with WP Statuses?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions