ElggMetadata(<id>) is completely broken
|Reported by:||cash||Owned by:|
While looking at #3238, I discovered that you cannot do this:
$metadata = new ElggMetadata(862); echo $metadata->name;
You get back a corrupted object when you try to do that. As near as I can tell, this has always been the case with Elgg.
My guess is that no one uses the constructor that way. If anyone ever does, they will be in for a load of trouble.