Plugin Directory

Changeset 2637310


Ignore:
Timestamp:
11/30/2021 09:34:15 AM (4 years ago)
Author:
faina09
Message:

0.46

  • fix for WP5.8.2 / PHP8.0
Location:
wp-fevents-book/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-fevents-book/trunk/init.php

    r2123793 r2637310  
    44  Plugin URI: http://wordpress.org/extend/plugins/wp-fevents-book/
    55  Description: Create FEvents Book. Use the shortcode <code>[feventsbook]</code> to display all enabled Events, or <code>[feventsbook eventid=x]</code> to display Event with ID=x.
    6   Version: 0.45
     6  Version: 0.46
    77  Author: faina09
    88  Author URI: http://profiles.wordpress.org/faina09
    99  License: GPLv2 or later
    1010 */
    11 $VER = '0.45';
     11$VER = '0.46';
    1212require_once('wp-fevents-book.php');
    1313//require_once('wp-fevents-6r.php');
  • wp-fevents-book/trunk/readme.txt

    r2123793 r2637310  
    33Contributors: faina09, Arne, Claude, Borisa, bl-solutions
    44Donate link: http://goo.gl/QzIZZ
    5 Requires at least: 3.5
    6 Tested up to: 5.2.2
     5Requires at least: 5.2.2
     6Tested up to: 5.8.2
    77Stable tag: trunk
    88License: GPLv2 or later
     
    2121
    2222The Administrators can delete/add/update the Users' bookings.
     23
     24Try it out on your free dummy site:  tastewp.com/new?pre-installed-plugin-slug=WP-Fevents-book&redirect=options-general.php%3Fpage%3Dfeventsbook&ni=true
     25The link spins up a new TasteWP instance with the WP FEvents Book plugin already installed.
    2326
    2427Works with PHP 5.2.12 or higher, and PHP 7.x: please report any issue you find, and any feature you want. I'll try to fix the firsts and to implement the seconds!
     
    6366
    6467== Changelog ==
     68= 0.46 =
     69* fix for WP5.8.2 / PHP8.0
    6570= 0.45 =
    6671* include fix by @bl-solutions (thanks!)
  • wp-fevents-book/trunk/wp-fevents-book.php

    r2123796 r2637310  
    235235                settings_fields( $this->wpf_code . '_options' );
    236236                $optionsA = stripslashes_deep( get_option( $this->wpf_code ) );
     237                if ( $optionsA == false ) {
     238                    $cntA = 0;
     239                }
     240                else {
     241                    $cntA = sizeof( $optionsA );
     242                }
    237243                $cnt = 0;
    238244                ?>
    239245                <table class="form-table">
    240246                    <?php
    241                     while ( $cnt <= sizeof( $optionsA ) ) {
     247                    while ( $cnt <=  $cntA) {
    242248                        $aridx = $this->wpf_code . '[' . $cnt . ']';
    243                         if ( $cnt < sizeof( $optionsA ) ) {
     249                        if ( $cnt < $cntA ) {
    244250                            $options = array_merge( $evento_default, $optionsA[$cnt] );
    245251                        } else {
Note: See TracChangeset for help on using the changeset viewer.