Opened 9 years ago
Last modified 5 years ago
#37310 new enhancement
To get Term Metadata in $term->meta_key
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Like postmeta and usermeta, I'd like to get Term Metadata as a property of a term object.
Would you confirm the attached patch file?
Thank you.
Attachments (1)
Change History (4)
#2
@
5 years ago
- Keywords needs-patch added
- Milestone set to Future Release
@minkapi Thanks for the patch! Sorry that this one fell through the cracks.
The patch needs to be refreshed against trunk
. Are you able to refresh? I haven't dug in too deep yet, but it feels like there may be other changes required.
This seems OK to add, but I'd love to get some more thoughts on this change. @boonebgorges do you have any thoughts?
#3
@
5 years ago
Looks like #40047 is a duplicate. I left my thoughts about this on that ticket: https://core.trac.wordpress.org/ticket/40047#comment:3 Short version is that I don't like the "magic" aspect of this feature. But if others feel strongly that it should be carried over from WP_Post
, it's probably fine.
Sounds good to me, this makes sense for feature parity with Posts / Users since they have the same. Terms now have meta, so it should be good to continue that standard.