added three lines, woo hoo
This commit is contained in:
parent
c4f7d2c5ce
commit
60f5ace20b
|
@ -173,7 +173,9 @@ class WhatDidTheySayAdmin {
|
||||||
function handle_update_queue_transcript($info) {
|
function handle_update_queue_transcript($info) {
|
||||||
$updated = false;
|
$updated = false;
|
||||||
if (current_user_can('submit_transcriptions')) {
|
if (current_user_can('submit_transcriptions')) {
|
||||||
if ($this->what_did_they_say->get_allow_transcripts_for_post($info['post_id'])) {
|
$queued_transcript = new WDTSTranscriptOptions($info['post_id']));
|
||||||
|
|
||||||
|
if ($this->what_did_they_say->get_allow_transcripts_for_post() {
|
||||||
switch ($info['action']) {
|
switch ($info['action']) {
|
||||||
case 'submit_queued_transcript':
|
case 'submit_queued_transcript':
|
||||||
$result = $this->what_did_they_say->add_queued_transcription_to_post($info['post_id'], $info);
|
$result = $this->what_did_they_say->add_queued_transcription_to_post($info['post_id'], $info);
|
||||||
|
|
Loading…
Reference in New Issue