mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Post Format UI.
* Icons * Selection * Prompt text * Special fields * Styling * Sparkles This is going to need testing, polish, and love. see #19570. props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle. git-svn-id: https://develop.svn.wordpress.org/trunk@23843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -200,7 +200,7 @@ function edit_post( $post_data = null ) {
|
||||
update_post_meta( $post_ID, '_wp_format_url', wp_slash( esc_url_raw( wp_unslash( $post_data['_wp_format_url'] ) ) ) );
|
||||
}
|
||||
|
||||
$format_keys = array( 'quote', 'quote_source', 'image', 'gallery', 'media' );
|
||||
$format_keys = array( 'quote', 'quote_source', 'image', 'gallery', 'image', 'gallery', 'audio', 'video' );
|
||||
|
||||
foreach ( $format_keys as $key ) {
|
||||
if ( isset( $post_data[ '_wp_format_' . $key ] ) )
|
||||
|
||||
Reference in New Issue
Block a user