[wp-trac] [WordPress Trac] #35658: Provide additional data for registered meta through register_meta()
WordPress Trac
noreply at wordpress.org
Thu May 5 00:26:55 UTC 2016
#35658: Provide additional data for registered meta through register_meta()
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Options, Meta APIs | Review
Severity: normal | Version:
Keywords: needs-unit-tests needs-testing has- | Resolution:
patch rest-api | Focuses:
-------------------------------------------------+-------------------------
Comment (by toscho):
Replying to [comment:28 ericlewis]:
> In attachment:35658.3.diff
`final class WP_Meta_Manager {` … a final class without an interface is
broken code: impossible to replace during runtime and very hard to mock in
tests. We do have too much of that already in the core.
Whatever you do: Please do not repeat this mistake.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35658#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list