Incorrect page title when embedding the privatemsg_new form

Created on 31 January 2015, almost 10 years ago
Updated 29 May 2023, over 1 year ago

As noted in #705804: Incorrect page title and 🐛 Embedding private message - causes the page title to be over written Closed: outdated , privatemsg_new hardcodes the page title so when the form is embedded somewhere else, page title of that page is changed as well.

Attached is the patch - before changing the title it makes sure that the user is on "messages/new" page.

Sidenote: I see the message about 7.x-2.x-dev, but thought it might be useful for others if I post the patch for this branch as well.

Let me know if any comments - thanks!

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇨🇿Czech Republic aramboyajyan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024