working on queueing transcripts

This commit is contained in:
John Bintz 2009-08-18 21:17:57 -04:00
parent 0434beb429
commit 1f5799f659

View File

@ -137,9 +137,9 @@ class WhatDidTheySayAdmin {
function handle_update_queue_transcript($queue_transcript_info) {
$updated = false;
if (current_user_can('submit_transcriptions')) {
var_dump($queue_transcript_info);
switch ($queue_transcript_info['action']) {
case 'submit_queued_transcript':
var_dump($queue_transcript_info);
$result = $this->what_did_they_say->add_queued_transcription_to_post($queue_transcript_info['post_id'], $queue_transcript_info);
if ($result) {
$updated = __('Transcript added to queue.', 'what-did-they-say');