From 9227df62caa2247392bcf1686f8ed96954f94438 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 4 Aug 2026 16:18:31 -0700 Subject: [PATCH] Fixed issue where the Code Chest SVG icon rendered inconsistently with other Gravity Forms add-ons. --- assets/images/gf-icon.svg | 2 +- class-gwiz-gf-code-chest.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/images/gf-icon.svg b/assets/images/gf-icon.svg index b681600..70f4ce8 100644 --- a/assets/images/gf-icon.svg +++ b/assets/images/gf-icon.svg @@ -1,3 +1,3 @@ - + diff --git a/class-gwiz-gf-code-chest.php b/class-gwiz-gf-code-chest.php index 1c31576..2c0bc8b 100644 --- a/class-gwiz-gf-code-chest.php +++ b/class-gwiz-gf-code-chest.php @@ -84,7 +84,7 @@ public static function get_instance() { * Give the form settings and plugin settings panels a nice shiny icon. */ public function get_menu_icon() { - return $this->get_base_url() . '/assets/images/gf-icon.svg'; + return file_get_contents( __DIR__ . '/assets/images/gf-icon.svg' ); } /** @@ -594,4 +594,3 @@ public function prefix_css_selectors( $css, $prefix ) { function gwiz_gf_code_chest() { return GWiz_GF_Code_Chest::get_instance(); } -