mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
539ee9221b
commit
cd610922d0
@ -1092,7 +1092,7 @@ function get_edit_term_link( $term, $taxonomy = '', $object_type = '' ) {
|
||||
}
|
||||
|
||||
$args = array(
|
||||
'taxonomy' => $taxonomy,
|
||||
'taxonomy' => $tax->name,
|
||||
'tag_ID' => $term_id,
|
||||
);
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user