[wp-trac] [WordPress Trac] #20716: Control how and when request_filesystem_credentials outputs creds form
WordPress Trac
noreply at wordpress.org
Tue Sep 24 22:51:12 UTC 2013
#20716: Control how and when request_filesystem_credentials outputs creds form
-------------------------+------------------
Reporter: griffinjt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Filesystem | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Changes (by jeremyfelt):
* keywords: needs-patch => has-patch
Comment:
I ''think'' [attachment:20716.diff] addresses the issue here. It
introduces an `output_request_filesystem_credentials` filter that defaults
to true. If set to false, then it returns false for
`request_filesystem_credentials()` rather than outputting the form.
If any of the output is needed for some reason, then a different approach
would be needed. We could also throw in a `DOING_AJAX` check so that the
filter doesn't need to be set for some requests.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20716#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list