[wp-trac] [WordPress Trac] #37488: Improve output buffering when used for request_filesystem_credentials()
WordPress Trac
noreply at wordpress.org
Wed Jul 27 16:44:55 UTC 2016
#37488: Improve output buffering when used for request_filesystem_credentials()
--------------------------+-----------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
`wp_ajax_delete_theme()`, `wp_ajax_delete_plugin()`, `delete_theme()` and
`delete_plugins()` wrap `request_filesystem_credentials() ` in
`ob_start()` and `ob_end_clean()`. But the later is used in a condition
which can lead to unexpected results since it's not always called.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37488>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list