WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 8 months ago

#40493 new enhancement

On the Edit User Profile, open the "You can change your profile picture on Gravatar." link in a new window

Reported by: ashokrane Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Users Keywords: target-blank reporter-feedback
Focuses: Cc:

Description

On the Edit User Profile, open the "You can change your profile picture on Gravatar." link in a new window. Reason being that otherwise it causes the user to loose any data that they have edited in the form, but not yet saved.

Change History (3)

#1 @swissspidy
13 months ago

  • Keywords target-blank added

Hey there,

Thanks for your report and welcome!

As per #23432, we rather strive to remove usage of target="_blank". As for losing data, the browser should warn you when you're about to leave a page without having saved the form.

See https://core.trac.wordpress.org/query?keywords=~target-blank for related tickets.

#2 @ashokrane
13 months ago

Thanks @swissspidy. I agree. The browser didn't throw any warning when I have unsaved data & when I clicked on the "Gravatar" text. Doing that would be a better approach then opening in a new window (after going through other related tickets).

#3 @ajmaurya
8 months ago

  • Keywords reporter-feedback added

Hey i also once had the same thought on opening the Gravatar link in a new window, but after reading this it totally makes much more sense now.

Note: See TracTickets for help on using tickets.