[wp-testers] post-format 'standard'?

Dougal Campbell dougal at gunters.org
Tue Jan 4 18:12:21 UTC 2011


So, why doesn't get_post_format() return 'standard' for regular posts?

It returns an empty string, and as a result, we have special-case 
handlers sprinkled throughout the rest of the code to handle converting 
the empty result to the string 'standard'. Is there a reason for this 
that I'm overlooking?

(this is in response to Chip Bennett's query about it on Twitter and on 
my blog)

-- 
Dougal Campbell <dougal at gunters.org>
http://dougal.gunters.org/
http://twitter.com/dougal
http://twitual.com/



More information about the wp-testers mailing list