WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#5673 closed defect (bug) (fixed)

Plugin activation error_scrape doesnt allways show errors

Reported by: DD32 Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: has-patch plugins
Focuses: Cc:
PR Number:

Description

On some server setups where the Error reporting is set to None, or the display_errors php.ini directive is set to false, Fatal errors are not shown to the user on the plugins page after a failed activation.

Patch attached to enable both. (And ignore E_Notice errors)

Attachments (2)

5673.diff (566 bytes) - added by DD32 12 years ago.
5673.2.diff (1.3 KB) - added by DD32 12 years ago.

Download all attachments as: .zip

Change History (6)

@DD32
12 years ago

#1 follow-up: @ryan
12 years ago

source:trunk/wp-admin/plugins.php@6580#L46 needs to drop the display_errors check, right?

#2 in reply to: ↑ 1 @DD32
12 years ago

Replying to ryan:

source:trunk/wp-admin/plugins.php@6580#L46 needs to drop the display_errors check, right?

Yep, You're right, I missed that line.

@DD32
12 years ago

#3 @DD32
12 years ago

Ticket requires #5658 to be fixed first. Else it redirects and claims that the last plugin on the list had the fault(And then doesnt display the scrape as the nonces dont match).

#4 @ryan
12 years ago

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

(In [6627]) Always show plugin activation errors. Props DD32. fixes #5673

Note: See TracTickets for help on using tickets.