Prevent a notice for post types that don't support post formats. props ethitter. fixes #23534.


git-svn-id: http://core.svn.wordpress.org/trunk@23456 1a063a9b-81f0-0310-95a4-ce76da25c4cd