PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
← All changes | inc/page-builders/elementor/payment-history-widget.php +15 -0 2.12.2 → 2.12.8 View file →
@@ -78,8 +78,23 @@
78 78 ];
79 79 }
80 80
81 81 /**
82 + * Declare the payment-history stylesheet as a widget style dependency so Elementor
83 + * enqueues it in the <head>. This widget's content lives in postmeta, so the
84 + * shortcode's has_block()/has_shortcode() gate on wp_enqueue_scripts can't detect
85 + * it; without this the CSS would only load at render() time (footer) and the
86 + * dashboard would flash unstyled (FOUC). The handle is registered by
87 + * Payment_History_Shortcode::register_assets() on wp_enqueue_scripts (priority 1).
88 + *
89 + * @since 2.12.3
90 + * @return array<string> Style handles this widget depends on.
91 + */
92 + public function get_style_depends() {
93 + return [ 'srfm-payment-history' ];
94 + }
95 +
96 + /**
82 97 * Register widget controls.
83 98 *
84 99 * @since 2.12.2
85 100 * @return void