Fixing a notice

Looks like the function had just been dropped in right out of the codex sample, so it was receiving optional arguments it didn't need to be receiving.