Skip to content

Commit

Permalink
v6.0.5 : Fixed not being able to add a contact form in classic editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugoku committed Jan 19, 2024
1 parent 0d207f4 commit c2e3718
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 6.0.5 (2024-01-19)
* Fixed not being able to add a contact form in classic editor

## 6.0.4 (2024-01-16)
* Remove confusing circle around today's date in a book process

Expand Down
4 changes: 2 additions & 2 deletions editor/form-contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<?= $forms; ?>
<?php } elseif(is_array($forms)) { ?>
<select id="contactform_id" required>
<?php foreach ($forms as $ID => $formName) { ?>
<option value="<?= $ID; ?>"><?= $formName; ?>
<?php foreach ($forms as $ID => $form) { ?>
<option value="<?= $ID; ?>"><?= $form->naam; ?>
<?php } ?>
</select>
<?php } ?>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recras-wordpress-plugin",
"version": "6.0.4",
"version": "6.0.5",
"description": "Recras WordPress plugin",
"main": "index.js",
"directories": {
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: zanderz
Tags: recras, recreation, reservation, booking, voucher
Tested up to: 6.4
Stable tag: 6.0.4
Stable tag: 6.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -80,6 +80,9 @@ No. "Must use" plugins don't appear in the update notifications nor show their u

== Changelog ==

= 6.0.5 =
* Fixed not being able to add a contact form in classic editor

= 6.0.4 =
* Remove confusing circle around today's date in a book process

Expand Down
2 changes: 1 addition & 1 deletion recras-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Recras WordPress Plugin
Plugin URI: https://www.recras.nl/
Version: 6.0.4
Version: 6.0.5
Description: Easily integrate your Recras data into your own site
Requires at least: 6.2
Requires PHP: 7.2.0
Expand Down

0 comments on commit c2e3718

Please sign in to comment.