Skip to content
Browse files

Correct collection misspelling.

  • Loading branch information...
1 parent 66c4b9f commit 388face8985432aa0639a07f8a50efda77467769 Michael Sisk committed Sep 13, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 -/php/config.php
  2. +2 −2 -/php/tags.php
View
2 -/php/config.php
@@ -932,7 +932,7 @@ public function collection_twitter_format() {
*
* If 'webcomic_add_collection' is set, create a new collection.
*
- * If 'webcomic_bulk_collection' is set and one or more collecitons
+ * If 'webcomic_bulk_collection' is set and one or more collections
* is selected, perform bulk collection actions (thanks WPCat2Tag).
*
* Otherwise, save general settings.
View
4 -/php/tags.php
@@ -247,7 +247,7 @@ public static function is_webcomic_tax( $taxonomy = '', $term = '' ) {
/** Is the current post a webcomic?
*
- * Specific colleciton checks should be done by comparing the post
+ * Specific collection checks should be done by comparing the post
* type directly.
*
* @param mixed $the_post Post object or ID to check.
@@ -1164,7 +1164,7 @@ public static function webcomic_collection_description( $collection = '' ) {
* @filter string webcomic_collection_image Filters the the image returned by `webcomic_collection_image` and used by `webcomic_collection_poster`.
*/
public static function webcomic_collection_image( $size = 'full', $collection = '' ) {
- $colleciton = $collection ? $collection : self::$collection;
+ $collection = $collection ? $collection : self::$collection;
return empty( self::$config[ 'collections' ][ $collection ][ 'image' ] ) ? '' : apply_filters( 'webcomic_collection_image', wp_get_attachment_image( self::$config[ 'collections' ][ $collection ][ 'image' ], $size ), $size, $collection );
}

0 comments on commit 388face

Please sign in to comment.
Something went wrong with that request. Please try again.