#31694 closed defect (bug) (fixed)
Notice warning in class-wp-plugins-list-table.php since revision 31831
Reported by: | imath | Owned by: | jorbin |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Plugins | Keywords: | |
Focuses: | administration | Cc: |
Description
Hi,
Just noticed this warning today :
Notice: Undefined index: slug in /pathto/develop.git.wordpress.org/src/wp-admin/includes/class-wp-plugins-list-table.php on line 521
I'm not sure if there is a new tag to add in the plugin's header. The problem occurs with one of my plugin that is not hosted on WordPress.org, so my guess is that the slug is the one of the plugin's WordPress.org repo.
I'd suggest to eventually do a check and use a generic fallback or a null value to avoid the notice. See attached patch.
Have a nice day :)
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #core by afercia. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
In 31834: