Skip to:
Content

Ticket #575: path-to-url.php

File path-to-url.php, 166 bytes (added by mdawaffe, 7 years ago)

Plugin to fix

Line 
1<?php
2
3function fix_bb_path_to_url( $url ) {
4        return preg_replace( '|:/([^/])|', '://$1', $url );
5}
6
7add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );
8
9?>