In my WordPress 3.1 admin panel, under appearance there's a Menus option. For the URL input, I need to type file://network path/path1/path2/index.htm, but when I hit save, the value disappears. If I put http://network path/path1/path2/index.htm it works. It's like it doesn't accept FILE protocol, but only HTTP protocol. How can I find the actual PHP file so I can hard code it with the link? Or there's some other alternative?
I found the solution. In the wp-includes/formatting.php there's a line:
$protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn');
I've just added file into the array and now it accepts the file protocol into the menu