Make WordPress Core


Ignore:
Timestamp:
09/07/2010 11:21:11 AM (14 years ago)
Author:
nacin
Message:

Phpdoc argument/@param cleanups. props duck_, see #14783.

File:
1 edited

Legend:

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

    r15586 r15590  
    641641 * @uses get_term_children() Used to get the children of both $taxonomy and the parent $term
    642642 *
    643  * @param string $term ID of Term to get children
     643 * @param string $term_id ID of Term to get children
    644644 * @param string $taxonomy Taxonomy Name
    645645 * @return array|WP_Error List of Term Objects. WP_Error returned if $taxonomy does not exist
     
    816816 * @uses wp_parse_args() Merges the defaults with those defined by $args and allows for strings.
    817817 *
    818  * @param string|array Taxonomy name or list of Taxonomy names
     818 * @param string|array $taxonomies Taxonomy name or list of Taxonomy names
    819819 * @param string|array $args The values of what to search for when returning terms
    820820 * @return array|WP_Error List of Term Objects and their children. Will return WP_Error, if any of $taxonomies do not exist.
     
    13071307 *
    13081308 * @param int $object_id The term Object Id that refers to the term
    1309  * @param string|array $taxonomy List of Taxonomy Names or single Taxonomy name.
     1309 * @param string|array $taxonomies List of Taxonomy Names or single Taxonomy name.
    13101310 */
    13111311function wp_delete_object_term_relationships( $object_id, $taxonomies ) {
     
    14451445 * @uses $wpdb
    14461446 *
    1447  * @param int|array $object_id The id of the object(s) to retrieve.
     1447 * @param int|array $object_ids The ID(s) of the object(s) to retrieve.
    14481448 * @param string|array $taxonomies The taxonomies to retrieve terms from.
    14491449 * @param array|string $args Change what is returned
     
    17151715 *
    17161716 * @param int $object_id The object to relate to.
    1717  * @param array|int|string $term The slug or id of the term, will replace all existing
     1717 * @param array|int|string $terms The slug or id of the term, will replace all existing
    17181718 * related terms in this taxonomy.
    17191719 * @param array|string $taxonomy The context in which to relate the term to the object.
     
    26342634 * @uses wp_get_object_terms()
    26352635 *
    2636  * @param int $object_id. ID of the object (post ID, link ID, ...)
    2637  * @param string $taxonomy. Single taxonomy name
     2636 * @param int $object_id ID of the object (post ID, link ID, ...)
     2637 * @param string $taxonomy Single taxonomy name
    26382638 * @param int|string|array $terms Optional.  Term term_id, name, slug or array of said
    26392639 * @return bool|WP_Error. WP_Error on input error.
     
    26802680 *
    26812681 * @param string $object_type Object type string
    2682  * @param string $taxonomy. Single taxonomy name
     2682 * @param string $taxonomy Single taxonomy name
    26832683 * @return bool True if object is associated with the taxonomy, otherwise false.
    26842684 */
Note: See TracChangeset for help on using the changeset viewer.