Changes between Initial Version and Version 1 of Ticket #35658, comment 121
- Timestamp:
- 07/14/2016 11:31:36 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35658, comment 121
initial v1 17 17 While the CURIE string flows well, several actions will end up changing to `actionname_post:post_etc` by default without stricter stripping of the second piece. I *think* this is okay, but more thought is needed. 18 18 19 Also, to retrieve individual registered meta for a custom post type, a developer would need to use `get_metadata( 'post:books', .... )` instead of `get_post_meta()` *unless* we add another parameter for subtype to `get_post_meta()`.19 To retrieve individual registered meta for a custom post type **and** have it pass through registered sanitize/auth callbacks, a developer would need to use `get_metadata( 'post:books', .... )` instead of `get_post_meta()` *unless* we add another parameter for subtype to `get_post_meta()`. 20 20 21 21 Revisit the error messages and return values. I may agree with @rmccue in #37345 that `doing_it_wrong()` is better here, though I do like having `WP_Error` to test against. (Can we test a doing it wrong?)