Skip to content

Commit

Permalink
Merge pull request #680 from INN/671-Largo_Related-more-notes
Browse files Browse the repository at this point in the history
Documentation for Largo_Related's previous functionality.
  • Loading branch information
rnagle committed Jun 5, 2015
2 parents 89f5e81 + 5050a4b commit a80ce2c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions inc/related-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,14 +637,6 @@ protected function add_from_query( $q, $reversed = FALSE ) {
if ( $this->have_enough_posts() ) return;
}
}

// still here? reverse and try again
// NOTE: we have no idea what this is used for (4/29/2015)
if ( ! $reversed ) {
$q->posts = array_reverse($q->posts);
$q->rewind_posts();
$this->add_from_query( $q, TRUE );
}
}

/**
Expand Down

0 comments on commit a80ce2c

Please sign in to comment.