Fix unused variable reference

This should fix the bug you found here:

http://core.trac.wordpress.org/ticket/21663#comment:89