'revisions_count' =>
$revisions['count'
],
'revision_id' =>
$revisions['latest_id'
],
'__back_compat_meta_box' => true,
);
add_meta_box( 'revisionsdiv',
__( 'Revisions'
), 'post_revisions_meta_box', null, 'normal', 'core', array
( '__back_compat_meta_box' => true
) );
} } if ( 'attachment' ===
$post_type ) { wp_enqueue_script( 'image-edit'
);
wp_enqueue_style( 'imgareaselect'
);
add_meta_box( 'submitdiv',
__( 'Save'
), 'attachment_submit_meta_box', null, 'side', 'core', array
( '__back_compat_meta_box' => true
) );
add_action( 'edit_form_after_title', 'edit_form_image_editor'
);
if ( wp_attachment_is( 'audio',
$post ) ) { add_meta_box( 'attachment-id3',
__( 'Metadata'
), 'attachment_id3_data_meta_box', null, 'normal', 'core', array
( '__back_compat_meta_box' => true
) );
} } else { add_meta_box( 'submitdiv',
__( 'Publish'
), 'post_submit_meta_box', null, 'side', 'core',
$publish_callback_args );
} if ( current_theme_supports( 'post-formats'
) &&
post_type_supports( $post_type, 'post-formats'
) ) {