WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#4508 closed enhancement (fixed)

Display fatal errors that cause plugins to fail to be activated.

Reported by: markjaquith Owned by: markjaquith
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

If a plugin can't be activated because it triggers a fatal error, that error should be captured and returned to the user.

While the fatal-error prevention code is great for users, it makes it harder for developers to diagnose problems. We can serve both parties.

I'll be working on a patch.

Attachments (1)

display_plugin_errors.diff (2.5 KB) - added by markjaquith 14 years ago.
Displays plugin errors that prevent activation

Download all attachments as: .zip

Change History (3)

@markjaquith
14 years ago

Displays plugin errors that prevent activation

#1 @markjaquith
14 years ago

  • Keywords has-patch added
  • Status changed from new to assigned

Patch uses an iframe to display the plugin error to the user. Users benefit because the plugin isn't activated. Developers benefit because users can provide them with error messages to help diagnose problems.

#2 @markjaquith
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5753]) Display fatal errors that prevent plugins from being activated. fixes #4508

Note: See TracTickets for help on using tickets.