Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

Check if it exists before replacing the "[site_url]" or "[site_url_secur... #350

Merged
merged 1 commit into from
Nov 2, 2013
Merged

Conversation

arl1nd
Copy link
Contributor

@arl1nd arl1nd commented Oct 31, 2013

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.

…cure]"

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.
awps added a commit that referenced this pull request Nov 2, 2013
Check if it exists before replacing the "[site_url]" or "[site_url_secur...
@awps awps merged commit 541e501 into syamilmj:master Nov 2, 2013
@awps
Copy link
Collaborator

awps commented Nov 2, 2013

Merged ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants