Permalink
Browse files

Fixed PHP logic mismatch that caused output to be corrupted when usin…

…g the YouTube shortcode.
  • Loading branch information...
1 parent c3d79ca commit 41bd1caf39738bcad86ea92e22f4a473ec88b7a6 @BenWard committed Feb 16, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 index.php
View
3 index.php
@@ -680,10 +680,9 @@ function getWarnings() {
[googlevideo=<?php preg_match('/src="([\S\s]*?)"/', $post->{'video-player'}, $matches); echo $matches[1]; ?>]
<?php } else { ?>
<?php echo $post->{'video-player'} ?>
-
+ <?php } ?>
<?php echo $post_content ?>
]]></content:encoded>
- <?php } ?>
<wp:post_name><?php echo formatPermalinkSlug($post->attributes()->id, $post->{'video-caption'}) ?></wp:post_name>
<?php
break;

0 comments on commit 41bd1ca

Please sign in to comment.