if($this->content !== NULL) {
return $this->content;
}
What, exactly, does it do? It looks like a caching thing but that leads me to wonder what the conditions for content being null (and, hence, the rest of the function being run).
The parent class has a method called refresh_content() which sets the content to null and calls get_content() but I don't see that this gets called from anyway... which seems strange.
Cheers