Skip to:

Opened 9 years ago

Closed 9 years ago

Last modified 9 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: General - Administration Keywords:


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)

#1 @mdawaffe
9 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

#2 @sambauers
9 years ago

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