Skip to content

Commit

Permalink
Fix oversight.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Jul 25, 2024
1 parent b733c65 commit 8407bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entities/Term.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function get_edit_url(): string {
* See https://core.trac.wordpress.org/ticket/61726, where this was fixed.
*/
if ( version_compare( $wp_version, '6.7', '<' ) ) {
(string) get_edit_term_link( $this->wp_obj, $this->wp_obj->taxonomy );
return (string) get_edit_term_link( $this->wp_obj, $this->wp_obj->taxonomy );
}

return (string) get_edit_term_link( $this->wp_obj );
Expand Down

0 comments on commit 8407bb2

Please sign in to comment.