Linting (clean-up whitespace).
This commit is contained in:
parent
f11def132b
commit
c42f99048d
|
@ -127,7 +127,7 @@ abstract class WC_CSV_Batch_Exporter extends WC_CSV_Exporter {
|
||||||
protected function write_csv_data( $data ) {
|
protected function write_csv_data( $data ) {
|
||||||
|
|
||||||
if ( ! file_exists( $this->get_file_path() ) || ! is_writeable( $this->get_file_path() ) ) {
|
if ( ! file_exists( $this->get_file_path() ) || ! is_writeable( $this->get_file_path() ) ) {
|
||||||
wc_get_logger()->error(
|
wc_get_logger()->error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %s is file path. */
|
/* translators: %s is file path. */
|
||||||
__( 'Unable to create or write to %s during CSV export. Please check file permissions.', 'woocommerce' ),
|
__( 'Unable to create or write to %s during CSV export. Please check file permissions.', 'woocommerce' ),
|
||||||
|
|
Loading…
Reference in New Issue