Skip to content

Add filter to allow opt-out of WebDAV Edit Document#74

Merged
benbalter merged 1 commit intowp-document-revisions:masterfrom
jeremyfelt:filter-web-dav
Nov 12, 2014
Merged

Add filter to allow opt-out of WebDAV Edit Document#74
benbalter merged 1 commit intowp-document-revisions:masterfrom
jeremyfelt:filter-web-dav

Conversation

@jeremyfelt
Copy link
Copy Markdown
Contributor

When editing a document in Chrome, without support for WebDAV enabled on the server and without authorizing any plugins to load when in the document admin, I get a "Plug-in Blocked" error every time I load the page.

screen shot 2014-11-12 at 2 29 06 pm

WebDAV seems really cool, but I don't have the bandwidth to figure out how to serve it properly and securely in our current configuration. I think at least parts of this should be opt-in, as not everyone will be WebDAV savvy.

Adding a filter for document_revisions_enable_webdav to opt out seems like a straight forward approach. It at least avoids loading the markup, though the JS continues to be available. Happy to discuss others as well.

Great plugin, thanks! :)

Retains current functionality by being `true` by default and allows
sites to opt out of loading the browser plugin.
@benbalter
Copy link
Copy Markdown
Collaborator

Makes sense. Thanks for the pull request! 🌴

benbalter added a commit that referenced this pull request Nov 12, 2014
Add filter to allow opt-out of WebDAV Edit Document
@benbalter benbalter merged commit 80b2dec into wp-document-revisions:master Nov 12, 2014
@jeremyfelt jeremyfelt deleted the filter-web-dav branch November 12, 2014 23:24
benbalter pushed a commit that referenced this pull request Apr 30, 2024
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.

2 participants