Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#54388 closed defect (bug) (invalid)

wp_mail() subject is empty if we try use symbol |

Reported by: jek-fdrv's profile Jek-fdrv Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.8.1
Component: Mail Keywords:
Focuses: Cc:

Description

Try this:

wp_mail('test@gmail.com', 'sometest | for subject', '123');

The subject in received email will be empty.

Change History (2)

#1 @Jek-fdrv
2 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @desrosj
2 years ago

  • Milestone Awaiting Review deleted

Hi @Jek-fdrv,

Were you able to figure out the cause of this issue? Sharing may help someone in the future experiencing a similar problem.

Note: See TracTickets for help on using tickets.