Another s/default/standard/. see #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1df7f1be64
commit
9edf7af6b4
|
@ -334,7 +334,7 @@ function get_post_class( $class = '', $post_id = null ) {
|
||||||
if ( $post_format && !is_wp_error($post_format) )
|
if ( $post_format && !is_wp_error($post_format) )
|
||||||
$classes[] = 'format-' . sanitize_html_class( $post_format );
|
$classes[] = 'format-' . sanitize_html_class( $post_format );
|
||||||
else
|
else
|
||||||
$classes[] = 'format-default';
|
$classes[] = 'format-standard';
|
||||||
|
|
||||||
// post requires password
|
// post requires password
|
||||||
if ( post_password_required($post->ID) )
|
if ( post_password_required($post->ID) )
|
||||||
|
@ -435,7 +435,7 @@ function get_body_class( $class = '' ) {
|
||||||
if ( $post_format && !is_wp_error($post_format) )
|
if ( $post_format && !is_wp_error($post_format) )
|
||||||
$classes[] = 'single-format-' . sanitize_html_class( $post_format );
|
$classes[] = 'single-format-' . sanitize_html_class( $post_format );
|
||||||
else
|
else
|
||||||
$classes[] = 'single-format-default';
|
$classes[] = 'single-format-standard';
|
||||||
|
|
||||||
if ( is_attachment() ) {
|
if ( is_attachment() ) {
|
||||||
$mime_type = get_post_mime_type($post_id);
|
$mime_type = get_post_mime_type($post_id);
|
||||||
|
|
Loading…
Reference in New Issue