Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#5822 closed defect (bug) (fixed)

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

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

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 (1)

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

Download all attachments as: .zip

Change History (4)

#1 @lloydbudd
16 years ago

  • Milestone changed from 2.3.4 to 2.5

#2 @ryan
16 years ago

  • Owner changed from anonymous to ryan

#3 @ryan
16 years ago

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

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

Note: See TracTickets for help on using tickets.