parent = $parent; } return self::$instance; } public function ftp_form() { if ( isset( $this->parent->ftp_form ) && ! empty( $this->parent->ftp_form ) ) { echo '
';
echo '' . __( 'File Permission Issues', 'redux-framework' ) . '
' . sprintf( __( 'We were unable to modify required files. Please ensure that %1s
has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as outlined here.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' );
echo '
%1s
has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as outlined here.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' );
$data = array(
'parent' => self::$instance->parent,
'type' => 'error',
'msg' => $msg,
'id' => 'redux-wp-login',
'dismiss' => false
);
Redux_Admin_Notices::set_notice($data);
}
return $res;
}
}
Redux_Filesystem::get_instance();
}