Opened 8 years ago
Closed 8 years ago
#37401 closed defect (bug) (duplicate)
register_meta error messages not accurate
Reported by: | chriscct7 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Options, Meta APIs | Keywords: | |
Focuses: | Cc: |
Description
In register_meta(), many errors thrown, read like the following one: "Meta can only be registered against a core object type." However, one can register_meta for a non-core object by adding support via the wp_object_type_exists
filter.
The wording of this error can be really misleading in this case. A better error message might read "Meta can only be registered against allowed object types"
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #37345.