working on queueing transcripts

This commit is contained in:
John Bintz 2009-08-18 21:17:57 -04:00
parent 0434beb429
commit 1f5799f659
1 changed files with 1 additions and 1 deletions

View File

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