Check if it exists before replacing the "[site_url]" or "[site_url_secure]"

Added " && preg_match("/\[site_url(_url_secure)?\]/", $value)"
This will decrease the execution time, because str_replace is time consuming function, so if there are a lot Options to go through it will take a while.
Merge pull request #350 from arl1nd/patch-1

Check if it exists before replacing the "[site_url]" or "[site_url_secur...
Merge pull request #1 from syamilmj/master

Update