Support » Plugin: Public Post Preview » Conflict with WP Statuses

  • 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.

    Sorry I can’t be more precise about code lines since the file is minified.

    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

  • You must be logged in to reply to this topic.