Skip to content

Commit

Permalink
Change for passing to dif branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JPrentice-thecode committed Feb 20, 2025
1 parent 6b81391 commit da91af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ function wp_delete_object_term_relationships( $object_id, $taxonomies = '' ) {

// If Taxonomies is empty use new function called get all taxonomies that have a term.
if ( empty( $taxonomies ) ) {
$taxonomies = get_object_taxonomies( get_post_type( $object_id ) ); // This is placeholder
$taxonomies = get_object_taxonomies( get_post_type( $object_id ) ); // This is placeholder, change for james function.
}

if ( ! is_array( $taxonomies ) ) {
Expand Down

0 comments on commit da91af4

Please sign in to comment.