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

Make redirects support different post statuses #131

Open
GaryJones opened this issue May 22, 2024 · 0 comments
Open

Make redirects support different post statuses #131

GaryJones opened this issue May 22, 2024 · 0 comments

Comments

@GaryJones
Copy link
Contributor

As per #125 (comment) when redirect posts are added, they end up with a draft post status.

To enable a concept of active and inactive (and trashed #125) redirects, we need to:

  • Insert new redirects with a publish post status.
  • Have an update mechanism in a release to update existing redirects to have a publish status (if not already trashed).
  • Update front-end redirect logic to only act on redirects with publish post status.
  • Update tests accordingly.

A future separate issue can then look at the UI and implementation for toggling the active status of a redirect.

@GaryJones GaryJones added this to the 1.4.0 milestone May 22, 2024
@GaryJones GaryJones changed the title Make redirects support different post types Make redirects support different post statuses May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant