<!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>[24391] trunk/wp-content/themes/twentythirteen: Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`.</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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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/24391">24391</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-05-31 17:45:00 +0000 (Fri, 31 May 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`. Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes <a href="http://core.trac.wordpress.org/ticket/24469">#24469</a> and <a href="http://core.trac.wordpress.org/ticket/24407">#24407</a>. See <a href="http://core.trac.wordpress.org/ticket/24452">#24452</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentythirteencontentaudiophp">trunk/wp-content/themes/twentythirteen/content-audio.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencontentchatphp">trunk/wp-content/themes/twentythirteen/content-chat.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencontentgalleryphp">trunk/wp-content/themes/twentythirteen/content-gallery.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencontentimagephp">trunk/wp-content/themes/twentythirteen/content-image.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencontentvideophp">trunk/wp-content/themes/twentythirteen/content-video.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencsseditorstylecss">trunk/wp-content/themes/twentythirteen/css/editor-style.css</a></li>
<li><a href="#trunkwpcontentthemestwentythirteencssiecss">trunk/wp-content/themes/twentythirteen/css/ie.css</a></li>
<li><a href="#trunkwpcontentthemestwentythirteenfunctionsphp">trunk/wp-content/themes/twentythirteen/functions.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteenjsfunctionsjs">trunk/wp-content/themes/twentythirteen/js/functions.js</a></li>
<li><a href="#trunkwpcontentthemestwentythirteenrtlcss">trunk/wp-content/themes/twentythirteen/rtl.css</a></li>
<li><a href="#trunkwpcontentthemestwentythirteenstylecss">trunk/wp-content/themes/twentythirteen/style.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentythirteencontentaudiophp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/content-audio.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/content-audio.php 2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/content-audio.php    2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -19,15 +19,11 @@
</span><span class="cx">          <?php endif; // is_single() ?>
</span><span class="cx">  </header><!-- .entry-header -->
</span><span class="cx"> 
</span><del>-       <div class="entry-media">
</del><ins>+        <div class="entry-content">
</ins><span class="cx">           <div class="audio-content">
</span><del>-                       <?php the_post_format_audio(); ?>
</del><ins>+                        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
+                       <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</ins><span class="cx">           </div><!-- .audio-content -->
</span><del>-       </div><!-- .entry-media -->
-
-       <div class="entry-content">
-               <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
-               <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</del><span class="cx">   </div><!-- .entry-content -->
</span><span class="cx"> 
</span><span class="cx">  <footer class="entry-meta">
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencontentchatphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/content-chat.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/content-chat.php  2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/content-chat.php     2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">  </header><!-- .entry-header -->
</span><span class="cx"> 
</span><span class="cx">  <div class="entry-content">
</span><del>-               <?php the_post_format_chat(); ?>
</del><ins>+                <?php the_content(); ?>
</ins><span class="cx">           <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</span><span class="cx">  </div><!-- .entry-content -->
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencontentgalleryphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/content-gallery.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/content-gallery.php       2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/content-gallery.php  2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx">                  <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
</span><span class="cx">                  <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</span><span class="cx">          <?php else : ?>
</span><del>-                       <?php the_post_format_gallery(); ?>
</del><ins>+                        <?php echo get_post_gallery(); ?>
</ins><span class="cx">           <?php endif; // is_single() ?>
</span><span class="cx">  </div><!-- .entry-content -->
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencontentimagephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/content-image.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/content-image.php 2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/content-image.php    2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -9,10 +9,6 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <div class="entry-media">
-               <?php the_post_format_image( 'twentythirteen-image-post' ); ?>
-       </div><!-- .entry-media -->
-
</del><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( is_single() ) : ?>
</span><span class="cx">          <h1 class="entry-title"><?php the_title(); ?></h1>
</span><span class="lines">@@ -24,7 +20,7 @@
</span><span class="cx">  </header><!-- .entry-header -->
</span><span class="cx"> 
</span><span class="cx">  <div class="entry-content">
</span><del>-               <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
</del><ins>+                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
</ins><span class="cx">           <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</span><span class="cx">  </div><!-- .entry-content -->
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencontentvideophp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/content-video.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/content-video.php 2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/content-video.php    2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -9,10 +9,6 @@
</span><span class="cx"> ?>
</span><span class="cx"> 
</span><span class="cx"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del>-       <div class="entry-media">
-               <?php the_post_format_video(); ?>
-       </div><!-- .entry-media -->
-
</del><span class="cx">   <header class="entry-header">
</span><span class="cx">          <?php if ( is_single() ) : ?>
</span><span class="cx">          <h1 class="entry-title"><?php the_title(); ?></h1>
</span><span class="lines">@@ -24,7 +20,7 @@
</span><span class="cx">  </header><!-- .entry-header -->
</span><span class="cx"> 
</span><span class="cx">  <div class="entry-content">
</span><del>-               <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
</del><ins>+                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
</ins><span class="cx">           <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</span><span class="cx">  </div><!-- .entry-content -->
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencsseditorstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/css/editor-style.css (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/css/editor-style.css      2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/css/editor-style.css 2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -14,8 +14,7 @@
</span><span class="cx">  * 5.0 - Alignment
</span><span class="cx">  * 6.0 - Tables
</span><span class="cx">  * 7.0 - Images
</span><del>- * 8.0 - Post Formats
- * 9.0 - RTL
</del><ins>+ * 8.0 - RTL
</ins><span class="cx">  * ----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="lines">@@ -365,154 +364,9 @@
</span><span class="cx">  padding: 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-/**
- * 8.0 Post Formats
- * ----------------------------------------------------------------------------
- */
</del><span class="cx"> 
</span><del>-/* Aside */
-.post-format-aside {
-       background-color: #f7f5e7;
-}
-
-.post-format-aside blockquote {
-       font-size: 100%;
-       font-weight: normal;
-}
-
-.post-format-aside cite {
-       font-size: 100%;
-       text-transform: none;
-}
-
-.post-format-aside cite:before {
-       content: "\2014";
-       margin-right: 5px;
-}
-
-/* Audio */
-.post-format-audio {
-       background-color: #db572f;
-}
-
-.post-format-audio a {
-       color: #fbfaf3;
-}
-
-/* Chat */
-.post-format-chat {
-       background-color: #eadaa6;
-}
-
-.post-format-chat a {
-       color: #722d19;
-}
-
-/* Gallery */
-.post-format-gallery {
-       background-color: #fbca3c;
-}
-
-.post-format-gallery a {
-       color: #722d19;
-}
-
-/* Image: same as Standard/Defaults */
-
-/* Link */
-.post-format-link {
-       background-color: #f7f5e7;
-}
-
-/* Quote */
-.post-format-quote {
-       background-color: #210d10;
-       color: #f7f5e7;
-}
-
-.post-format-quote blockquote {
-       font-size: 28px;
-       font-style: italic;
-       font-weight: 300;
-       margin: 0;
-       padding-left: 75px;
-       position: relative;
-}
-
-.post-format-quote blockquote:before {
-       content: '\201C';
-       font-size: 140px;
-       font-weight: 400;
-       line-height: .8;
-       padding-right: 25px;
-       position: absolute;
-       left: -15px;
-       top: -3px;
-}
-
-.post-format-quote a {
-       color: #e63f2a;
-}
-
-.post-format-quote .quote-caption,
-.post-format-quote blockquote small,
-.post-format-quote blockquote cite {
-       display: block;
-       font-size: 16px;
-}
-
-/* Status */
-.post-format-status {
-       background-color: #722d19;
-       color: #f7f5e7;
-       font-style: italic;
-       font-weight: 300;
-       padding: 0;
-       padding-left: 35px;
-}
-
-.post-format-status.mceContentBody {
-       font-size: 24px;
-}
-
-.post-format-status:before {
-       background-size: 4px 4px;
-       background: url(../images/dotted-line.png) repeat-y left bottom;
-       content: "";
-       display: block;
-       height: 100%;
-       position: absolute;
-       left: 15px;
-       top: 0;
-       width: 1px;
-}
-
-.post-format-status p:first-child:before {
-       background-color: rgba(0, 0, 0, 0.65);
-       content: "";
-       height: 3px;
-       width: 13px;
-       margin-top: 13px;
-       position: absolute;
-       left: 9px;
-}
-
-.post-format-status a {
-       color: #eadaa6;
-}
-
-/* Video */
-.post-format-video {
-       background-color: #db572f;
-}
-
-.post-format-video a {
-       color: #fbfaf3;
-}
-
-
</del><span class="cx"> /**
</span><del>- * 9.0 RTL
</del><ins>+ * 8.0 RTL
</ins><span class="cx">  * ----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteencssiecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/css/ie.css (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/css/ie.css        2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/css/ie.css   2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> .menu-toggle:after:hover,
</span><span class="cx"> .date a:before:hover,
</span><span class="cx"> .entry-meta .author a:before:hover,
</span><del>-.format-audio .entry-media:before:hover,
</del><ins>+.format-audio .entry-content:before:hover,
</ins><span class="cx"> .comments-link a:before:hover,
</span><span class="cx"> .tags-links a:first-child:before:hover,
</span><span class="cx"> .categories-links a:first-child:before:hover,
</span><span class="lines">@@ -280,12 +280,8 @@
</span><span class="cx">  left: auto;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.ie7 .format-quote .quote {
-       padding: 0;
-}
-
</del><span class="cx"> /* RTL for Internet Explorer 7 & 8 */
</span><del>-.rtl .format-audio .entry-media:before,
</del><ins>+.rtl .format-audio .entry-content:before,
</ins><span class="cx"> .rtl .comment-reply-link:before,
</span><span class="cx"> .rtl .comment-reply-login:before {
</span><span class="cx">  -ms-filter: "FlipH";
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/functions.php (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/functions.php     2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/functions.php        2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -95,9 +95,6 @@
</span><span class="cx">  add_theme_support( 'post-thumbnails' );
</span><span class="cx">  set_post_thumbnail_size( 604, 270, true );
</span><span class="cx"> 
</span><del>-       // Register custom image size for image post formats.
-       add_image_size( 'twentythirteen-image-post', 724, 1288 );
-
</del><span class="cx">   // This theme uses its own gallery styles.
</span><span class="cx">  add_filter( 'use_default_gallery_style', '__return_false' );
</span><span class="cx"> }
</span><span class="lines">@@ -436,7 +433,8 @@
</span><span class="cx">  * @return string The Link format URL.
</span><span class="cx">  */
</span><span class="cx"> function twentythirteen_get_link_url() {
</span><del>-       $has_url = get_the_post_format_url();
</del><ins>+        $content = get_the_content();
+       $has_url = get_content_url( $content );
</ins><span class="cx"> 
</span><span class="cx">  return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
</span><span class="cx"> }
</span><span class="lines">@@ -492,34 +490,16 @@
</span><span class="cx">  * @return void
</span><span class="cx">  */
</span><span class="cx"> function twentythirteen_content_width() {
</span><del>-       if ( has_post_format( 'video' ) || is_attachment() ) {
-               global $content_width;
</del><ins>+        global $content_width;
+
+       if ( is_attachment() )
</ins><span class="cx">           $content_width = 724;
</span><del>-       }
</del><ins>+        elseif ( has_post_format( 'audio' ) )
+               $content_width = 484;
</ins><span class="cx"> }
</span><span class="cx"> add_action( 'template_redirect', 'twentythirteen_content_width' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Adjusts content_width value for video shortcodes in video post formats.
- *
- * @since Twenty Thirteen 1.0
- *
- * @param array $atts The attribute list.
- * @return array The filtered attribute list.
- */
-function twentythirteen_video_width( $atts ) {
-       if ( ! is_admin() && has_post_format( 'video' ) ) {
-               $new_width = 724;
-               $atts['height'] = round( ( $atts['height'] * $new_width ) / $atts['width'] );
-               $atts['width'] = $new_width;
-       }
-
-       return $atts;
-}
-add_action( 'embed_defaults',       'twentythirteen_video_width' );
-add_action( 'shortcode_atts_video', 'twentythirteen_video_width' );
-
-/**
</del><span class="cx">  * Switches default core markup for search form to output valid HTML5.
</span><span class="cx">  *
</span><span class="cx">  * @param string $format Expected markup format, default is `xhtml`
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteenjsfunctionsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/js/functions.js (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/js/functions.js   2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/js/functions.js      2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx">  var html               = $( 'html' ),
</span><span class="cx">      body               = $( 'body' ),
</span><span class="cx">      _window            = $( window ),
</span><del>-           captions           = $( '.quote-caption' ),
</del><span class="cx">       adjustFooter,
</span><span class="cx"> 
</span><span class="cx">  /**
</span><span class="lines">@@ -71,12 +70,6 @@
</span><span class="cx">          }
</span><span class="cx">  } );
</span><span class="cx"> 
</span><del>-       /** Better styles for Quote post formats with a linked source.
-        *
-        */
-       if ( captions )
-               captions.has( 'a' ).addClass( 'linked' );
-
</del><span class="cx">   /**
</span><span class="cx">   * Arranges footer widgets vertically.
</span><span class="cx">   */
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteenrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/rtl.css (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/rtl.css   2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/rtl.css      2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -151,11 +151,6 @@
</span><span class="cx">  * ----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-.sidebar .entry-media {
-       padding-left: 316px;
-       padding-right: 0;
-}
-
</del><span class="cx"> .sidebar .entry-header,
</span><span class="cx"> .sidebar .entry-content,
</span><span class="cx"> .sidebar .entry-summary,
</span><span class="lines">@@ -245,7 +240,6 @@
</span><span class="cx">  * ----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-.entry-media a,
</del><span class="cx"> .entry-content a {
</span><span class="cx">  display: inline;
</span><span class="cx"> }
</span><span class="lines">@@ -260,7 +254,7 @@
</span><span class="cx">  margin-left: 5px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-audio .entry-media:before {
</del><ins>+.format-audio .entry-content:before {
</ins><span class="cx">   float: right;
</span><span class="cx">  -webkit-transform: scaleX(-1);
</span><span class="cx">  -moz-transform:    scaleX(-1);
</span><span class="lines">@@ -269,12 +263,6 @@
</span><span class="cx">  transform:         scaleX(-1);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-audio .entry-media,
-.sidebar .format-audio .entry-media {
-       padding-left: 374px;
-       padding-right: 60px;
-}
-
</del><span class="cx"> .format-audio .audio-content {
</span><span class="cx">  background-position: right top;
</span><span class="cx">  float: left;
</span><span class="lines">@@ -343,12 +331,12 @@
</span><span class="cx">  right: 64px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-quote .quote {
</del><ins>+.format-quote blockquote {
</ins><span class="cx">   padding-left: 0;
</span><span class="cx">  padding-right: 75px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-quote .quote:before {
</del><ins>+.format-quote blockquote:before {
</ins><span class="cx">   content: '\201D';
</span><span class="cx">  padding-left: 25px;
</span><span class="cx">  padding-right: 0;
</span><span class="lines">@@ -608,13 +596,6 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> @media (max-width: 1069px) {
</span><del>-       .sidebar .entry-media,
-       .format-audio .entry-media,
-       .sidebar .format-audio .entry-media {
-               padding-left: 376px;
-               padding-right: 60px;
-       }
-
</del><span class="cx">   ul.nav-menu,
</span><span class="cx">  div.nav-menu > ul {
</span><span class="cx">          margin-left: auto;
</span><span class="lines">@@ -656,13 +637,6 @@
</span><span class="cx">          padding-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .sidebar .entry-media,
-       .format-audio .entry-media,
-       .sidebar .format-audio .entry-media {
-               padding-left: 0;
-               padding-right: 0;
-       }
-
</del><span class="cx">   .site-main .widget-area {
</span><span class="cx">          float: none;
</span><span class="cx">          margin-left: auto;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/style.css (24390 => 24391)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/style.css 2013-05-31 05:23:48 UTC (rev 24390)
+++ trunk/wp-content/themes/twentythirteen/style.css    2013-05-31 17:45:00 UTC (rev 24391)
</span><span class="lines">@@ -257,8 +257,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> blockquote cite,
</span><del>-blockquote small,
-.quote-caption {
</del><ins>+blockquote small {
</ins><span class="cx">   font-size: 14px;
</span><span class="cx">  font-weight: normal;
</span><span class="cx">  text-transform: uppercase;
</span><span class="lines">@@ -480,7 +479,7 @@
</span><span class="cx"> .featured-post:before,
</span><span class="cx"> .date a:before,
</span><span class="cx"> .entry-meta .author a:before,
</span><del>-.format-audio .entry-media:before,
</del><ins>+.format-audio .entry-content:before,
</ins><span class="cx"> .comments-link a:before,
</span><span class="cx"> .tags-links a:first-child:before,
</span><span class="cx"> .categories-links a:first-child:before,
</span><span class="lines">@@ -502,7 +501,6 @@
</span><span class="cx"> 
</span><span class="cx"> /* Clearing floats */
</span><span class="cx"> .clear:after,
</span><del>-.entry-media:after,
</del><span class="cx"> .attachment .entry-header:after,
</span><span class="cx"> .site-footer .widget-area:after,
</span><span class="cx"> .entry-content:after,
</span><span class="lines">@@ -516,8 +514,6 @@
</span><span class="cx"> 
</span><span class="cx"> .clear:before,
</span><span class="cx"> .clear:after,
</span><del>-.entry-media:before,
-.entry-media:after,
</del><span class="cx"> .attachment .entry-header:before,
</span><span class="cx"> .attachment .entry-header:after,
</span><span class="cx"> .site-footer .widget-area:before,
</span><span class="lines">@@ -676,7 +672,6 @@
</span><span class="cx">  height: auto;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.entry-media img,
</del><span class="cx"> img.size-full,
</span><span class="cx"> img.size-large,
</span><span class="cx"> img.wp-post-image {
</span><span class="lines">@@ -1126,8 +1121,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .entry-content blockquote cite,
</span><del>-.entry-content blockquote small,
-.entry-content .quote-caption {
</del><ins>+.entry-content blockquote small {
</ins><span class="cx">   font-size: 16px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1365,23 +1359,6 @@
</span><span class="cx">  * ----------------------------------------------------------------------------
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-.entry-media {
-       margin: 0 auto 24px;
-       max-width: 724px;
-       width: 100%;
-}
-
-.sidebar .entry-media {
-       max-width: 1040px;
-       padding: 0 316px 0 0;
-}
-
-.entry-media .wp-caption,
-.entry-media .wp-caption-text,
-.entry-media [class*="align"] {
-       margin: 0 auto;
-}
-
</del><span class="cx"> /* Aside */
</span><span class="cx"> .format-aside {
</span><span class="cx">  background-color: #f7f5e7;
</span><span class="lines">@@ -1424,16 +1401,7 @@
</span><span class="cx">  font-weight: bold;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-audio .entry-media {
-       max-width: 604px;
-}
-
-.sidebar .format-audio .entry-media {
-       max-width: 1040px;
-       padding: 0 374px 0 60px;
-}
-
-.format-audio .entry-media:before {
</del><ins>+.format-audio .entry-content:before {
</ins><span class="cx">   content: "\f109";
</span><span class="cx">  float: left;
</span><span class="cx">  font-size: 64px;
</span><span class="lines">@@ -1682,21 +1650,20 @@
</span><span class="cx">  text-decoration: none;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-quote .quote-caption,
</del><span class="cx"> .format-quote blockquote small,
</span><span class="cx"> .format-quote blockquote cite {
</span><span class="cx">  display: block;
</span><span class="cx">  font-size: 16px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-quote .quote {
</del><ins>+.format-quote blockquote {
</ins><span class="cx">   font-style: italic;
</span><span class="cx">  font-weight: 300;
</span><span class="cx">  padding-left: 75px;
</span><span class="cx">  position: relative;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.format-quote .quote:before {
</del><ins>+.format-quote blockquote:before {
</ins><span class="cx">   content: '\201C';
</span><span class="cx">  font-size: 140px;
</span><span class="cx">  font-weight: 400;
</span><span class="lines">@@ -2711,10 +2678,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media (max-width: 1069px) {
</span><del>-       .sidebar .entry-media {
-               padding: 0 376px 0 60px;
-       }
-
</del><span class="cx">   .sidebar img.alignleft,
</span><span class="cx">  .sidebar .wp-caption.alignleft {
</span><span class="cx">          margin-left: 0;
</span><span class="lines">@@ -2781,9 +2744,7 @@
</span><span class="cx">  .sidebar #respond #commentform,
</span><span class="cx">  .sidebar .featured-gallery,
</span><span class="cx">  .sidebar .post-navigation .nav-links,
</span><del>-       .author.sidebar .author-info,
-       .format-audio .entry-media,
-       .sidebar .format-audio .entry-media {
</del><ins>+        .author.sidebar .author-info {
</ins><span class="cx">           max-width: 604px;
</span><span class="cx">          padding-left: 0;
</span><span class="cx">          padding-right: 0;
</span><span class="lines">@@ -2801,11 +2762,6 @@
</span><span class="cx">          max-width: 604px;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .sidebar .entry-media {
-               max-width: 724px;
-       }
-
-       .sidebar .entry-media,
</del><span class="cx">   .sidebar .archive-meta,
</span><span class="cx">  .attachment .entry-header,
</span><span class="cx">  .search.sidebar .page-content,
</span><span class="lines">@@ -2886,11 +2842,6 @@
</span><span class="cx">          margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .entry-media,
-       .sidebar .entry-media {
-               max-width: 604px;
-       }
-
</del><span class="cx">   .attachment .image-navigation,
</span><span class="cx">  .attachment .entry-attachment .attachment {
</span><span class="cx">          max-width: 604px;
</span><span class="lines">@@ -2908,7 +2859,6 @@
</span><span class="cx">          font-size: 30px;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       #content .entry-media,
</del><span class="cx">   #content .entry-header,
</span><span class="cx">  #content .entry-content,
</span><span class="cx">  #content .entry-summary,
</span><span class="lines">@@ -3024,8 +2974,7 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx">  .format-quote blockquote small,
</span><del>-       .format-quote blockquote cite,
-       .format-quote .quote-caption {
</del><ins>+        .format-quote blockquote cite {
</ins><span class="cx">           font-size: 13px;
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="lines">@@ -3066,16 +3015,16 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx">  /* Audio */
</span><ins>+       .format-audio .entry-content:before {
+               display: none;
+       }
+
</ins><span class="cx">   .format-audio .audio-content {
</span><span class="cx">          background-image: none;
</span><span class="cx">          float: none;
</span><span class="cx">          padding-left: 0;
</span><span class="cx">          width: auto;
</span><span class="cx">  }
</span><del>-
-       .format-audio .entry-media:before {
-               display: none;
-       }
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /* Mobile devices */
</span></span></pre>
</div>
</div>

</body>
</html>