summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-07 19:31:03 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-07 19:31:03 +0200
commitcd6f9cdbbcdd550e73beccb906fe7ee78714a3f1 (patch)
tree810c21242bb231182adc149fcbbf7d911bbfbebc
parent62a90205c4ace42df775dbe1354c41340e89c92c (diff)
removed default title= attribute from anchor() in URL Helper
-rw-r--r--system/helpers/url_helper.php6
-rw-r--r--user_guide/changelog.html2
2 files changed, 2 insertions, 6 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 02c7f3379..d702f6b87 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -117,11 +117,7 @@ if (! function_exists('anchor'))
$title = $site_url;
}
- if ($attributes == '')
- {
- $attributes = ' title="'.htmlentities($title).'"';
- }
- else
+ if ($attributes != '')
{
$attributes = _parse_attributes($attributes);
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 6401b9e74..95635568e 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -94,7 +94,7 @@ SVN Commit: not currently released</p>
<li>Changed the radio() and checkbox() functions to default to not checked by default.</li>
<li>Added the ability to include an optional HTTP Response Code in the <kbd>redirect()</kbd> function of the <a href="helpers/url_helper.html">URL Helper</a>.</li>
<li>Modified <kbd>img()</kbd> in the <a href="helpers/html_helper.html">HTML Helper</a> to remove an unneeded space (#4208).</li>
- <li>Modified <kbd>anchor()</kbd> in the <a href="helpers/url_helper.html">URL helper</a> to convert entities in the title attribute (#4209).</li>
+ <li>Modified <kbd>anchor()</kbd> in the <a href="helpers/url_helper.html">URL helper</a> to no longer add a default title= attribute (#4209).</li>
<li>The <a href="helpers/download_helper.html">Download helper</a> now exits within <kbd>force_download()</kbd>.</li>
<li>The <a href="helpers/download_helper.html">Zip class</a> now exits within <kbd>download()</kbd>.</li>
<li>Added <kbd>get_dir_file_info()</kbd>, <kbd>get_file_info()</kbd>, and <kbd>get_mime_by_extension()</kbd> to the <a href="helpers/file_helper.html">File Helper</a>.</li>