Changeset 43690 for branches/4.9
- Timestamp:
- 10/09/2018 06:17:32 PM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk reverse-merged: 43558,43631
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/taxonomy.php
r43632 r43690 579 579 $wp_taxonomies[ $taxonomy ]->object_type = array_filter( $wp_taxonomies[ $taxonomy ]->object_type ); 580 580 581 /**582 * Fires after a taxonomy is registered for an object type.583 *584 * @since 4.9.9585 *586 * @param string $taxonomy Taxonomy name.587 * @param string $object_type Name of the object type.588 */589 do_action( 'registered_taxonomy_for_object_type', $taxonomy, $object_type );590 591 581 return true; 592 582 } … … 617 607 618 608 unset( $wp_taxonomies[ $taxonomy ]->object_type[ $key ] ); 619 620 /**621 * Fires after a taxonomy is unregistered for an object type.622 *623 * @since 4.9.9624 *625 * @param string $taxonomy Taxonomy name.626 * @param string $object_type Name of the object type.627 */628 do_action( 'unregistered_taxonomy_for_object_type', $taxonomy, $object_type );629 630 609 return true; 631 610 }
Note: See TracChangeset
for help on using the changeset viewer.