Plugin Directory

Changeset 3226826


Ignore:
Timestamp:
01/22/2025 12:13:06 PM (15 months ago)
Author:
natthasath
Message:

Version 1.2: Added compatibility with Airplane Mode, allowed external requests to GitHub Pages, improved error handling, and updated plugin description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sync-footer-widget/trunk/sync-footer-widget.php

    r3226816 r3226826  
    2424// Allow external requests specifically for the Sync Footer Widget
    2525add_filter('pre_http_request', function($pre, $args, $url) {
    26     if (strpos($url, 'https://natthasath.github.io/plugin-sync-footer-wordpress/footer-template.html') !== false) {
     26    if (strpos($url, 'github.io') !== false) {
    2727        return false; // Allow the request to proceed
    2828    }
Note: See TracChangeset for help on using the changeset viewer.