Make WordPress Core

Changeset 31293


Ignore:
Timestamp:
01/29/2015 11:33:02 AM (10 years ago)
Author:
DrewAPicture
Message:

Add missing descriptions to the DocBlocks for various functions in wp-admin/includes/taxonomy.php.

Also adds a few missing parameter descriptions.

Props ipm-frommen.
See #31008.

File:
1 edited

Legend:

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

    r31140 r31293  
    3030
    3131/**
    32  * {@internal Missing Short Description}}
     32 * Get category object for given ID and 'edit' filter context.
    3333 *
    3434 * @since 2.0.0
     
    4444
    4545/**
    46  * {@internal Missing Short Description}}
     46 * Add a new category to the database if it does not already exist.
    4747 *
    4848 * @since 2.0.0
     
    190190
    191191/**
    192  * {@internal Missing Short Description}}
     192 * Check whether a post tag with a given name exists.
    193193 *
    194194 * @since 2.3.0
     
    202202
    203203/**
    204  * {@internal Missing Short Description}}
     204 * Add a new tag to the database if it does not already exist.
    205205 *
    206206 * @since 2.3.0
     
    214214
    215215/**
    216  * {@internal Missing Short Description}}
     216 * Get comma-separated list of tags available to edit.
    217217 *
    218218 * @since 2.3.0
    219219 *
    220  * @param int $post_id
     220 * @param int    $post_id
     221 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    221222 * @return string|bool|WP_Error
    222223 */
     
    226227
    227228/**
    228  * {@internal Missing Short Description}}
     229 * Get comma-separated list of terms available to edit for the given post ID.
    229230 *
    230231 * @since 2.8.0
    231232 *
    232  * @param int $post_id
     233 * @param int    $post_id
     234 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    233235 * @return string|bool|WP_Error
    234236 */
     
    273275
    274276/**
    275  * {@internal Missing Short Description}}
     277 * Add a new term to the database if it does not already exist.
    276278 *
    277279 * @since 2.8.0
    278280 *
    279281 * @param int|string $tag_name
     282 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    280283 * @return array|WP_Error
    281284 */
Note: See TracChangeset for help on using the changeset viewer.