• I found a bug in the Job Manager plugin. When a job title or category begins with the word feed the rss feed is shown. I’m working on a agricultural job service website and they have feedlot jobs. Whenever I go to the url for that category I get the rss feed. I also have listings for feedlot manager and those also show the feed. I fixed it by editing the rewrite rules in frontend.php. On line 70 I changed the rule as follows:

    The rule was this
    “$url/feed/?” => “index.php?feed=jobman”,

    I changed it to this
    “$url/feed/?$” => “index.php?feed=jobman”,

    On line 86 I changed the rule as follows

    The rule was this
    “($lang)?$url/feed/?” => ‘index.php?feed=jobman&lang=$matches[2]’,

    I changed it to this
    “($lang)?$url/feed/?$” => ‘index.php?feed=jobman&lang=$matches[2]’,

    The $ character at the end of the matching regex tells it to end so it only matches /feed or /feed/ and it wont match /feedlot/.

  • The topic ‘[Plugin: Job Manager] RSS bug when title or category begins with feed’ is closed to new replies.