Ticket #4924 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Unused option subjectprefix still in use

Reported by: Nazgul Assigned to: Nazgul
Priority: low Milestone: 2.3
Component: General Version: 2.3
Severity: minor Keywords: has-patch
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

4924.diff (399 bytes) - added by Nazgul on 09/06/07 23:14:54.

Change History

09/06/07 23:14:54 changed by Nazgul

  • attachment 4924.diff added.

09/06/07 23:15:10 changed by Nazgul

  • keywords set to has-patch.
  • owner changed from anonymous to Nazgul.
  • status changed from new to assigned.

09/07/07 02:07:14 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [6056]) Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924