From 7bba3d77ef09ac1d11128296efc9a198d2741a15 Mon Sep 17 00:00:00 2001 From: Michael Sisk Date: Mon, 11 Feb 2013 23:05:38 -0500 Subject: [PATCH] Correct help and inline documentation. --- -/php/help.php | 4 ++-- -/php/tags.php | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/-/php/help.php b/-/php/help.php index 1b8751c..42825db 100644 --- a/-/php/help.php +++ b/-/php/help.php @@ -382,7 +382,7 @@ private function generator_overview() {

%s

', __( 'The Webcomic Generator can assist you in publishing a large backlog of webcomics. The right column lists all of the images in your Media Library that are not attached to a post. Select the files you would like to publish using the checkboxes, then adjust the publish settings on the left:', 'webcomic' ), __( 'Collection specifies the collection that all of the generated webcomics will belong to.', 'webcomic' ), - __( 'Start on… specifies the the date to begin publishing the selected images. The first selected image in the list will be published on this date.', 'webcomic' ), + __( 'Start on… specifies the date to begin publishing the selected images. The first selected image in the list will be published on this date.', 'webcomic' ), __( 'Publish every… allows you to select which days of the week to publish subsequent files. The generator will work through the list from top to bottom, publishing selected files based on the days you select. You can reorder the images on the right by dragging and dropping the table rows to ensure they publish in the correct order.', 'webcomic' ), __( 'Save posts as drafts will cause all of the webcomics created by the generator to be drafted. These posts will not appear on your site until you publish them.', 'webcomic' ), __( 'Webcomics created by the generator will use the image filename for the webcomic title.', 'webcomic' ) @@ -792,7 +792,7 @@ private function collection_settings_general() { ', __( 'These settings allow you to change some of the basic information and features related to your collection:', 'webcomic' ), __( 'Name - The name is how it appears on your site.', 'webcomic' ), - __( 'Slug - The The "slug" is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.', 'webcomic' ), + __( 'Slug - The "slug" is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.', 'webcomic' ), __( 'Description - The description is not prominent by default; it may be used in various ways, however.', 'webcomic' ), __( 'Poster - The poster is a representative image that can be displayed on your site.', 'webcomic' ), __( 'Theme - Determines what theme will be used when a user is viewing a page related to this collection.', 'webcomic' ), diff --git a/-/php/tags.php b/-/php/tags.php index ec2bd50..31e9544 100644 --- a/-/php/tags.php +++ b/-/php/tags.php @@ -1332,7 +1332,7 @@ public static function webcomic_term_image( $size = 'full', $term = 0, $taxonomy * @return string * @uses Webcomic::$config * @uses WebcomicTag::get_relative_webcomic_link() - * @filter get_webcomic_term_crossover_link + * @filter get_webcomic_term_crossover_link Filters the URL returned by get_webcomic_term_crossover_link. */ public static function get_webcomic_term_crossover_link( $collection = '', $term = 0, $taxonomy = '' ) { global $wp_rewrite; @@ -1538,7 +1538,7 @@ public static function webcomic_collection_print_amount( $type, $dec = '.', $sep * @param string $before Before list. * @param string $sep Separate items using this. * @param string $after After list. - * @param string $target Where the term links should point to, one of 'archive', 'first', 'last', or 'random'. + * @param string $target Where the collection links should point to, one of 'archive', 'first', 'last', or 'random'. * @param string $image Image size to use when displaying crossover collections images for links. * @param string $collection The collection to retrieve crossovers for. * @return string @@ -3371,7 +3371,7 @@ function is_webcomic_character( $character = '' ) { * @package Webcomic * @param string $collection Collection ID to check for. * @return boolean - * @uses WebcomicTag::$is_webcomic_crossover() + * @uses WebcomicTag::is_webcomic_crossover() */ function is_webcomic_crossover( $collection = '' ) { return WebcomicTag::is_webcomic_crossover( $collection ); @@ -3460,27 +3460,27 @@ function has_webcomic_attachments( $the_post = false ) { /** Is the current webcomic a crossover? * * - * if ( is_webcomic_crossover() ) { + * if ( has_webcomic_crossover() ) { * // this webcomic features characters or storylines from any other collection * } * - * if ( is_webcomic_crossover( 'webcomic42' ) ) { + * if ( has_webcomic_crossover( 'webcomic42' ) ) { * // this webcomic crosses over with storylines or characters from collection 42 * } * - * if ( is_webcomic_crossover( 'webcomic42_character' ) ) { + * if ( has_webcomic_crossover( 'webcomic42_character' ) ) { * // this webcomic features one or more characters from collection 42 * } * - * if ( is_webcomic_crossover( '', 'ford-prefect' ) { + * if ( has_webcomic_crossover( '', 'ford-prefect' ) { * // this webcomic crosses over with a storyline or character from any collection that has the slug ford-prefect * } * - * if ( is_webcomic_crossover( 'character', 'ford-prefect' ) { + * if ( has_webcomic_crossover( 'character', 'ford-prefect' ) { * // this webcomic features a character from any collection that has the slug ford-prefect * } * - * if ( is_webcomic_crossover( 'webcomic42_sotyrline', 'mostly-harmless' ) { + * if ( has_webcomic_crossover( 'webcomic42_sotyrline', 'mostly-harmless' ) { * // this webcomic crosses over with the storyline that has the slug mostly-harmless in collection 42 * } * @@ -4085,7 +4085,7 @@ function purchase_webcomic_link( $format = '%link', $link = '', $the_post = fals if ( !function_exists( 'the_webcomic_collection' ) ) { /** Render a webcomic collection link. * - * @deprecated 4.0.7 4.1 Use the_webcomic_collections instead. + * @deprecated 4.0.7 4.1 the_webcomic_collections */ function the_webcomic_collection( $format = '%link', $link = '', $target = 'archive', $collection = '' ) { echo WebcomicTag::webcomic_collection_link( $format, $link, $target, $collection ); @@ -4100,7 +4100,7 @@ function the_webcomic_collection( $format = '%link', $link = '', $target = 'arch * the_webcomic_collections(); * * // render an unordered list of collections related to the current webcomic - * the_webcomic_collections( '' ); + * the_webcomic_collections( '' ); * * // render links to the first webcomic in each collection related to the current webcomic with a small collection poster * the_webcomic_collections( '

collections

', '
', '
', 'first', 'thumbnail' ); @@ -4933,10 +4933,10 @@ function webcomic_character_avatar( $size = 'full', $character = 0, $collection * @param string $before Before list. * @param string $sep Separate items using this. * @param string $after After list. - * @param string $target Where the term links should point to, one of 'archive', 'first', 'last', or 'random'. + * @param string $target Where the links should point to, one of 'archive', 'first', 'last', or 'random'. * @param string $image Image size to use when displaying crossover collections images for links. * @param integer $storyline Storyline ID to render a crossover list for. - * @param mixed $taxonomy The collection the storyline belongs to. + * @param mixed $collection The collection the storyline belongs to. * @uses WebcomicTag::webcomic_term_crossovers() */ function webcomic_storyline_crossovers( $before = '', $sep = ', ', $after = '', $target = 'archive', $image = '', $storyline = 0, $collection = '' ) { @@ -4973,10 +4973,10 @@ function webcomic_storyline_crossovers( $before = '', $sep = ', ', $after = '', * @param string $before Before list. * @param string $sep Separate items using this. * @param string $after After list. - * @param string $target Where the term links should point to, one of 'archive', 'first', 'last', or 'random'. + * @param string $target Where the links should point to, one of 'archive', 'first', 'last', or 'random'. * @param string $image Image size to use when displaying crossover collections images for links. * @param integer $character character ID to render a crossover list for. - * @param mixed $taxonomy The collection the character belongs to. + * @param mixed $collection The collection the character belongs to. * @uses WebcomicTag::webcomic_term_crossovers() */ function webcomic_character_crossovers( $before = '', $sep = ', ', $after = '', $target = 'archive', $image = '', $character = 0, $collection = '' ) {