Plugin Directory

Changeset 3291549


Ignore:
Timestamp:
05/12/2025 06:13:32 AM (11 months ago)
Author:
tharkun69
Message:

1.4.11

  • Fix: Save correct interval value form backend booking
  • Test with WordPress version 6.8.1
Location:
occupancy-plan/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • occupancy-plan/trunk/admin/class-occupancy-plan-admin.php

    r3208007 r3291549  
    14331433     * 1.4.3 - Fix: Error “An active PHP session was detected”
    14341434     * 1.4.10 - Changed to session_status check
     1435     * 1.4.11 - Set of 'read_and_close' to 'true'
    14351436     */
    14361437    public function start_session()
    14371438    {
    14381439        if (session_status() == PHP_SESSION_NONE) {
    1439             session_start();
     1440            session_start(['read_and_close' => true ] );
    14401441        }
    14411442    }
  • occupancy-plan/trunk/admin/controller/class-occupancy-plan-blocks.php

    r3208007 r3291549  
    306306    public function internal_save_block()
    307307    {
     308        // error_log(print_r($_POST, true));
     309
    308310        $interval = isset($_POST['interval'])? intval($_POST['interval']) : 1;
    309311        if ($interval == 1)
  • occupancy-plan/trunk/admin/partials/occupancy-plan-block.php

    r3208007 r3291549  
    262262                            <div class="op-admin-form-col-4 op-intervalinfo">
    263263                                <div>
    264                                     <input type="hidden" name="interval" value="<?php echo intval($block->interval) ?>" />
    265264                                    <?php if (isset($mode)) { ?>
    266265                                        <select class="op-admin-input-80 op-intervalinfoselect-3" name="intervalinfo-3" <?php if ($block->interval != 3)  { echo 'style="display:none;"'; } ?> >
  • occupancy-plan/trunk/admin/partials/occupancy-plan-plan.php

    r3208007 r3291549  
    542542                        </div>
    543543                        <div class="op-admin-form-col-8">
    544                             <input class="op-admin-input-100" type="checkbox" name="showcheckbox" value="1" <?php if ((isset($plan->showcheckbox)) && ($plan->showcheckbox == 1 )) echo 'checked'; ?><?php echo (isset($mode))? '':'disabled'?> />
     544                            <input class="op-admin-input-100" type="checkbox" name="showcheckbox" value="1" <?php if ((isset($plan->showcheckbox)) && ($plan->showcheckbox == 1 )) echo 'checked'; ?> <?php echo (isset($mode))? '':'disabled'?> />
    545545                            <span class="op-help-tip" data-tooltip="<?php echo __('This flag shows a confirmation check box in front of the information text', 'occupancy-plan');?>">?</span>
    546546                        </div>
  • occupancy-plan/trunk/occupancy-plan.php

    r3208007 r3291549  
    1616 * Plugin URI:        https://www.software-kunze.de/plugins/occupancy-plan/
    1717 * Description:       Management of Occupancy Plans
    18  * Version:           1.4.10
     18 * Version:           1.4.11
    1919 * Author:            Alexander Kunze Software Consulting
    2020 * Author URI:        https://www.software-kunze.de
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('Occupancy_Plan', '1.4.10');
     38define('Occupancy_Plan', '1.4.11');
    3939
    4040/**
  • occupancy-plan/trunk/readme.txt

    r3208007 r3291549  
    44Tags: Occupancy Plan, Belegungsplan, Booking, Buchungen, Hallenbelegung, Reservierung
    55Requires at least: 4.9
    6 Tested up to: 6.7.1
    7 Stable tag: 1.4.10
     6Tested up to: 6.8.1
     7Stable tag: 1.4.11
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    5050== Changelog ==
    5151
     52= 1.4.11 =
     53* Fix: Save correct interval value form backend booking
     54* Test with WordPress version 6.8.1
     55
    5256= 1.4.10 =
    5357* Fix: Correct backend session handling
Note: See TracChangeset for help on using the changeset viewer.