add comicpress style

This commit is contained in:
John Bintz 2009-10-25 20:50:35 -04:00
parent 83dbaebd0c
commit d7877a46af
3 changed files with 3 additions and 5 deletions

View File

@ -1074,7 +1074,7 @@ class WhatDidTheySayAdmin {
* Show the Manage Transcriptions meta box. * Show the Manage Transcriptions meta box.
*/ */
function manage_transcriptions_meta_box() { function manage_transcriptions_meta_box() {
global $post; global $post, $wpdb;
$options = get_option('what-did-they-say-options'); $options = get_option('what-did-they-say-options');

View File

@ -5,8 +5,6 @@
<?php } ?> <?php } ?>
</head> </head>
<body> <body>
<div class="wdts-transcript"> <?php echo end(apply_filters('the_media_transcript', implode("\n", $sample_transcript), '')) ?>
<?php echo do_shortcode(implode("\n", $sample_transcript)) ?>
</div>
</body> </body>
</html> </html>

View File

@ -182,7 +182,7 @@ function transcripts_display($language_format = null, $show_transcripts_string =
* If you're allowing users to submit transcripts to the post transcript queue, use this tag in your Loop. * If you're allowing users to submit transcripts to the post transcript queue, use this tag in your Loop.
*/ */
function the_media_transcript_queue_editor() { function the_media_transcript_queue_editor() {
global $post; global $post, $wpdb;
if (current_user_can('submit_transcriptions')) { if (current_user_can('submit_transcriptions')) {
$queued_transcript_object = new WDTSQueuedTranscript($post->ID); $queued_transcript_object = new WDTSQueuedTranscript($post->ID);