From 4f2f43706a62e4929ab21b274f89f84954276419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Wed, 25 Oct 2023 10:13:52 +0200 Subject: [PATCH] Fix "Fatal error: Uncaught Error: Call to undefined method Pronamic\WordPress\Pay\Fields\SelectFieldOption::render()" (method has been removed in https://github.com/pronamic/wp-pay-core/commit/519532b7d65fb68a5374341ea1c1934885b28e5c). --- src/Tags/IssuerTag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tags/IssuerTag.php b/src/Tags/IssuerTag.php index 08a3cdc..5b4dd84 100644 --- a/src/Tags/IssuerTag.php +++ b/src/Tags/IssuerTag.php @@ -94,7 +94,7 @@ public function handler( $tag ) { $html_options = ''; foreach ( $issuer_field->get_options() as $option ) { - $html_options .= $option->render(); + $html_options .= $option->get_element()->render(); } $html = \sprintf(