[wp-trac] [WordPress Trac] #37345: register_meta has unclear error messages
WordPress Trac
noreply at wordpress.org
Tue Jul 12 16:49:09 UTC 2016
#37345: register_meta has unclear error messages
--------------------------------+------------------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by petya):
Just to clarify, we were looking at these strings:
- Meta can only be registered against a core object type. -
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/meta.php#L1105
- Meta must be registered against an object subtype. -
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/meta.php#L1066
- Sanitize and auth callbacks registered; meta key not registered. -
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/meta.php#L1105
- Invalid meta key. Not a core object type.
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/meta.php#L1129, https://core.trac.wordpress.org/browser/trunk/src
/wp-includes/meta.php#L1228
Detailed translator comments for these strings can also help non-developer
translators understand and localize them better.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37345#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list