Attachments on multisite installations fix
-
Just a heads up attachments don’t work on multi-site installations I have had to modify your plug-in locally to get it to work. Seems to be down to line #287 in the application-form.php file. I changed this:
$wpbb_attachments = array( WP_CONTENT_DIR . '/uploads' . $wpbb_wp_upload_dir[ 'subdir' ] . '/' . basename( $wpbb_moved_file[ 'file' ] ) );To this:
$wpbb_attachments = array( $wpbb_wp_upload_dir[ 'path' ] . '/' . basename( $wpbb_moved_file[ 'file' ] ) );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Attachments on multisite installations fix’ is closed to new replies.