-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use unique keys for stream meta #1038
base: develop
Are you sure you want to change the base?
Conversation
This looks great, thank you so much for the contribution @nprasath002! On a sidenote -- are you using the bundled development environment to get Xdebug working with the plugin or you have custom setup for that? |
https://github.com/Chassis/Chassis comes with xdebug |
@nprasath002 what if there's a meta key name conflict across object types.. is that possible? Here's my live db meta key breakdown for reference, sorted by COUNT DESC. It's true that How is
|
@eugenekireev seems to have worked on it way back in the day in 452d6e1 I wonder if he remembers anything about the why's? |
Now that #1080 is merged, I'll take care of this next. |
I've looked into this. It seems Stream meta keys don't don't really lend themselves for de-duplication... I think the meta key will simply have to be array notation string, like If no objections @kasparsd @kopepasah I'll file a PR towards this. |
PR filed. I don't see how generic I left original Also @kasparsd |
Right now stream use the same key if meta has an array. See the screenshot below. Stream uses
user_meta
as key for all the data in arrayuser_meta
instead of array keysChecklist
contributing.md
).Release Changelog
Release Checklist
master
branch.readme.txt
.stream.php
.Stable tag
inreadme.txt
.classes/class-plugin.php
.Change
[ ]
to[x]
to mark the items as done.