From 391034b40980e015344aa2722d9ea44a13109465 Mon Sep 17 00:00:00 2001 From: Anatolii Iumashev Date: Sun, 11 May 2025 06:21:31 +0300 Subject: [PATCH 1/3] dd --- includes/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Settings.php b/includes/Settings.php index 7772b1c..5243095 100644 --- a/includes/Settings.php +++ b/includes/Settings.php @@ -4,7 +4,7 @@ add_action('wp_head', function (){ $config = apply_filters('htmxer/config', []); - echo ''; + echo ''; }); Settings::init(); From 795da1c3f2ba98c5430776068530440026ac60da Mon Sep 17 00:00:00 2001 From: Anatolii Iumashev Date: Sun, 11 May 2025 07:20:39 +0300 Subject: [PATCH 2/3] dd --- includes/Settings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Settings.php b/includes/Settings.php index 5243095..7544691 100644 --- a/includes/Settings.php +++ b/includes/Settings.php @@ -4,7 +4,9 @@ add_action('wp_head', function (){ $config = apply_filters('htmxer/config', []); - echo ''; + ?> + + Date: Fri, 19 Sep 2025 01:38:03 +0300 Subject: [PATCH 3/3] Update version number to 0.250915 and add Endpoints functionality for HTMX requests --- htmxer.php | 2 +- includes/Endpoints.php | 65 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 includes/Endpoints.php diff --git a/htmxer.php b/htmxer.php index 5ef74a2..a28dfcc 100644 --- a/htmxer.php +++ b/htmxer.php @@ -7,7 +7,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: htmxer * Domain Path: /languages - * Version: 0.1.250405 + * Version: 0.250915 */ namespace HTMXer; diff --git a/includes/Endpoints.php b/includes/Endpoints.php new file mode 100644 index 0000000..89636e9 --- /dev/null +++ b/includes/Endpoints.php @@ -0,0 +1,65 @@ +Произошла ошибка: '.esc_html($e->getMessage()).'

'; + http_response_code(500); + } + + + exit; + + } +} +