Make WordPress Core

Opened 13 years ago

Closed 13 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 Owned by: ryan
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: General Keywords: has-patch plugin-page
Focuses: Cc:


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 13 years ago.

Download all attachments as: .zip

Change History (4)

#1 @lloydbudd
13 years ago

  • Milestone changed from 2.3.4 to 2.5

#2 @ryan
13 years ago

  • Owner changed from anonymous to ryan

#3 @ryan
13 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.