id summary reporter owner description type status priority milestone component version severity resolution keywords cc 5083 Activity Meta doesn't recognize 0 as a valid value saurabhshukla saurabhshukla "A meta key not existing and a meta key with a value of 0 are two different things and this distinction can be useful at times. I attempted storing a privacy meta as 0 and I could never check for it. I wanted to distinguish between activities that have a deliberate privacy set to 0 and activities that never had any privacy set. Can't do that anyway I tried, so I had to set it as -1 which makes me do extra bending around. This is in contrast to how WordPress post meta is stored and retrieved. In fact I was mapping posts to activities and also mapping the corresponding metas. The empty() check in the meta functions is the culprit. Are we open to replace this approach with something else?" defect (bug) closed low 1.9 Core minor fixed needs-patch