The function should fail more gracefully when called in the context where `get_query_var( 'post_type' )` doesn't represent an actual post type. Props technopolitica, dlh. Fixes #38374. Built from https://develop.svn.wordpress.org/trunk@40031 git-svn-id: http://core.svn.wordpress.org/trunk@39968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
19 KiB
19 KiB