Why edit-tags.php and Why not edit-terms.php


Today at work, I was writing about categories and tags in WordPress. I noticed something that looks strange to me and I decided to share it here.

Apparently when a user edits a category, tag or any term. It is handled by edit-tags.php file which takes parameters like tag_ID, taxonomy, action, post type.

Shouldn’t it be called edit-terms.php and have term_id instead of tag_ID? This will improve user’s understanding of how taxonomies work. They will start to understand that category and tag are taxonomies and all their categories and tags are terms inside those taxonomies. I am sure this might have come to core developers mind but they probably decided not to do that, I am just curious why?

I think renaming edit-tags.php to edit-terms.php makes sense. Any thoughts?

Related Posts