
06-06-2009, 12:10 AM
|
 |
|
|
Join Date: Sep 2007
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by rsuplido
Hey all! I was the first who started creating this vB - WP bridge. I'm so happy to see what it has become!
Anyway, I'm not sure if someone has posted a fix to the media upload bug. Anyway, here's what works for me:
In vbbridge.php, around line 47, find:
Code:
#if (basename($_SERVER['SCRIPT_NAME']) == 'upload.php') { return; }
Replace with:
Code:
if (basename($_SERVER['SCRIPT_NAME']) == 'media-upload.php') { return; }
I'm on WP 2.7.1 so if you use a different file or utility to upload, change media-upload.php to the correct php file.
|
Thanks! that worked.
|