Another s/default/standard/. see #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7dbb545d9
commit
f842407e05
@ -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
Block a user