Permalink
Browse files

Fix content filter where paragraph tags were destroyed.

  • Loading branch information...
1 parent 6bdf471 commit a627defc5e50edf7df4763a6da45efa1c20e809f @ericmann committed Nov 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/class.wp-publication-archive.php
@@ -294,10 +294,10 @@ public static function publication_link( $permalink, $post ) {
return $pub->get_the_link();
}
- public static function the_content() {
+ public static function the_content( $content ) {
global $post;
if( 'publication' != $post->post_type )
- return $post->post_content;
+ return $content;
$pub = new WP_Publication_Archive_Item( $post->ID, $post->post_title, $post->post_date );
return $pub->summary;

0 comments on commit a627def

Please sign in to comment.