From 19d2f2909275a5ced4854d435d5d26f6aa3a60c5 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Sat, 9 May 2020 11:41:16 +0200 Subject: [PATCH] Fixing "Use of undefined constant POWER_TOC_VERSION" (#1) --- extended-toc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extended-toc.php b/extended-toc.php index 58d8709..eeada82 100644 --- a/extended-toc.php +++ b/extended-toc.php @@ -293,7 +293,7 @@ if( !class_exists('ExToC') ) { } public function wp_enqueue_scripts() { - wp_register_style(EXTENDED_TOC_ID, $this->path . '/style.css', array(), POWER_TOC_VERSION); + wp_register_style(EXTENDED_TOC_ID, $this->path . '/style.css', array(), 'POWER_TOC_VERSION'); wp_enqueue_style(EXTENDED_TOC_ID); }