From fd5bf75ed1caf0cab80e0b63332e56236d7ea467 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Tue, 21 Jan 2025 15:32:01 -0600 Subject: [PATCH] Improve no theme parent in support info --- src/mt-help.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mt-help.php b/src/mt-help.php index 4194d70..df6328b 100644 --- a/src/mt-help.php +++ b/src/mt-help.php @@ -186,6 +186,7 @@ function mt_get_support_form() { $theme_name = $theme->get( 'Name' ); $theme_uri = $theme->get( 'ThemeURI' ); $theme_parent = $theme->get( 'Template' ); + $theme_parent = ( $theme_parent ) ? $theme_parent : __( 'None', 'my-tickets' ); $theme_version = $theme->get( 'Version' ); // plugin data.