Changeset 61376 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 12/14/2025 07:11:49 AM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r60933 r61376 2000 2000 foreach ( (array) $taxonomies as $taxonomy ) { 2001 2001 $term_ids = wp_get_object_terms( $object_id, $taxonomy, array( 'fields' => 'ids' ) ); 2002 if ( ! is_array( $term_ids ) ) { 2003 // Skip return value in the case of an error or the 'wp_get_object_terms' filter returning an invalid value. 2004 continue; 2005 } 2002 2006 $term_ids = array_map( 'intval', $term_ids ); 2003 2007 wp_remove_object_terms( $object_id, $term_ids, $taxonomy );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)