Fix for WP bug #24354

http://core.trac.wordpress.org/ticket/24354