Skip to content

Commit ab163ed

Browse files
committed
removed function not used
1 parent 5e86c51 commit ab163ed

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

assets/wpuf/js/frontend-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
type: 'warning',
451451
showCancelButton: false,
452452
confirmButtonColor: '#d54e21',
453-
confirmButtonText: 'Ok',
453+
confirmButtonText: 'OK',
454454
cancelButtonClass: 'btn btn-danger',
455455
});
456456

includes/class-ajax.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,16 +1253,4 @@ public function delete_logs() {
12531253

12541254
wp_send_json_success();
12551255
}
1256-
1257-
/**
1258-
* Show form error
1259-
*
1260-
* @param string $message
1261-
* @param string $type
1262-
*
1263-
* @return string
1264-
*/
1265-
public function show_error( $message, $type = 'info' ) {
1266-
return sprintf( '<div class="wpuf-%s">%s</div>', $type, $message );
1267-
}
12681256
}

0 commit comments

Comments
 (0)