deactivate meta box if post_status == auto-draft; task_author = 0 after new task; removed unused $wpdb