Make WordPress Core

Opened 5 years ago

Closed 3 years ago

#43876 closed defect (bug) (fixed)

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

Reported by: wponlinesupport's profile wponlinesupport Owned by: sergeybiryukov's profile 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 5 years ago.
Error Notice

Download all attachments as: .zip

Change History (4)

@wponlinesupport
5 years ago

Error Notice

#1 @SergeyBiryukov
3 years 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
3 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
3 years 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.