Skip to:
Content

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#928 closed defect (fixed)

validate_file() function in bbPress 1.0 alpha has problems on WinBlows systems

Reported by: zappoman Owned by:
Milestone: 1.0 Priority: normal
Severity: normal Version: 1.0-alpha-1
Component: Administration Keywords:
Cc:

Description

line: 962 of wp-functions.php

if (':' == substr( $file, 1, 1 ))

This will return "2" which means the file is not valid (according to the comments)... but of course on some OSes like WinBlows... this is still valid.

bbPress only seems to use this in loading plugins... but of course needs to be addressed for bbPress to work on Windows.

Change History (2)

comment:1 mdawaffe6 years ago

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

(In [1659]) run validate_file before prepending with BB_PLUGIN_DIR, BB_CORE_PLUGIN_DIR. Fixes #928

comment:2 sambauers5 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.