brrto
Forum Replies Created
-
Forum: Plugins
In reply to: [Extended Post Status] Publish vs. Save functionalityHey @welly2103 – thanks so much for the quick response.
That doesn’t quite do it, unfortunately. We’re using the classic editor, but this probably affects Gutenberg as well.
We have a status called “Published Quietly”, which is publicly viewable. When editing a Published Quietly post, the Publish button is now labeled “Save.” When the user makes any changes to the page, they’ll almost certainly choose the blue “Save” button to commit their updates. However, when clicking Save, the button is actually still a “Publish” button, and the status changes to
publish
, which is not what we want.If the publish button has to be there, that’s okay – but it should be clear about what it’s actually doing. At least in the case of the classic editor, it’s both saving AND changing the post status.
It appears that WP treats custom statuses as Drafts, so the “Save Draft” button is actually doing what we want – just saving the post and not changing the status. I think the functionality I’m looking for is solved by:
- Choose a custom post status
- Hide the Publish button (unless the “Published” status is selected)
- Change the text on the Save Draft button to “Save”
Hey @webmaster1919 – I know this is a late response, but I was experiencing the same problem and got to the bottom of the issue so hopefully this helps someone. My site was having the Redirection “Error: Failed to fetch” issue, despite all of the REST API tests showing that everything was okay. The problem ended up being an issue with how Redirection’s URLs are structured, and what the Prevent XSS Vulnerability plugin actually does.
Redirection’s query URL looks like this:
yoursite.com/wp-admin/tools.php?page=redirection.php&filterby[url]=test
The brackets may be encoded as %5B and %5D, but the effect is the same. The Prevent XSS Vulnerability plugin blocks URLs with brackets by default. If you go to your XSS plugin settings page, you can add the following to the “Exclude pre-defined Entities from being blocked” field:
[,]
This will now allow URLs to have brackets in them, and Redirection should go back to working properly.