Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix get_bookmark_webcomic_url() when pretty permalinks are disabled.

  • Loading branch information...
commit 4fc55ee1f648f06d81bc653038fcf4d4c18270d2 1 parent 02ed4a9
Michael Sisk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  webcomic.php
View
2  webcomic.php
@@ -600,7 +600,7 @@ public function get_bookmark_webcomic_url( $key, $id = false ) {
$wc = current( wp_get_object_terms( $id, 'webcomic_collection' ) );
$url = get_permalink( $id );
- $r = ( is_object( $wp_rewrite ) && $wp_rewrite->using_permalinks() ) ? $url . '?bookmark_webcomic=' . $id . '/' . $key . '/' . $wc->term_id : $url . '&purchase_webcomic_print=' . $id . '/' . $key . '/' . $wc->term_id;
+ $r = ( is_object( $wp_rewrite ) && $wp_rewrite->using_permalinks() ) ? $url . '?bookmark_webcomic=' . $id . '/' . $key . '/' . $wc->term_id : $url . '&bookmark_webcomic=' . $id . '/' . $key . '/' . $wc->term_id;
return apply_filters( 'webcomic_get_bookmark_url', $r, $key, $id );
}
Please sign in to comment.
Something went wrong with that request. Please try again.