Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#43876 closed defect (bug) (fixed)

Warning on Plugin page when we add error query string on it.

Reported by: wponlinesupport Owned by: SergeyBiryukov
Priority: normal Milestone: 5.7
Component: Plugins Version: 4.9.5
Severity: normal Keywords: has-screenshots
Cc: Focuses: administration

Description

An undefined warning message is generated when we add "error" query string to WordPress Plugin page.

The error is like below
Notice: Undefined index: _error_nonce in "wordpress\wp-admin\plugins.php on line 475"

Attachments (1)

Capture.PNG (12.9 KB ) - added by wponlinesupport 8 years ago.
Error Notice

Download all attachments as: .zip

Change History (4)

@wponlinesupport
8 years ago

Error Notice

#1 @SergeyBiryukov
6 years ago

  • Component GeneralPlugins
  • Milestone Awaiting Review5.7
  • Owner set to SergeyBiryukov
  • Status newaccepted

#2 @SergeyBiryukov
6 years ago

Hi there, welcome to WordPress Trac! Thanks for the ticket, sorry it took a while for someone to get back to it.

Just noting that I was able to reproduce the issue.

#3 @SergeyBiryukov
6 years ago

  • Resolutionfixed
  • Status acceptedclosed

In 49683:

Plugins: Check if _error_nonce is set before attempting to verify it.

This avoids a PHP notice on the Plugins screen when error query string is added to the URL.

Props wponlinesupport.
Fixes #43876.

Note: See TracTickets for help on using tickets.