Make WordPress Core

Opened 12 months ago

Last modified 7 months ago

#62664 new enhancement

Automatically prepopulate registered meta keys in the Custom Fields meta box

Reported by: psykro's profile psykro Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: has-patch
Focuses: Cc:

Description

When the Custom fields meta box is enabled, it does not provide the option to select from any meta fields registered using either register_meta or register_post_meta.

Change History (2)

This ticket was mentioned in PR #7974 on WordPress/wordpress-develop by @psykro.


12 months ago
#1

  • Keywords has-patch added

Once the query has been run to fetch any post_meta keys from the table, this checks if that array contains values. If it does not, it fetches any registered post meta keys and uses that array instead.

Trac ticket: https://core.trac.wordpress.org/ticket/62664#ticket

#2 @johnbillion
7 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.