Skip to content

Commit 7d202ea

Browse files
author
Ville Siltala
committed
Version bump
1 parent 8bf59f0 commit 7d202ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dustpress.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Author: Miika Arponen & Ville Siltala / Geniem Oy
77
Author URI: http://www.geniem.com
88
License: GPLv3
9-
Version: 1.6.2
9+
Version: 1.6.3
1010
*/
1111

1212
final class DustPress {
@@ -921,7 +921,7 @@ public function create_ajax_instance() {
921921
else {
922922
die( json_encode( [ "error" => "Something went wrong. There was no dustpress_data present at the request." ] ) );
923923
}
924-
924+
925925
if ( isset( $request_data['token'] ) && isset( $_COOKIE['dpjs_token'] ) ) {
926926
$token = ( $request_data['token'] === $_COOKIE['dpjs_token'] );
927927
}
@@ -966,7 +966,7 @@ public function create_ajax_instance() {
966966
}
967967
else {
968968
$html = $this->render( [ "partial" => $partial, "data" => $data, "echo" => false ] );
969-
969+
970970
if ( method_exists('\DustPress\Debugger', 'use_debugger') && \DustPress\Debugger::use_debugger() ) {
971971
$response = [ "success" => $html, "data" => $data ];
972972
}
@@ -1291,7 +1291,7 @@ private function register_autoloaders() {
12911291

12921292
foreach ( $paths as $path ) {
12931293
if ( is_readable( $path ) ) {
1294-
foreach ( new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $path ) ) as $file ) {
1294+
foreach ( new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $path ) ) as $file ) {
12951295
if ( strpos( $file, "/" . $filename ) ) {
12961296
if ( is_readable( $file ) ) {
12971297
require_once( $file );

0 commit comments

Comments
 (0)