WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#25902 closed feature request (duplicate)

Enable use of termmeta table

Reported by: jackreichert Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:

Description (last modified by ocean90)

This pertains to tickets regarding termmeta: #19048, #10142, #5183.

I understand that they were closed; however, there already exists a termmeta table. The only thing holding it back from being used is that lines 208, 209 of wp-includes/wp-db.php is missing 'termmeta'.

Can this be included?

Attachments (1)

wp-db.php.diff (460 bytes) - added by jackreichert 5 months ago.

Download all attachments as: .zip

Change History (4)

jackreichert5 months ago

comment:1 jackreichert5 months ago

To clarify:
The only thing holding update_metadata('term', $object_id, $meta_key, $meta_value) from being used is the missing value in wp-db.php.

comment:2 ocean905 months ago

  • Component changed from General to Taxonomy
  • Description modified (diff)
  • Keywords has-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Type changed from defect (bug) to feature request

there already exists a termmeta table.

There is no meta table for terms in core. #10142 is the main ticket for adding term meta to core.

comment:3 jackreichert5 months ago

Thanks, it looks like the wp_termmeta table I was looking at was added by a plugin.

Note: See TracTickets for help on using tickets.