Taxonomy: Ensure get_edit_term_link() produces the correct result when called without taxonomy.

This fixes an oversight missed in [36646].

Props debarghyabanerjee.
Fixes #61726.
See #35922.

Built from https://develop.svn.wordpress.org/trunk@58807


git-svn-id: http://core.svn.wordpress.org/trunk@58203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2024-07-24 21:42:17 +00:00
parent 539ee9221b
commit cd610922d0
2 changed files with 2 additions and 2 deletions

View File

@ -1092,7 +1092,7 @@ function get_edit_term_link( $term, $taxonomy = '', $object_type = '' ) {
}
$args = array(
'taxonomy' => $taxonomy,
'taxonomy' => $tax->name,
'tag_ID' => $term_id,
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58806';
$wp_version = '6.7-alpha-58807';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.