Plugin Directory

Changeset 3135827


Ignore:
Timestamp:
08/14/2024 08:56:48 PM (17 months ago)
Author:
christer_f
Message:

Minor bug corrected to avoid warnings if the plugin settings have not been resaved

Location:
hello-event/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hello-event/trunk/hello_event.php

    r3117834 r3135827  
    1313 * Author URI:   https://www.tekomatik.com/about
    1414 *
    15  * Version:      1.3.16
     15 * Version:      1.3.17
    1616 *
    1717 * Text Domain:  hello-event
     
    735735    // If a custom page slug is found and the page exists the link returned = custom page URL with event id as parameter
    736736    // Otherwise the $permalink is returned
    737     if (isset(get_option( 'hello_event')['hello_field_custom_event_page']))
     737    if (isset(get_option( 'hello_event')['hello_field_custom_event_page'])) {
    738738        $custom_page_in_settings = get_option( 'hello_event')['hello_field_custom_event_page'];
    739     $custom_page_slug = $custom_page_slug ? $custom_page_slug : $custom_page_in_settings;
     739        $custom_page_slug = $custom_page_slug ? $custom_page_slug : $custom_page_in_settings;
     740    }
     741    else
     742      return $permalink;
    740743    if (!$custom_page_slug)
    741744      return $permalink;
  • hello-event/trunk/readme.txt

    r3117835 r3135827  
    33Tags: events, calendar, tickets, woocommerce, ical, openstreetmap, google map
    44Requires at least: 4.6
    5 Tested up to: 6.5.5
     5Tested up to: 6.6.1
    66Stable tag: master
    77Requires PHP: 7.4
     
    7373
    7474== Changelog ==
     75= 1.3.17
     76* Tested up to Wordpress version 6.6.1
     77* Minor bug fix
    7578= 1.3.16
    7679* New shortcode: hello-thumbnail-url, which does not include the IMG tag
Note: See TracChangeset for help on using the changeset viewer.