diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-03-22 17:05:01 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-03-22 17:05:01 +0100 |
commit | d265871dfe205a905cd6c39e8ac4371f13848e58 (patch) | |
tree | a4aade0cd0f3290815ebbcfde64122ef5d2a6c81 /user_guide | |
parent | 726c8eb63eac6f64408536dd39b7854dfa000251 (diff) |
expanded philsturgeon's bugfix to parse_url() and updated docs and changelog
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 1 | ||||
-rw-r--r-- | user_guide/helpers/url_helper.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 45c698289..21e1bf142 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -114,6 +114,7 @@ Hg Tag: </p> <li>Modified <kbd>delete_files()</kbd> in the <a href="helpers/file_helper.html">File Helper</a> to return FALSE on failure.</li> <li>Added an optional second parameter to <kbd>byte_format()</kbd> in the <a href="helpers/number_helper.html">Number Helper</a> to allow for decimal precision.</li> <li>Added alpha, and sha1 string types to <kbd>random_string()</kbd> in the <a href="helpers/string_helper.html">String Helper</a>.</li> + <li>Modified <kbd>prep_url()</kbd> so as to not prepend http:// if the supplied string already has a scheme.</li> </ul> </li> <li>Other Changes diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html index dbc5969fa..96da0c62b 100644 --- a/user_guide/helpers/url_helper.html +++ b/user_guide/helpers/url_helper.html @@ -236,7 +236,7 @@ $url_title = url_title($title, 'underscore', TRUE);<br /> </code> <h3>prep_url()</h3> -<p>This function will add <kbd>http://</kbd> in the event it is missing from a URL. Pass the URL string to the function like this:</p> +<p>This function will add <kbd>http://</kbd> in the event that a scheme is missing from a URL. Pass the URL string to the function like this:</p> <code> $url = "example.com";<br /><br /> $url = prep_url($url);</code> |