In versions of WordPress prior to 4.2 terms could belong to multiple taxonomies. This is no longer the case and in WordPress 4.2 or newer new terms cannot belong to multiple taxonomies and any existing terms that belong to multiple taxonomies are split into multiple terms whenever they are updated.
You can read this post for an introduction to the change from before it was made: https://make.wordpress.org/core/2015/02/16/taxonomy-term-splitting-in-4-2-a-developer-guide/
There is also this article which describes the splitting process: https://developer.wordpress.org/plugins/taxonomies/split-terms-wp-4-2/
So unless you are dealing with pre-4.2 data the values of these columns should always be the same.
Related Posts:
- What does wp_term_taxonomy.parent reference?
- Clear Terms from Taxonomy for Specific Post IDs?
- Slow wp_term_relationships query
- How are terms connected with posts in database?
- Is altering a default WordPress database table update safe?
- What are terms and taxonomy, how they related to post and how these three are stored in database?
- get_tags() return an empty array after added tags with wp_insert_term()
- Make an Items attribute searchable (taxonomy using existing attribute)
- WordPress database products structure
- get value from ‘terms’ table
- I cannot change anything in my wordpress database from within wordpress?
- get_the_terms is not working
- Issue with WordPress Automatically Assigning Terms to Multiple Posts
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Oracle SQL query for Date format
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Can I have multiple primary keys in a single table?
- Using wpdb to connect to a separate database
- Database connection close
- Control term order on a per-post basis
- How do I list custom taxonomy terms without the links?
- Importing posts from old website to new conflicting post ID’s?
- Exporting revisions
- WP_Options ID high
- How to use multiple database in wordpress?
- Using get_terms for custom taxonomy in functions.php
- Is it possible to get a Previous/Next Taxonomy term archive URL?
- Is removing orphaned wp_postmeta records safe?
- Display empty taxonomy terms with get_terms()
- Adding Multiple Values to a Post Meta Key
- What ALL can cause “Another update is currently in progress.”? [closed]
- Error connecting to DB in /wp-includes/wp-db.php on line 1538 [closed]
- Trigger Plugin database update after git pull
- How to query the WordPress database to get posts of a certain custom post type, taxonomy and field?
- Cannot update custom database table row
- SQL Error wp_commentmeta – incorrect table definition
- Change WordPress prefix for only one table?
- Two websites one database, administrator not working on second website
- Select two sums with single get_var statement
- How to get the SQL of the changes made to the database from an update or upgrade?
- Get posts of ONE taxonomy term of custom post type
- How can i add custom fields into the contact form 7 [closed]
- Store partial database to an archive database time to time
- Move out of sync posts from one database to another
- Use same database on main domain & sub domain
- How do I convert a MySQL database from utf8mb4 to utf8 encoding?
- Why user_pass column in wp_users table is varchar(64)
- How to Order a list of taxonomies? orderby?
- Reinstalling wordpress from database breaks the site
- Trouble running $wpdb->query() with last_insert_id
- Using $wpdb | checking entered email against existing emails in db
- Corrupted nav-menu?
- Backing up WordPress database and files
- Creating and Using Tables in the WordPress Database
- Combining these queries? (Same taxonomy term + same category as post)
- How to order a taxonomy’s terms numerically, from lowest to highest using get_terms
- Connect a membership plugin to an external database
- Compare User meta_value with Product meta_value
- Storing user’s data on external database on other server
- is it right choose to connect database in template page directly in WordPress site?
- How to insert a value to decimal type field using wpdb->prepare?
- Sql query to get all metadata for a post
- Where do I put my create_new_table function()?
- What is the use case for sharing a term between multiple taxonomies?
- Having all “non-PHP” files on a different server
- syntax error for changing user role from database
- Finding a page holding a specific string/URL that is used in the content
- “wordpress error in establishing database connection” and missing tables
- get_option() does unserialize and don’t remove \
- Adding last value from Database as text in WordPress Page
- Merging development site with live site
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Checking if the data already exsis in the wp database – custom plugin
- live site do not update after importing sql database
- Transforming an wp_options database array into a javascript obect?
- How can I retrieve data from alternate database using wpdb class?
- Author ID mismatch from database
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- Automatic add record after refreshing page
- User accounts for saving form data?
- Exclude 2 in 3 terms of A Taxonomy from all Archives
- Trying to edit a WP site locally using MAMP
- WordPress API standard compliance and specification for external database [closed]
- Log IP of users who click a button? [closed]
- DROP TABLE IF EXISTS `wp_options` error?
- Problem with form database connectivity
- Server database problem
- Unable to do WP_User_Query with meta filter
- WP Multisite Users Not Linking
- hide_empty property not working when using get_terms
- How can I get taxonomy term name using term slug & post ID using build in WordPress function or class?
- Query a meta key using an array of values where the database value is a string
- Taxonomy Archive URL + Template
- Set limitations of wp_update_post()?
- Want to use a single database and single table (wp_posts and wp_postmeta) for two different sites
- If an Application Password is accidentally revoked, is there any way to restore it?
- Add independent connections for reading and writing to the database in WordPress
- SQL errors when querying for something with apostrophes
- error establishing database for all wordpress on same instance
- I need to downgrade from 5.9.9 to latest 5.8.x – where is the db instructions executed when upgrading?