Ticket #928 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

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

Reported by: zappoman Assigned to:
Priority: normal Milestone:
Component: Administration Version: 1.0-alpha-1
Severity: normal 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

08/26/08 20:40:14 changed by mdawaffe

  • status changed from new to closed.
  • resolution set to fixed.

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