WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 8 weeks ago

#43876 closed defect (bug) (fixed)

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

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

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 3 years ago.
Error Notice

Download all attachments as: .zip

Change History (4)

@wponlinesupport
3 years ago

Error Notice

#1 @SergeyBiryukov
8 weeks ago

  • Component changed from General to Plugins
  • Milestone changed from Awaiting Review to 5.7
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

#2 @SergeyBiryukov
8 weeks 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
8 weeks ago

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

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.