Skip to content

Releases: guilamu/gravity-forms-shortcode-builder

v1.5.1

31 Mar 11:17

Choose a tag to compare

  • Improved: Rewrote GitHub auto-updater to match reference template — added plugin_info with local README.md parsing (Description, Installation, FAQ, Changelog tabs), Parsedown-based Markdown→HTML conversion, tables_to_divs for wp_kses compatibility, CSS/JS injection via admin_head, REQUIRES_GF sidebar line, and upgrader_source_selection folder rename with copy+delete fallback
  • New: "View details" thickbox link in the plugins list row meta opens the standard WordPress plugin-information modal
  • New: Added Parsedown.php for reliable Markdown rendering in the plugin details popup
  • Fixed: check_for_update now returns all required keys (id, slug, plugin, new_version) to prevent Undefined property notices on the update screen

v1.5.0

05 Mar 14:39

Choose a tag to compare

  • New: Composite field support in the Conditional Shortcodes tab — Address, Name, Checkbox, Time, and Date subfields are now listed individually inside grouped optgroups, with hidden subfields automatically excluded
  • Fixed: PHP 7.4 fatal error caused by str_ends_with() (PHP 8.0+) in the GitHub auto-updater
  • Fixed: Duplicate plugin folder collision (-main suffix from GitHub zips) could cause a fatal require_once failure — constants now guarded and updater loaded via __DIR__
  • Fixed: Missing wp_unslash() in AJAX handlers (save_tab_order, ajax_get_tab_content, save_tab_visibility) and unsanitized enabled / form_id inputs
  • Fixed: array_filter() result stored without array_values(), producing sparse arrays in user meta
  • Fixed: Uncaught exception during tab rendering could leave an open output buffer; now wrapped in try/catch
  • Fixed: Direct $_GET access in the notification modal method — replaced with \rgget()
  • Fixed: Missing esc_attr() on data-tab-enabled attribute output
  • Fixed: __() called with self::TEXT_DOMAIN constant, preventing string extraction by wp i18n make-pot
  • Improved: Autoloader uses require_once instead of require
  • Improved: Removed unused use GFCommon import from Conditional tab class
  • Improved: Removed debug console.log() calls from production JS
  • Improved: GitHub token retrieval now uses constant() to avoid IDE false positives