working on queueing transcripts
This commit is contained in:
parent
0434beb429
commit
1f5799f659
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue