23 Jul
2005
23 Jul
'05
12:45 p.m.
On Saturday 23 July 2005 10:14, Bèr Kessels wrote:
But does, e.g. node_load(array('title'=>'this is a node')) still work too?
Sure it does. The first parameter is mixed -- it can be an array of conditions or a nid.
There is a bit more: you now SHOULD write
node_load($nid);
if you want node_load to cache.
I will write a patch to revert this, so node_load(array('nid' => $nid)) will cache again very soon. Regards NK