Incorrect page title when embedding the privatemsg_new form

Created on 31 January 2015, over 9 years ago
Updated 29 May 2023, about 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.69.0 2024