Plugin Directory

Changeset 3435345


Ignore:
Timestamp:
01/08/2026 05:08:14 PM (2 months ago)
Author:
lbell
Message:

v3.0.1

Location:
hydrogen-calendar-embeds/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • hydrogen-calendar-embeds/trunk/hydrogen-calendar-embeds.php

    r3432230 r3435345  
    44Plugin URI: https://github.com/lbell/hydrogen-calendar-embeds
    55Description: Embed any existing iCalendar (ICS) source into your WordPress site using Gutenberg blocks or shortcodes.
    6 Version: 3.0.0
     6Version: 3.0.1
    77Author: LBell
    88Author URI: https://lorenbell.com
     
    3737}
    3838
    39 define('HYCAL_VER', '3.0.0');
     39define('HYCAL_VER', '3.0.1');
    4040define('HYCAL_DIR', plugin_dir_path(__FILE__)); // Trailing slash
    4141define('HYCAL_URL', plugin_dir_url(__FILE__));
  • hydrogen-calendar-embeds/trunk/public/js/helpers.js

    r3432211 r3435345  
    4141
    4242      // Build proxy URL - FullCalendar's iCalendar plugin will fetch from our proxy
    43       const proxyUrl = `${settings["rest_url"]}?url=${encodeURIComponent(
    44         icsCals[j]
    45       )}`;
     43      // Use URL API to properly append query params (handles both pretty and plain permalinks)
     44      const proxyUrlObj = new URL(settings["rest_url"]);
     45      proxyUrlObj.searchParams.set("url", icsCals[j]);
     46      const proxyUrl = proxyUrlObj.toString();
    4647
    4748      // Use FullCalendar's native iCalendar format
  • hydrogen-calendar-embeds/trunk/readme.txt

    r3432230 r3435345  
    77Tested up to: 6.9
    88Requires PHP: 7.4
    9 Stable tag: 3.0.0
     9Stable tag: 3.0.1
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    174174
    175175== Changelog ==
     176= 3.0.1 =
     177* Fixed issue with URL encoding in ICS feed proxy URL.
     178
    176179= 3.0.0 =
    177180* Initial release.
Note: See TracChangeset for help on using the changeset viewer.