From c23d2ee22d8c39cd40c2437fca2f9b0498f3e6f5 Mon Sep 17 00:00:00 2001 From: Beda Schmid Date: Mon, 13 Jun 2022 17:44:32 +0700 Subject: [PATCH] 13-06-2022 ### 1.8.7 [Fixed] Undefined Global Header --- README.md | 3 +++ README.txt | 5 ++++- admin/partials/tkt-template-builder-admin-display.php | 2 +- tkt-template-builder.php | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5969669..33959ae 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ ## Changelog +### 1.8.7 +[Fixed] Undefined Global Header + ### 1.8.6 [Fixed] Missing Text Domains and some Comments for CPCS Review. diff --git a/README.txt b/README.txt index 3d83e67..5dadcd6 100644 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ Tags: templates, archives, design Requires at least: 4.9.0 Requires PHP: 7.0.0 Tested up to: 4.9.99 -Stable tag: 1.8.6 +Stable tag: 1.8.7 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -15,6 +15,9 @@ TukuToi Template Builder allows you to create any kind of Template for your Word == Changelog == += 1.8.7 = +[Fixed] Undefined Global Header + = 1.8.6 = [Fixed] Missing Text Domains and some Comments for CPCS Review. diff --git a/admin/partials/tkt-template-builder-admin-display.php b/admin/partials/tkt-template-builder-admin-display.php index b7624c8..baddcc8 100644 --- a/admin/partials/tkt-template-builder-admin-display.php +++ b/admin/partials/tkt-template-builder-admin-display.php @@ -88,7 +88,7 @@ $global_head = isset( $template_options['global_header'] ) ? $template_options['global_header'] : ''; printf( '', esc_html__( 'Theme Header', 'tkt-template-builder' ) ); printf( '', esc_html__( 'No Header', 'tkt-template-builder' ) ); - printf( '', esc_attr( $template_options['global_header'] ), esc_html__( 'Global Header', 'tkt-template-builder' ) ); + printf( '', esc_attr( $global_head ), esc_html__( 'Global Header', 'tkt-template-builder' ) ); ?> diff --git a/tkt-template-builder.php b/tkt-template-builder.php index d721fde..fbbb8f8 100644 --- a/tkt-template-builder.php +++ b/tkt-template-builder.php @@ -15,7 +15,7 @@ * Plugin Name: TukuToi Template Builder * Plugin URI: https://www.tukutoi.com/ * Description: TukuToi Template Builder allows you to create any kind of Template for your WordPress or ClassicPress website, directly from within the Admin area, without editing PHP Files. - * Version: 1.8.6 + * Version: 1.8.7 * Author: bedas * Requires at least: 1.0.0 * Tested up to: 4.9.99 @@ -37,7 +37,7 @@ * Start at version 0.0.1 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'TKT_TEMPLATE_BUILDER_VERSION', '1.8.6' ); +define( 'TKT_TEMPLATE_BUILDER_VERSION', '1.8.7' ); /** * The code that runs during plugin activation.