Make WordPress Core


Ignore:
Timestamp:
05/07/2018 05:19:48 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Update and correct various inline documentation.

See #42505, #41756

File:
1 edited

Legend:

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

    r42875 r43177  
    674674
    675675/**
    676  * Synchronize category and post tag slugs when global terms are enabled.
    677  *
    678  * @since 3.0.0
    679  *
    680  * @param object $term     The term.
    681  * @param string $taxonomy The taxonomy for `$term`. Should be 'category' or 'post_tag', as these are
    682  *                         the only taxonomies which are processed by this function; anything else
    683  *                         will be returned untouched.
    684  * @return object|array Returns `$term`, after filtering the 'slug' field with sanitize_title()
    685  *                      if $taxonomy is 'category' or 'post_tag'.
     676 * Synchronizes category and post tag slugs when global terms are enabled.
     677 *
     678 * @since 3.0.0
     679 *
     680 * @param WP_Term|array $term     The term.
     681 * @param string        $taxonomy The taxonomy for `$term`. Should be 'category' or 'post_tag', as these are
     682 *                                the only taxonomies which are processed by this function; anything else
     683 *                                will be returned untouched.
     684 * @return WP_Term|array Returns `$term`, after filtering the 'slug' field with `sanitize_title()`
     685 *                       if `$taxonomy` is 'category' or 'post_tag'.
    686686 */
    687687function sync_category_tag_slugs( $term, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.