[wp-trac] [WordPress Trac] #9547: Taxonomy - interesting 'unused' term_order column in table term_relationships.

WordPress Trac noreply at wordpress.org
Sun Dec 28 06:18:30 UTC 2025


#9547: Taxonomy - interesting 'unused' term_order column in table
term_relationships.
------------------------------------+-----------------------------
 Reporter:  michelwppi              |       Owner:  (none)
     Type:  enhancement             |      Status:  assigned
 Priority:  high                    |   Milestone:  Future Release
Component:  Taxonomy                |     Version:  2.8
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by gauri87):

 **Tested on WordPress 6.9 with PHP 8.2.27**
 The term_order column still exists in wp_term_relationships, but WordPress
 core does not provide generic APIs or consistent behavior for ordering
 taxonomy terms using it.
 When testing with xili-language on a modern setup, plugin code relying on
 core behavior around taxonomy ordering triggers fatal errors due to
 missing/null core objects.
 This confirms the limitation described in the ticket is still relevant in
 current WordPress versions.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/9547#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list