WordPress.org

Make WordPress Core

Changeset 31113


Ignore:
Timestamp:
01/09/2015 11:18:22 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Add variable type for sync_category_tag_slugs() parameters.

props tillkruess.
fixes #30718.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms.php

    r31090 r31113  
    588588 * @since 3.0.0
    589589 *
    590  * @param $term     The term.
    591  * @param $taxonomy The taxonomy for $term. Should be 'category' or 'post_tag', as these are
    592  *                  the only taxonomies which are processed by this function; anything else
    593  *                  will be returned untouched.
     590 * @param object $term     The term.
     591 * @param string $taxonomy The taxonomy for $term. Should be 'category' or 'post_tag', as these are
     592 *                         the only taxonomies which are processed by this function; anything else
     593 *                         will be returned untouched.
    594594 * @return object|array Returns `$term`, after filtering the 'slug' field with {@see sanitize_title()}
    595595 *                      if $taxonomy is 'category' or 'post_tag'.
Note: See TracChangeset for help on using the changeset viewer.