File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
Author: Miika Arponen & Ville Siltala / Geniem Oy
7
7
Author URI: http://www.geniem.com
8
8
License: GPLv3
9
- Version: 1.6.2
9
+ Version: 1.6.3
10
10
*/
11
11
12
12
final class DustPress {
@@ -921,7 +921,7 @@ public function create_ajax_instance() {
921
921
else {
922
922
die ( json_encode ( [ "error " => "Something went wrong. There was no dustpress_data present at the request. " ] ) );
923
923
}
924
-
924
+
925
925
if ( isset ( $ request_data ['token ' ] ) && isset ( $ _COOKIE ['dpjs_token ' ] ) ) {
926
926
$ token = ( $ request_data ['token ' ] === $ _COOKIE ['dpjs_token ' ] );
927
927
}
@@ -966,7 +966,7 @@ public function create_ajax_instance() {
966
966
}
967
967
else {
968
968
$ html = $ this ->render ( [ "partial " => $ partial , "data " => $ data , "echo " => false ] );
969
-
969
+
970
970
if ( method_exists ('\DustPress\Debugger ' , 'use_debugger ' ) && \DustPress \Debugger::use_debugger () ) {
971
971
$ response = [ "success " => $ html , "data " => $ data ];
972
972
}
@@ -1291,7 +1291,7 @@ private function register_autoloaders() {
1291
1291
1292
1292
foreach ( $ paths as $ path ) {
1293
1293
if ( is_readable ( $ path ) ) {
1294
- foreach ( new RecursiveIteratorIterator ( new RecursiveDirectoryIterator ( $ path ) ) as $ file ) {
1294
+ foreach ( new RecursiveIteratorIterator ( new RecursiveDirectoryIterator ( $ path ) ) as $ file ) {
1295
1295
if ( strpos ( $ file , "/ " . $ filename ) ) {
1296
1296
if ( is_readable ( $ file ) ) {
1297
1297
require_once ( $ file );
You can’t perform that action at this time.
0 commit comments