WordPress.org

Make WordPress Core

Changeset 32047


Ignore:
Timestamp:
04/05/2015 05:07:54 PM (5 years ago)
Author:
DrewAPicture
Message:

Fix a variety of inline documentation syntactical issues in wp-includes/taxonomy.php.

See #31888.

File:
1 edited

Legend:

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

    r31855 r32047  
    311311 *
    312312 * @since 2.3.0
    313  * @since 4.2.0 Introduced 'show_in_quick_edit' parameter.
    314  * @uses $wp_taxonomies Inserts new taxonomy object into the list
    315  * @uses $wp Adds query vars
     313 * @since 4.2.0 Introduced `show_in_quick_edit` argument.
     314 *
     315 * @global array $wp_taxonomies Registered taxonomies.
     316 * @global WP    $wp            WP instance.
    316317 *
    317318 * @param string $taxonomy Taxonomy key, must not exceed 32 characters.
     
    26112612 * @since 2.3.0
    26122613 * @since 4.2.0 Added support for 'taxonomy', 'parent', and 'term_taxonomy_id' values of `$orderby`.
    2613  *              Introduced `$parent` parameter.
     2614 *              Introduced `$parent` argument.
    26142615 *
    26152616 * @global wpdb $wpdb WordPress database abstraction object.
     
    27802781     * @param array $object_id_array Array of object IDs for which `$terms` were retrieved.
    27812782     * @param array $taxonomy_array  Array of taxonomies from which `$terms` were retrieved.
    2782      * @param array $args            An array of arguments for retrieving terms for the given object(s).
    2783      *                               See {@see wp_get_object_terms()} for details.
     2783     * @param array $args            An array of arguments for retrieving terms for the given
     2784     *                               object(s). See wp_get_object_terms() for details.
    27842785     */
    27852786    $terms = apply_filters( 'get_object_terms', $terms, $object_id_array, $taxonomy_array, $args );
     
    41304131 * Create a new term for a term_taxonomy item that currently shares its term with another term_taxonomy.
    41314132 *
     4133 * @ignore
    41324134 * @since 4.2.0
    4133  * @access private
    41344135 *
    41354136 * @param int  $term_id          ID of the shared term.
    41364137 * @param int  $term_taxonomy_id ID of the term_taxonomy item to receive a new term.
    4137  * @return int|WP_Error When the current term does not need to be split (or cannot be split on the current database
    4138  *                      schema), `$term_id` is returned. When the term is successfully split, the new term_id is
    4139  *                      returned. A `WP_Error` is returned for miscellaneous errors.
     4138 * @return int|WP_Error When the current term does not need to be split (or cannot be split on the current
     4139 *                      database schema), `$term_id` is returned. When the term is successfully split, the
     4140 *                      new term_id is returned. A WP_Error is returned for miscellaneous errors.
    41404141 */
    41414142function _split_shared_term( $term_id, $term_taxonomy_id ) {
     
    42284229 * Check default categories when a term gets split to see if any of them need to be updated.
    42294230 *
     4231 * @ignore
    42304232 * @since 4.2.0
    4231  * @access private
    42324233 *
    42334234 * @param int    $term_id          ID of the formerly shared term.
     
    42514252 * Check menu items when a term gets split to see if any of them need to be updated.
    42524253 *
     4254 * @ignore
    42534255 * @since 4.2.0
    4254  * @access private
    42554256 *
    42564257 * @param int    $term_id          ID of the formerly shared term.
     
    43064307 * @param int    $old_term_id Term ID. This is the old, pre-split term ID.
    43074308 * @param string $taxonomy    Taxonomy that the term belongs to.
    4308  * @return bool|int If a previously split term is found corresponding to the old term_id and taxonomy, the new term_id
    4309  *                  will be returned. If no previously split term is found matching the parameters, returns false.
     4309 * @return bool|int If a previously split term is found corresponding to the old term_id and taxonomy,
     4310 *                  the new term_id will be returned. If no previously split term is found matching
     4311 *                  the parameters, returns false.
    43104312 */
    43114313function wp_get_split_term( $old_term_id, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.