Permalink
Browse files

Remove static homepage collection check.

Until I can find a mor reliable way to check for this only on the
homepage.
  • Loading branch information...
1 parent 0e92918 commit 387be6be9469cecc1d83af8314bb8644971ee41d Michael Sisk committed Sep 26, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 webcomic.php
View
@@ -412,7 +412,6 @@ public function setup_theme() {
or ( isset( $_GET[ 'post_type' ] ) and isset( self::$config[ 'collections' ][ $_GET[ 'post_type' ] ] ) and $match[ 0 ] = $_GET[ 'post_type' ] )
or ( $wp_rewrite->using_permalinks() and preg_match( sprintf( '{/(%s)/}', join( '|', $permalinks ) ), $_SERVER[ 'REQUEST_URI' ], $match ) )
or ( $id = url_to_postid( $_SERVER[ 'REQUEST_URI' ] ) and $match[ 0 ] = get_post_meta( $id, 'webcomic_collection', true ) and isset( self::$config[ 'collections' ][ $match[ 0 ] ] ) )
- or ( $id = get_option( 'page_on_front' ) and $match[ 0 ] = get_post_meta( $id, 'webcomic_collection', true ) and isset( self::$config[ 'collections' ][ $match[ 0 ] ] ) )
)
and $match
) {

0 comments on commit 387be6b

Please sign in to comment.