WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 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:
PR Number:

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

Download all attachments as: .zip

Change History (4)

#1 @lloydbudd
12 years ago

  • Milestone changed from 2.3.4 to 2.5

#2 @ryan
12 years ago

  • Owner changed from anonymous to ryan

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