We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ea223 commit dee392bCopy full SHA for dee392b
modules/cherry-customizer/cherry-customizer.php
@@ -988,7 +988,7 @@ public function read_font_file( $file ) {
988
public function file_exists( $file ) {
989
990
if ( ! function_exists( 'WP_Filesystem' ) ) {
991
- include_once( ABSPATH . '/wp-admin/includes/file.php' );
+ return file_exists( $file );
992
}
993
994
WP_Filesystem();
@@ -1013,7 +1013,7 @@ public function file_exists( $file ) {
1013
public function get_file( $file ) {
1014
1015
1016
+ return Cherry_Toolkit::get_file( $file );
1017
1018
1019
0 commit comments