Changeset 32047
- Timestamp:
- 04/05/2015 05:07:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r31855 r32047 311 311 * 312 312 * @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. 316 317 * 317 318 * @param string $taxonomy Taxonomy key, must not exceed 32 characters. … … 2611 2612 * @since 2.3.0 2612 2613 * @since 4.2.0 Added support for 'taxonomy', 'parent', and 'term_taxonomy_id' values of `$orderby`. 2613 * Introduced `$parent` parameter.2614 * Introduced `$parent` argument. 2614 2615 * 2615 2616 * @global wpdb $wpdb WordPress database abstraction object. … … 2780 2781 * @param array $object_id_array Array of object IDs for which `$terms` were retrieved. 2781 2782 * @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. 2784 2785 */ 2785 2786 $terms = apply_filters( 'get_object_terms', $terms, $object_id_array, $taxonomy_array, $args ); … … 4130 4131 * Create a new term for a term_taxonomy item that currently shares its term with another term_taxonomy. 4131 4132 * 4133 * @ignore 4132 4134 * @since 4.2.0 4133 * @access private4134 4135 * 4135 4136 * @param int $term_id ID of the shared term. 4136 4137 * @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 database4138 * schema), `$term_id` is returned. When the term is successfully split, the new term_id is4139 * 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. 4140 4141 */ 4141 4142 function _split_shared_term( $term_id, $term_taxonomy_id ) { … … 4228 4229 * Check default categories when a term gets split to see if any of them need to be updated. 4229 4230 * 4231 * @ignore 4230 4232 * @since 4.2.0 4231 * @access private4232 4233 * 4233 4234 * @param int $term_id ID of the formerly shared term. … … 4251 4252 * Check menu items when a term gets split to see if any of them need to be updated. 4252 4253 * 4254 * @ignore 4253 4255 * @since 4.2.0 4254 * @access private4255 4256 * 4256 4257 * @param int $term_id ID of the formerly shared term. … … 4306 4307 * @param int $old_term_id Term ID. This is the old, pre-split term ID. 4307 4308 * @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. 4310 4312 */ 4311 4313 function wp_get_split_term( $old_term_id, $taxonomy ) {
Note: See TracChangeset
for help on using the changeset viewer.