Making WordPress.org

Opened 9 months ago

Last modified 3 months ago

#6635 new defect (bug)

Pressing enter on a field in the plugin admin to save the plugin, causes the plugin to be disabled

Reported by: dd32's profile dd32 Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

If you hit enter on a field to save changes within the plugin directory admin, it marks the plugin as disabled due to security.

This is likely because the Disable plugin button is the first on the form, with type="submit".

These buttons should not be the default action and should only be the submitting button if they're clicked intentionally.

Change History (1)

#1 @dd32
3 months ago

  • Can also cause the reviewer to be auto-assigned to the current user
  • Causes new plugins to move to pending (and there's no UI for a reviewer to reset it back to new)
Note: See TracTickets for help on using tickets.