Releases: guilamu/gravity-forms-shortcode-builder
Releases · guilamu/gravity-forms-shortcode-builder
v1.5.1
- Improved: Rewrote GitHub auto-updater to match reference template — added
plugin_infowith local README.md parsing (Description, Installation, FAQ, Changelog tabs), Parsedown-based Markdown→HTML conversion,tables_to_divsfor wp_kses compatibility, CSS/JS injection viaadmin_head,REQUIRES_GFsidebar line, andupgrader_source_selectionfolder 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_updatenow returns all required keys (id,slug,plugin,new_version) to preventUndefined propertynotices on the update screen
v1.5.0
- 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 (
-mainsuffix from GitHub zips) could cause a fatalrequire_oncefailure — 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 unsanitizedenabled/form_idinputs - Fixed:
array_filter()result stored withoutarray_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
$_GETaccess in the notification modal method — replaced with\rgget() - Fixed: Missing
esc_attr()ondata-tab-enabledattribute output - Fixed:
__()called withself::TEXT_DOMAINconstant, preventing string extraction bywp i18n make-pot - Improved: Autoloader uses
require_onceinstead ofrequire - Improved: Removed unused
use GFCommonimport 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