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; + + } +} + diff --git a/includes/Settings.php b/includes/Settings.php index 7772b1c..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 ''; + ?> + +