Opened 16 years ago
Closed 16 years ago
#4924 closed defect (bug) (fixed)
Unused option subjectprefix still in use
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.3 | Priority: | low |
Severity: | minor | Version: | 2.3 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [6056]) Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924