[wp-trac] [WordPress Trac] #55854: Save term creation time by default
WordPress Trac
noreply at wordpress.org
Fri May 27 07:50:37 UTC 2022
#55854: Save term creation time by default
-----------------------------------+-----------------------------
Reporter: JPontinen | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 6.0
Severity: minor | Keywords:
Focuses: template, performance |
-----------------------------------+-----------------------------
I would like to see WP save all term creation - and last modified -
datetimes by default as term meta.
Easy use case example to see advantage: Ordering Category terms by
creation date straight-off instead of making a query for posts and
deciding the order that way. Term ID's do not always convey the correct
order - especially if data migration/s have been made.
Would also enable a surefire way to publish term creation dates in a term
listing instead of having to pull info from posts within said terms.
Would not interfere with existing architecture too much - "too much"
because the meta key could be something like "term_date" or
"term_created_date" and "term_modified_date" - someone might have used the
same keys when creating custom meta.
The addition would not increase DB size or complexity by much.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55854>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list