Plugin Directory

Changeset 3226490


Ignore:
Timestamp:
01/21/2025 08:55:01 PM (12 months ago)
Author:
arothman
Message:

Added support for shortcodes beginning with reg rather than /reg.

File:
1 edited

Legend:

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

    r3220322 r3226490  
    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.32
     6Version: 1.4.33
    77Author: Main Sequence Technology, Inc.
    88Author URI: https://www.pcrecruiter.net
     
    4848
    4949    // Modify the URL when needed
    50     if (strpos($loadurl,'jobboard.') > -1 || strpos($loadurl,'temphrs.') > -1 || strpos($loadurl,'employer.') > -1 || strpos($loadurl,'/reg') > -1) {
     50    if (strpos($loadurl,'jobboard.') > -1 || strpos($loadurl,'temphrs.') > -1 || strpos($loadurl,'employer.') > -1 || strpos($loadurl,'/reg') > -1 || strpos($loadurl,'reg') > -1) {
    5151       
    5252    } else {
     
    9595    $doc->appendChild($iframe);
    9696
    97     return "<!-- Start PCRecruiter WP 1.4.32-->"
     97    return "<!-- Start PCRecruiter WP 1.4.33-->"
    9898        . $pcrframecss
    9999        . $doc->saveHTML()
Note: See TracChangeset for help on using the changeset viewer.