[wp-trac] [WordPress Trac] #4924: Unused option subjectprefix still
in use
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 6 23:14:20 GMT 2007
#4924: Unused option subjectprefix still in use
---------------------+------------------------------------------------------
Reporter: Nazgul | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.3
Component: General | Version: 2.3
Severity: minor | Keywords:
---------------------+------------------------------------------------------
During the upgrade process a few unused options are removed, among them
__subjectprefix__.
But this option is still in use in wp-mail.php:
{{{
$subject = trim(str_replace(get_option('subjectprefix'), '', $subject));
}}}
Because this results in "" being replaced by "" it has no ill effects, but
I suggest removing this (now) useless reference anyway.
--
Ticket URL: <http://trac.wordpress.org/ticket/4924>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list