Ticket #2302: inline-up.diff
File inline-up.diff, 618 bytes (added by , 18 years ago) |
---|
-
inline-uploading.php
4 4 5 5 header('Content-Type: text/html; charset=' . get_option('blog_charset')); 6 6 7 if (! current_user_can('edit_posts'))8 die(__('You do not have permission to edit posts.'));7 if (!get_option('inline_upload')) 8 die(__('You do not have permission to upload files.')); 9 9 10 10 $wpvarstoreset = array('action', 'post', 'all', 'last', 'link', 'sort', 'start', 'imgtitle', 'descr', 'attachment'); 11 11