
06-19-2009, 09:36 PM
|
|
|
Join Date: May 2009
Posts: 31
Благодарил(а): 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.
|
This fixed for me here, using WP2.8.
|