Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

After uploading fix

$
0
0

Replies: 0

in upload-quota-per-user.php line 111

plugin only increase used space if has the meta uqpu_upload_space with a value different than 0 or ”(empty)

you should change this check with this:
`
if (!$uqpu_upload_space)
$uqpu_upload_space = 0;

update_user_meta( $user_id, ‘uqpu_upload_space’, $uqpu_upload_space + $size );
`


Viewing all articles
Browse latest Browse all 59525

Trending Articles