Skip to content

Commit

Permalink
Fix "Fatal error: Uncaught Error: Call to undefined method Pronamic\W…
Browse files Browse the repository at this point in the history
…ordPress\Pay\Fields\SelectFieldOption::render()" (method has been removed in pronamic/wp-pay-core@519532b).
  • Loading branch information
rvdsteege committed Oct 25, 2023
1 parent 2b1770b commit 4f2f437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tags/IssuerTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function handler( $tag ) {
$html_options = '';

foreach ( $issuer_field->get_options() as $option ) {

Check failure on line 96 in src/Tags/IssuerTag.php

View workflow job for this annotation

GitHub Actions / phpstan / phpstan

Call to an undefined method Pronamic\WordPress\Pay\Fields\Field::get_options().
$html_options .= $option->render();
$html_options .= $option->get_element()->render();
}

$html = \sprintf(
Expand Down

0 comments on commit 4f2f437

Please sign in to comment.