Skip to content

Commit f4b0894

Browse files
committed
Change sample config raw field to use filesystem proxy. Fails on FTP_EXT
Signed-off-by: Kev Provance <[email protected]>
1 parent 8bb78f2 commit f4b0894

File tree

1 file changed

+1
-3
lines changed
  • sample/sections/additional-types

1 file changed

+1
-3
lines changed

sample/sections/additional-types/raw.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010

1111
$sample_html = '';
1212
if ( file_exists( $dir . 'info-html.html' ) ) {
13-
global $wp_filesystem;
14-
1513
$fs = Redux_Filesystem::get_instance();
1614

17-
$sample_html = $wp_filesystem->get_contents( $dir . 'info-html.html' );
15+
$sample_html = $fs->get_contents( $dir . 'info-html.html' );
1816
}
1917

2018
Redux::set_section(

0 commit comments

Comments
 (0)