WordPress.org

Make WordPress Core

Opened 2 months ago

Closed 2 months ago

Last modified 5 days ago

#51052 closed defect (bug) (fixed)

Notice: Undefined index: update-supported

Reported by: sanzeeb3 Owned by: SergeyBiryukov
Milestone: 5.5.1 Priority: normal
Severity: normal Version: 5.5
Component: Plugins Keywords: has-patch
Focuses: administration Cc:

Description

In the wp-admin/includes/class-wp-plugins-list-table.php line 1104, the existence of the index is not checked.

Attachments (1)

class-wp-plugins-list-talbe.patch (43.2 KB) - added by sanzeeb3 2 months ago.

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in PR #487 on WordPress/wordpress-develop by sanzeeb3.


2 months ago

  • Keywords has-patch added

Checks for the existence, not it's value.

Trac ticket: https://core.trac.wordpress.org/ticket/51052

#2 @SergeyBiryukov
2 months ago

  • Component changed from General to Plugins
  • Milestone changed from Awaiting Review to 5.5.1

#3 @SergeyBiryukov
2 months ago

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

In 48820:

Plugins: Avoid a PHP notice if the update-supported key in plugin data is not set.

Props sanzeeb3.
Fixes #51052.

#4 @SergeyBiryukov
2 months ago

In 48821:

Plugins: Avoid a PHP notice if the update-supported key in plugin data is not set.

Props sanzeeb3.
Merges [48820] to the 5.5 branch.
Fixes #51052.

Note: See TracTickets for help on using tickets.