Ticket #5822 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Loading a plugin admin page should check that the file is not just a directory

Reported by: filosofo Owned by: ryan
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: has-patch plugin-page
Cc: filosofo

Description

It may seem improbable, but it happened to me. Patch makes sure that it's a file that's being loaded, not just a directory (which will throw a fatal error).

Attachments

check_plugin_page_is_file.diff Download (525 bytes) - added by filosofo 4 years ago.

Change History

  • Milestone changed from 2.3.4 to 2.5

comment:2   ryan4 years ago

  • Owner changed from anonymous to ryan

comment:3   ryan4 years ago

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

(In [6897]) Make sure plugin is a file before loading. Props filosofo. fixes #5822

Note: See TracTickets for help on using tickets.