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/bricks/elements/payment-history-widget.php +16 -0 2.12.2 → 2.12.8 View file →
@@ -66,8 +66,24 @@
66 66 ];
67 67 }
68 68
69 69 /**
70 + * Enqueue the payment-history stylesheet. NOTE: Bricks fires this at render time
71 + * (`Frontend::render_element()` → `Element::init()`), which runs after `wp_head`, so
72 + * this alone would print the CSS in the footer → FOUC. The head-load is handled
73 + * separately by `Service_Provider::maybe_enqueue_payment_history_assets()`, which
74 + * detects this element on `wp_enqueue_scripts`; this override stays only as a
75 + * belt-and-braces fallback. The handle is registered by
76 + * `Payment_History_Shortcode::register_assets()` (priority 1).
77 + *
78 + * @since 2.12.3
79 + * @return void
80 + */
81 + public function enqueue_scripts() {
82 + wp_enqueue_style( 'srfm-payment-history' );
83 + }
84 +
85 + /**
70 86 * Set element controls.
71 87 *
72 88 * @since 2.12.2
73 89 * @return void