Make WordPress Core


Ignore:
Timestamp:
12/13/2011 11:45:31 PM (15 years ago)
Author:
ryan
Message:

Use one space, not two, after trailing punctuation. fixes #19537

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r19077 r19593  
    10841084 * terms whose count is 0 according to the given taxonomy.
    10851085 *
    1086  * exclude - Default is an empty array.  An array, comma- or space-delimited string
    1087  * of term ids to exclude from the return array.  If 'include' is non-empty,
     1086 * exclude - Default is an empty array. An array, comma- or space-delimited string
     1087 * of term ids to exclude from the return array. If 'include' is non-empty,
    10881088 * 'exclude' is ignored.
    10891089 *
    1090  * exclude_tree - Default is an empty array.  An array, comma- or space-delimited
     1090 * exclude_tree - Default is an empty array. An array, comma- or space-delimited
    10911091 * string of term ids to exclude from the return array, along with all of their
    1092  * descendant terms according to the primary taxonomy.  If 'include' is non-empty,
     1092 * descendant terms according to the primary taxonomy. If 'include' is non-empty,
    10931093 * 'exclude_tree' is ignored.
    10941094 *
    1095  * include - Default is an empty array.  An array, comma- or space-delimited string
     1095 * include - Default is an empty array. An array, comma- or space-delimited string
    10961096 * of term ids to include in the return array.
    10971097 *
    1098  * number - The maximum number of terms to return.  Default is to return them all.
     1098 * number - The maximum number of terms to return. Default is to return them all.
    10991099 *
    11001100 * offset - The number by which to offset the terms query.
    … …  
    11101110 *
    11111111 * search - Returned terms' names will contain the value of 'search',
    1112  * case-insensitive.  Default is an empty string.
     1112 * case-insensitive. Default is an empty string.
    11131113 *
    11141114 * name__like - Returned terms' names will begin with the value of 'name__like',
    … …  
    11211121 * returns terms regardless of ancestry or whether the terms are empty.
    11221122 *
    1123  * The 'child_of' argument, when used, should be set to the integer of a term ID.  Its default
    1124  * is 0.  If set to a non-zero value, all returned terms will be descendants
    1125  * of that term according to the given taxonomy.  Hence 'child_of' is set to 0
     1123 * The 'child_of' argument, when used, should be set to the integer of a term ID. Its default
     1124 * is 0. If set to a non-zero value, all returned terms will be descendants
     1125 * of that term according to the given taxonomy. Hence 'child_of' is set to 0
    11261126 * if more than one taxonomy is passed in $taxonomies, because multiple taxonomies
    11271127 * make term ancestry ambiguous.
    11281128 *
    1129  * The 'parent' argument, when used, should be set to the integer of a term ID.  Its default is
     1129 * The 'parent' argument, when used, should be set to the integer of a term ID. Its default is
    11301130 * the empty string '', which has a different meaning from the integer 0.
    11311131 * If set to an integer value, all returned terms will have as an immediate
    … …  
    30953095 * @param int $object_id ID of the object (post ID, link ID, ...)
    30963096 * @param string $taxonomy Single taxonomy name
    3097  * @param int|string|array $terms Optional.  Term term_id, name, slug or array of said
     3097 * @param int|string|array $terms Optional. Term term_id, name, slug or array of said
    30983098 * @return bool|WP_Error. WP_Error on input error.
    30993099 */
    … …  
    32413241                return 0;
    32423242
    3243         // There's a loop, but it doesn't contain $term_id.  Break the loop.
     3243        // There's a loop, but it doesn't contain $term_id. Break the loop.
    32443244        foreach ( array_keys( $loop ) as $loop_member )
    32453245                wp_update_term( $loop_member, $taxonomy, array( 'parent' => 0 ) );
Note: See TracChangeset for help on using the changeset viewer.