Skip to content

Commit

Permalink
Add missing optional arguments and use correct variable type for them…
Browse files Browse the repository at this point in the history
… for a `request_filesystem_credentials()` call. Missed in 1003120.
  • Loading branch information
TobiasBg committed May 6, 2021
1 parent 8788108 commit 10ba3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ protected function _custom_css_save_helper( $custom_css_normal, $custom_css_mini
public function delete_custom_css_files() {
// Start capturing the output, to later prevent it.
ob_start();
$credentials = request_filesystem_credentials( '', '', false, false, null );
$credentials = request_filesystem_credentials( '', '', false, '', null, false );
/*
* Do we have credentials already? (Otherwise the form will have been rendered, which is not supported here.)
* Or, if we have credentials, are they valid?
Expand Down

0 comments on commit 10ba3bf

Please sign in to comment.