Plugin Directory

Changeset 3211283


Ignore:
Timestamp:
12/20/2024 10:02:56 PM (13 months ago)
Author:
arothman
Message:

Removed debug code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcrecruiter-extensions/trunk/PCRecruiter-Extensions.php

    r3211282 r3211283  
    44Plugin URI: https://www.pcrecruiter.net
    55Description: Embeds PCRecruiter forms and iframe content via shortcodes, and facilitiates RSS/XML Job Feeds.
    6 Version: 1.4.22
     6Version: 1.4.23
    77Author: Main Sequence Technology, Inc.
    88Author URI: https://www.pcrecruiter.net
     
    3737    $sid = intval($a['form']);
    3838    $loadurl = $a['link'];
     39    $loadurl = htmlspecialchars_decode($loadurl, ENT_QUOTES);
    3940    $loadurl = sanitize_loadurl($loadurl);
    40     $loadurl = htmlspecialchars_decode($loadurl, ENT_QUOTES); // Decode HTML entities, including &
     41   
     42
    4143
    4244    $initialheight = intval($a['initialheight']);
     
    7476    }
    7577
     78
     79
    7680    // Create iframe with DOMDocument
    7781    $doc = new DOMDocument('1.0', 'UTF-8');
    7882    $iframe = $doc->createElement('iframe');
    7983    $iframe->setAttribute('frameborder', '0');
    80     $iframe->setAttribute('host', esc_url($loadurl));
     84    $iframe->setAttribute('host', $loadurl);
    8185    $iframe->setAttribute('id', 'pcrframe');
    8286    $iframe->setAttribute('name', 'pcrframe');
     
    8791    $doc->appendChild($iframe);
    8892
    89     return "<!-- Start PCRecruiter WP 1.4.21-->"
     93    return "<!-- Start PCRecruiter WP 1.4.23-->"
    9094        . $pcrframecss
    9195        . $doc->saveHTML()
Note: See TracChangeset for help on using the changeset viewer.