<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[23843] trunk: Post Format UI.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/23843">23843</a></dd>
<dt>Author</dt> <dd>markjaquith</dd>
<dt>Date</dt> <dd>2013-03-29 03:35:41 +0000 (Fri, 29 Mar 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Post Format UI.
* Icons
* Selection
* Prompt text
* Special fields
* Styling
* Sparkles
This is going to need testing, polish, and love.
see <a href="http://core.trac.wordpress.org/ticket/19570">#19570</a>. props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsswpadminrtlcss">trunk/wp-admin/css/wp-admin-rtl.css</a></li>
<li><a href="#trunkwpadmincsswpadmincss">trunk/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunkwpadmineditformadvancedphp">trunk/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunkwpadminincludespostphp">trunk/wp-admin/includes/post.php</a></li>
<li><a href="#trunkwpadminincludesscreenphp">trunk/wp-admin/includes/screen.php</a></li>
<li><a href="#trunkwpadminjspostformatsjs">trunk/wp-admin/js/post-formats.js</a></li>
<li><a href="#trunkwpadminjspostjs">trunk/wp-admin/js/post.js</a></li>
<li><a href="#trunkwpincludesjsautosavejs">trunk/wp-includes/js/autosave.js</a></li>
<li><a href="#trunkwpincludesmediaphp">trunk/wp-includes/media.php</a></li>
<li><a href="#trunkwpincludespostformatsphp">trunk/wp-includes/post-formats.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpadminimagespostformats32png">trunk/wp-admin/images/post-formats32.png</a></li>
<li><a href="#trunkwpadminincludespostformatsphp">trunk/wp-admin/includes/post-formats.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsswpadminrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin-rtl.css (23842 => 23843)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin-rtl.css        2013-03-28 23:45:19 UTC (rev 23842)
+++ trunk/wp-admin/css/wp-admin-rtl.css        2013-03-29 03:35:41 UTC (rev 23843)
</span><span class="lines">@@ -23,6 +23,7 @@
</span><span class="cx">         11.1 - Custom Fields
</span><span class="cx">         11.2 - Post Revisions
</span><span class="cx">         11.3 - Featured Images
</span><ins>+        11.4 - Post Format Selection
</ins><span class="cx"> 12.0 - Categories
</span><span class="cx"> 13.0 - Tags
</span><span class="cx"> 14.0 - Media Screen
</span><span class="lines">@@ -967,6 +968,33 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /*------------------------------------------------------------------------------
</span><ins>+ 11.4 - Post format selection
+------------------------------------------------------------------------------*/
+
+.post-format-options a {
+        border-left: 1px solid #ebebeb;
+        border-right: none;
+}
+
+.post-format-options a:first-child {
+        -webkit-border-bottom-left-radius: 0;
+        -webkit-border-top-left-radius: 0;
+        border-bottom-left-radius: 0;
+        border-top-left-radius: 0;
+}
+
+.post-format-options a:last-child {
+        -webkit-border-bottom-right-radius: 3px;
+        -webkit-border-top-right-radius: 3px;
+        border-bottom-right-radius: 3px;
+        border-top-right-radius: 3px;
+}
+
+.post-format-tip {
+        float: left;
+}
+
+/*------------------------------------------------------------------------------
</ins><span class="cx"> 12.0 - Categories
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.css (23842 => 23843)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.css        2013-03-28 23:45:19 UTC (rev 23842)
+++ trunk/wp-admin/css/wp-admin.css        2013-03-29 03:35:41 UTC (rev 23843)
</span><span class="lines">@@ -24,6 +24,7 @@
</span><span class="cx">         11.1 - Custom Fields
</span><span class="cx">         11.2 - Post Revisions
</span><span class="cx">         11.3 - Featured Images
</span><ins>+        11.4 - Post Format Selection
</ins><span class="cx"> 12.0 - Categories
</span><span class="cx"> 13.0 - Tags
</span><span class="cx"> 14.0 - Media Screen
</span><span class="lines">@@ -3150,10 +3151,14 @@
</span><span class="cx">         display: none;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.wp-format-gallery .post-formats-fields,
+.wp-format-image .post-formats-fields,
</ins><span class="cx"> .wp-format-link .post-formats-fields,
</span><span class="cx"> .wp-format-quote .post-formats-fields,
</span><span class="cx"> .wp-format-video .post-formats-fields,
</span><span class="cx"> .wp-format-audio .post-formats-fields,
</span><ins>+.wp-format-gallery .field.wp-format-gallery,
+.wp-format-image .field.wp-format-image,
</ins><span class="cx"> .wp-format-chat .field.wp-format-chat,
</span><span class="cx"> .wp-format-link .field.wp-format-link,
</span><span class="cx"> .wp-format-quote .field.wp-format-quote,
</span><span class="lines">@@ -3165,6 +3170,7 @@
</span><span class="cx"> .post-formats-fields .field {
</span><span class="cx">         display: none;
</span><span class="cx">         margin-bottom: 10px;
</span><ins>+        overflow: hidden;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .post-formats-fields input,
</span><span class="lines">@@ -3173,6 +3179,66 @@
</span><span class="cx">         font-size: 1.2em;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.wp-format-media-holder {
+        float: left;
+        overflow: hidden;
+        width: 40%;
+        height: 200px;
+        border: 1px dashed #dfdfdf;
+        background: #f5f5f5 url(../images/media-button-2x.png) no-repeat 50% 25%;
+}
+
+.wp-format-media-holder.empty {
+        height: auto;
+        padding: 55px 0 20px;
+}
+
+.wp-format-media-holder:hover {
+        background-color: #eee;
+}
+
+.wp-format-media-preview {
+        margin-bottom: 20px;
+}
+
+.mejs-audio audio,
+.mejs-video video {
+        display: block;
+}
+
+.wp-format-media-select {
+        display: block;
+        height: 200px;
+        text-align: center;
+}
+
+.wp-format-media-select img {
+        max-width: 100%;
+        max-height: 100%;
+}
+
+.empty .wp-format-media-select {
+        height: 20px;
+}
+
+.empty .wp-format-media-metaedit {
+        height: 20px;
+        display: block;
+        text-align: center;
+}
+
+.edit-format-preview {
+        display: block;
+        margin: 5px 0;
+}
+
+#wp_format_audio, #wp_format_video {
+        float: left;
+        margin-right: 23px;
+        max-width: 50%;
+        min-height: 97px;
+}
+
</ins><span class="cx"> /* Post Screen */
</span><span class="cx"> #post-body #normal-sortables {
</span><span class="cx">         min-height: 50px;
</span><span class="lines">@@ -4066,6 +4132,151 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /*------------------------------------------------------------------------------
</span><ins>+ 11.4 - Post format selection
+------------------------------------------------------------------------------*/
+
+#icon-edit.standard {
+        background: url(../images/post-formats32.png) no-repeat -3px -4px;
+}
+
+#icon-edit.image {
+        background: url(../images/post-formats32.png) no-repeat -43px -4px;
+}
+
+#icon-edit.gallery {
+        background: url(../images/post-formats32.png) no-repeat -83px -4px;
+}
+
+#icon-edit.audio {
+        background: url(../images/post-formats32.png) no-repeat -123px -4px;
+}
+
+#icon-edit.video {
+        background: url(../images/post-formats32.png) no-repeat -163px -4px;
+}
+
+#icon-edit.chat {
+        background: url(../images/post-formats32.png) no-repeat -202px -4px;
+}
+
+#icon-edit.status {
+        background: url(../images/post-formats32.png) no-repeat -242px -4px;
+}
+
+#icon-edit.aside {
+        background: url(../images/post-formats32.png) no-repeat -282px -4px;
+}
+
+#icon-edit.quote {
+        background: url(../images/post-formats32.png) no-repeat -322px -4px;
+}
+
+#icon-edit.link {
+        background: url(../images/post-formats32.png) no-repeat -362px -4px;
+}
+
+.post-format-description {
+        color: #666;
+        display: none;
+        margin: 10px 0;
+}
+
+.post-format-options {
+        height: 29px;
+        background: #f9f9f9;
+        border: 1px solid #dfdfdf;
+        -webkit-border-radius: 3px;
+        border-radius: 3px;
+        margin: 0 0 9px 1px;
+        padding: 0;
+}
+
+.post-format-options a {
+        border-right: 1px solid #ebebeb;
+        display: inline-block;
+        height: 16px;
+        width: 16px;
+        padding: 6px;
+        position: relative;
+        text-decoration: none;
+}
+
+.post-format-options a:first-child {
+        -webkit-border-bottom-left-radius: 3px;
+        -webkit-border-top-left-radius: 3px;
+        border-bottom-left-radius: 3px;
+        border-top-left-radius: 3px;
+}
+
+.post-format-options a.active,
+.post-format-options a:focus,
+.post-format-options a:hover {
+        background: #fff;
+        outline: none;
+        opacity: 1;
+}
+
+.post-format-options a div {
+        height: 16px;
+        width: 16px;
+        opacity: 0.4;
+}
+
+.post-format-options a.active div,
+.post-format-options a:focus div,
+.post-format-options a:hover div {
+        opacity: 1;
+}
+
+.post-format-options .standard {
+        background: url(../images/post-formats.png) no-repeat -8px -8px;
+}
+
+.post-format-options .image {
+        background: url(../images/post-formats.png) no-repeat -40px -8px;
+}
+
+.post-format-options .gallery {
+        background: url(../images/post-formats.png) no-repeat -72px -8px;
+}
+
+.post-format-options .audio {
+        background: url(../images/post-formats.png) no-repeat -104px -8px;
+}
+
+.post-format-options .video {
+        background: url(../images/post-formats.png) no-repeat -136px -8px;
+}
+
+.post-format-options .chat {
+        background: url(../images/post-formats.png) no-repeat -168px -8px;
+}
+
+.post-format-options .status {
+        background: url(../images/post-formats.png) no-repeat -200px -8px;
+}
+
+.post-format-options .aside {
+        background: url(../images/post-formats.png) no-repeat -232px -8px;
+}
+
+.post-format-options .quote {
+        background: url(../images/post-formats.png) no-repeat -264px -8px;
+}
+
+.post-format-options .link {
+        background: url(../images/post-formats.png) no-repeat -296px -8px;
+}
+
+.post-format-tip {
+        color: #999;
+        font-size: 14px;
+        float: right;
+        padding: 6px 10px;
+        text-transform: capitalize;
+}
+
+/*------------------------------------------------------------------------------
</ins><span class="cx"> 12.0 - Categories
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmineditformadvancedphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-form-advanced.php (23842 => 23843)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-form-advanced.php        2013-03-28 23:45:19 UTC (rev 23842)
+++ trunk/wp-admin/edit-form-advanced.php        2013-03-29 03:35:41 UTC (rev 23843)
</span><span class="lines">@@ -130,6 +130,8 @@
</span><span class="cx"> $format_class = '';
</span><span class="cx"> if ( post_type_supports( $post_type, 'post-formats' ) ) {
</span><span class="cx">         wp_enqueue_script( 'post-formats' );
</span><ins>+        wp_enqueue_script( 'wp-mediaelement' );
+        wp_enqueue_style( 'wp-mediaelement' );
</ins><span class="cx">         $post_format = get_post_format();
</span><span class="cx">
</span><span class="cx">         if ( ! $post_format )
</span><span class="lines">@@ -138,6 +140,57 @@
</span><span class="cx">         $format_class = " class='wp-format-{$post_format}'";
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+if ( post_type_supports( $post_type, 'post-formats' ) ) {
+        $all_post_formats = array(
+                'standard' => array (
+                        'description' => __( 'Add a title and use the editor to compose your post.' )
+                ),
+                'image' => array (
+                        'description' => __( 'Select or upload an image to use for your post.' )
+                ),
+                'gallery' => array (
+                        'description' => __( 'Use the Add Media button to select or upload images for your gallery.' )
+                ),
+                'link' => array (
+                        'description' => __( 'Add a link URL below.' )
+                ),
+                'video' => array (
+                        'description' => __( 'Paste a video embed into the box, upload a video file, or choose one from your Media Library.' )
+                ),
+                'audio' => array (
+                        'description' => __( 'Paste an audio embed into the box, upload an audio file, or choose one from your Media Library.' )
+                ),
+                'chat' => array (
+                        'description' => __( 'Copy a chat or Q&A transcript into the editor.' )
+                ),
+                'status' => array (
+                        'description' => __( 'Use the editor to compose a status update. What&#8217;s new?' )
+                ),
+                'quote' => array (
+                        'description' => __( 'Copy a quotation into the box. Also add the source and URL if you have them.' )
+                ),
+                'aside' => array (
+                        'description' => __( 'An aside is a quick thought or side topic. Use the editor to compose one.' )
+                )
+        );
+        $post_format_options = '';
+
+        foreach ( $all_post_formats as $slug => $attr ) {
+                $class = '';
+                if ( $post_format == $slug ) {
+                        $class = 'class="active"';
+                        $active_post_type_slug = $slug;
+                        $active_post_type_label = ucfirst( $slug );
+                        $active_post_format_description = $attr['description'];
+                }
+
+                $post_format_options .= '<a ' . $class . ' href="?format=' . $slug . '" data-description="' . $attr['description'] . '" data-wp-format="' . $slug . '" title="' . ucfirst( sprintf( __( '%s Post' ), $slug ) ) . '"><div class="' . $slug . '"></div></a>';
+        }
+}
+
+$current_post_format = array( 'currentPostFormat' => esc_html( $active_post_type_slug ) );
+wp_localize_script( 'post', 'postFormats', $current_post_format );
+
</ins><span class="cx"> if ( post_type_supports($post_type, 'page-attributes') )
</span><span class="cx">         add_meta_box('pageparentdiv', 'page' == $post_type ? __('Page Attributes') : __('Attributes'), 'page_attributes_meta_box', null, 'side', 'core');
</span><span class="cx">
</span><span class="lines">@@ -337,29 +390,16 @@
</span><span class="cx"> ?>
</span><span class="cx">
</span><span class="cx"> <div id="poststuff">
</span><del>-
-<?php
-if ( post_type_supports( $post_type, 'post-formats' ) ) {
-        $all_post_formats = get_post_format_strings();
-
-        echo '<h2 class="nav-tab-wrapper post-format-select">';
-
-        foreach ( $all_post_formats as $slug => $label ) {
-                if ( $post_format == $slug )
-                        $class = 'nav-tab nav-tab-active';
-                else
-                        $class = 'nav-tab';
-
-                echo '<a class="' . $class . '" href="?format=' . $slug . '" data-wp-format="' . $slug . '">' . $label . '</a>';
-        }
-
-        echo '</h2>';
-}
-?>
-
</del><span class="cx"> <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
</span><span class="cx"> <div id="post-body-content"<?php echo $format_class; ?>>
</span><span class="cx">
</span><ins>+<?php if ( ! empty( $post_format_options ) ) : ?>
+<div class="post-format-options">
+        <span class="post-format-tip">Standard Post</span>
+        <?php echo $post_format_options; ?>
+</div>
+<?php endif; ?>
+
</ins><span class="cx"> <?php if ( post_type_supports($post_type, 'title') ) { ?>
</span><span class="cx"> <div id="titlediv">
</span><span class="cx"> <div id="titlewrap">
</span><span class="lines">@@ -373,10 +413,12 @@
</span><span class="cx"> if ( !empty($shortlink) )
</span><span class="cx"> $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-small" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';
</span><span class="cx">
</span><del>-if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?>
-        <div id="edit-slug-box" class="hide-if-no-js">
</del><ins>+if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) {
+        $has_sample_permalink = $sample_permalink_html && 'auto-draft' != $post->post_status;
+?>
+        <div id="edit-slug-box" class="hide-if-no-js<?php if ( ! $has_sample_permalink ) echo ' hidden' ?>">
</ins><span class="cx">         <?php
</span><del>-                if ( $sample_permalink_html && 'auto-draft' != $post->post_status )
</del><ins>+                if ( $has_sample_permalink )
</ins><span class="cx">                         echo $sample_permalink_html;
</span><span class="cx">         ?>
</span><span class="cx">         </div>
</span><span class="lines">@@ -398,37 +440,9 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // post format fields
</span><del>-if ( post_type_supports( $post_type, 'post-formats' ) ) {
-        $format_meta = get_post_format_meta( $post_ID );
-?>
-<div class="post-formats-fields edit-form-section">
</del><ins>+if ( post_type_supports( $post_type, 'post-formats' ) )
+        require_once( './includes/post-formats.php' );
</ins><span class="cx">
</span><del>-<input type="hidden" name="post_format" id="post_format" value="<?php echo esc_attr( $post_format ); ?>" />
-
-<div class="field wp-format-quote">
-        <label for="_wp_format_quote" class="screen-reader-text"><?php _e( 'Quote' ); ?>:</label>
-        <textarea name="_wp_format_quote" placeholder="<?php esc_attr_e( 'Quote' ); ?>" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea>
-</div>
-
-<div class="field wp-format-quote">
-        <label for="_wp_format_quote_source" class="screen-reader-text"><?php _e( 'Quote source' ); ?>:</label>
-        <input type="text" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" placeholder="<?php esc_attr_e( 'Quote source' ); ?>" class="widefat" />
-</div>
-
-<div class="field wp-format-link wp-format-quote">
-        <label for="_wp_format_url" class="screen-reader-text"><?php _e( 'Link URL' ); ?>:</label>
-        <input type="text" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" placeholder="<?php esc_attr_e( 'Link URL' ); ?>" class="widefat" />
-</div>
-
-<div class="field wp-format-audio wp-format-video">
-        <label for="_wp_format_media" class="screen-reader-text"><?php _e( 'Embed code or URL' ); ?>:</label>
-        <textarea name="_wp_format_media" placeholder="<?php esc_attr_e( 'Embed code or URL' ); ?>" class="widefat"><?php echo esc_textarea( $format_meta['media'] ); ?></textarea>
-</div>
-
-</div>
-<?php
-}
-
</del><span class="cx"> if ( post_type_supports($post_type, 'editor') ) {
</span><span class="cx"> ?>
</span><span class="cx"> <div id="postdivrich" class="postarea edit-form-section">
</span></span></pre></div>
<a id="trunkwpadminimagespostformats32png"></a>
<div class="addfile"><h4>Added: trunk/wp-admin/images/post-formats32.png (0 => 23843)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/images/post-formats32.png         (rev 0)
+++ trunk/wp-admin/images/post-formats32.png        2013-03-29 03:35:41 UTC (rev 23843)
</span><span class="lines">@@ -0,0 +1,516 @@
</span><ins>+\x89PNG
+
+
+IHDR \x90 ( \xD0Q\xAC` sBIT|d\x88         pHYs