Changeset 3211283
- Timestamp:
- 12/20/2024 10:02:56 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcrecruiter-extensions/trunk/PCRecruiter-Extensions.php
r3211282 r3211283 4 4 Plugin URI: https://www.pcrecruiter.net 5 5 Description: Embeds PCRecruiter forms and iframe content via shortcodes, and facilitiates RSS/XML Job Feeds. 6 Version: 1.4.2 26 Version: 1.4.23 7 7 Author: Main Sequence Technology, Inc. 8 8 Author URI: https://www.pcrecruiter.net … … 37 37 $sid = intval($a['form']); 38 38 $loadurl = $a['link']; 39 $loadurl = htmlspecialchars_decode($loadurl, ENT_QUOTES); 39 40 $loadurl = sanitize_loadurl($loadurl); 40 $loadurl = htmlspecialchars_decode($loadurl, ENT_QUOTES); // Decode HTML entities, including & 41 42 41 43 42 44 $initialheight = intval($a['initialheight']); … … 74 76 } 75 77 78 79 76 80 // Create iframe with DOMDocument 77 81 $doc = new DOMDocument('1.0', 'UTF-8'); 78 82 $iframe = $doc->createElement('iframe'); 79 83 $iframe->setAttribute('frameborder', '0'); 80 $iframe->setAttribute('host', esc_url($loadurl));84 $iframe->setAttribute('host', $loadurl); 81 85 $iframe->setAttribute('id', 'pcrframe'); 82 86 $iframe->setAttribute('name', 'pcrframe'); … … 87 91 $doc->appendChild($iframe); 88 92 89 return "<!-- Start PCRecruiter WP 1.4.2 1-->"93 return "<!-- Start PCRecruiter WP 1.4.23-->" 90 94 . $pcrframecss 91 95 . $doc->saveHTML()
Note: See TracChangeset
for help on using the changeset viewer.