<!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>[1006] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes: WP.org Themes: Make theme previews work.</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" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/1006">1006</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/1006","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>obenland</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2014-11-25 20:49:42 +0000 (Tue, 25 Nov 2014)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>WP.org Themes: Make theme previews work.

* Consolidates data handling for index and single.
* Makes Previews play nicely with Modals.
* Streamlines some UI aspects between Previews and Modals.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemescontentsinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemescontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesjsthemejs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesstylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemepreviewphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemesinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemessinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesthemejs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemescontentsinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php       2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php 2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,27 +1,23 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-include_once ABSPATH . '/wp-admin/includes/theme.php';
-$theme = themes_api( 'theme_information', array( 'slug' => get_post()->post_name ) );
-?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php global $theme; ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="theme-backdrop"></div>
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="theme-wrap">
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-header">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
</ins><span class="cx" style="display: block; padding: 0 10px">                 <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
</span><span class="cx" style="display: block; padding: 0 10px">                <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
</del><span class="cx" style="display: block; padding: 0 10px">         </div>
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-about">
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="theme-screenshots">
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="screenshot"><?php the_post_thumbnail(); ?></div>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <div class="theme-info">
-                       <h3 class="theme-name"><?php the_title(); ?><span
-                                       class="theme-version"><?php printf( __( 'Version: %s' ), $theme->version ); ?></span>
-                       </h3>
-                       <h4 class="theme-author"><?php printf( __( 'By %s' ), $theme->author ); ?></h4>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <div class="theme-info hentry">
+                       <h3 class="theme-name entry-title"><?php the_title(); ?></h3>
+                       <span class="theme-version"><?php printf( __( 'Version: %s' ), $theme->version ); ?></span>
+                       <h4 class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">' . $theme->author . '</span>' ); ?></h4>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <p class="theme-description"><?php the_content(); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <p class="theme-description entry-summary"><?php the_content(); ?></p>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="rating rating-<?php echo round( $theme->rating, -1 ); ?>">
</span><span class="cx" style="display: block; padding: 0 10px">                                <span class="one"></span>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,16 +30,16 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="theme-stats">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <div><strong><?php _e( 'Last updated:' ); ?></strong> <?php echo $theme->last_updated; ?></div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <div><strong><?php _e( 'Last updated:' ); ?></strong> <span class="updated"><?php echo $theme->last_updated; ?></span></div>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 <div><strong><?php _e( 'Downloads:' ); ?></strong> <?php echo $theme->downloaded; ?></div>
</span><span class="cx" style="display: block; padding: 0 10px">                                <div><a href="<?php echo esc_url( $theme->homepage ); ?>"><?php _e( 'Theme Homepage &raquo;' ); ?></a></div>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <p class="theme-tags">
-                                       <span><?php _e( 'Tags:' ); ?></span>
-                                       <?php echo implode( ', ', $theme->tags ); ?>
-                               </p>
-               </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <p class="theme-tags">
+                               <span><?php _e( 'Tags:' ); ?></span>
+                               <?php echo implode( ', ', $theme->tags ); ?>
+                       </p>
+               </div>å
</ins><span class="cx" style="display: block; padding: 0 10px">         </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-actions">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemescontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php      2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php        2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,11 +1,11 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php global $theme; ?>
-<article class="theme">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php global $theme; var_dump($theme);?>
+<article id="post-<?php echo $theme->slug; ?>" class="theme hentry">
</ins><span class="cx" style="display: block; padding: 0 10px">         <div class="theme-screenshot">
</span><span class="cx" style="display: block; padding: 0 10px">                <img src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt="">
</span><span class="cx" style="display: block; padding: 0 10px">        </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <a href="/<?php echo $theme->slug; ?>" class="more-details"><?php _ex( 'More Info', 'theme' ); ?></a>
-       <div class="theme-author"><?php printf( __( 'By %s' ), $theme->author ); ?></div>
-       <h3 class="theme-name"><?php echo $theme->name; ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a class="more-details url" href="/<?php echo $theme->slug; ?>" rel="bookmark"><?php _ex( 'More Info', 'theme' ); ?></a>
+       <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">' . $theme->author . '</span>' ); ?></div>
+       <h3 class="theme-name entry-title"><?php echo $theme->name; ?></h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-actions">
</span><span class="cx" style="display: block; padding: 0 10px">                <a class="button button-primary preview install-theme-preview" href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $theme->slug . '.' . $theme->version . '.zip' ); ?>"><?php esc_html_e( 'Download' ); ?></a>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php       2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php 2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -255,7 +255,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php wp_head(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </head>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<body id="wordpress-org" >
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<body id="wordpress-org" <?php body_class(); ?>>
</ins><span class="cx" style="display: block; padding: 0 10px"> <div id="wporg-header">
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="wrapper">
</span><span class="cx" style="display: block; padding: 0 10px">                <a id="mobile-menu-button" class="" href="#" onclick="toggleMenu();"></a>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php        2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php  2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,11 +11,17 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @package wporg-themes
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$template_part = is_single() ? 'single' : 'index';
</ins><span class="cx" style="display: block; padding: 0 10px"> include ABSPATH . 'wp-admin/includes/theme.php';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$themes = themes_api( 'query_themes', array(
-       'per_page' => 15,
-       'browse'   => get_query_var( 'attachment' ) ? get_query_var( 'attachment' )  : 'search',
-) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+if ( is_single() ) {
+       $themes = themes_api( 'theme_information', array( 'slug' => get_post()->post_name ) );
+} else {
+       $themes = themes_api( 'query_themes', array(
+               'per_page' => 15,
+               'browse'   => get_query_var( 'attachment' ) ? get_query_var( 'attachment' ) : 'featured',
+               'fields'   => 'tags',
+       ) );
+}
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> get_header();
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -41,6 +47,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                <a class="apply-filters button button-secondary" href="#"><?php _e( 'Apply Filters' ); ?><span></span></a>
</span><span class="cx" style="display: block; padding: 0 10px">                                <a class="clear-filters button button-secondary" href="#"><?php _e( 'Clear' ); ?></a>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px">                         <?php foreach ( get_theme_feature_list() as $feature_name => $features ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="filter-group">
</span><span class="cx" style="display: block; padding: 0 10px">                                <h4><?php echo esc_html( $feature_name ); ?></h4>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,22 +61,27 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                </ol>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php endforeach; ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px">                         <div class="filtered-by">
</span><span class="cx" style="display: block; padding: 0 10px">                                <span><?php _e( 'Filtering by:' ); ?></span>
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="tags"></div>
</span><span class="cx" style="display: block; padding: 0 10px">                                <a href="#"><?php _e( 'Edit' ); ?></a>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ </div><!-- .wp-filter -->
+
</ins><span class="cx" style="display: block; padding: 0 10px">         <div class="theme-browser content-filterable">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <?php
-                       if ( ! is_wp_error( $themes ) ) :
-                               foreach ( $themes->themes as $theme ) :
-                                       get_template_part( 'content', 'index' );
-                               endforeach;
-                       endif;
-               ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <div class="themes">
+                       <?php
+                               if ( ! is_wp_error( $themes ) ) :
+                                       foreach ( $themes->themes as $theme ) :
+                                               get_template_part( 'content', $template_part );
+                                       endforeach;
+                               endif;
+                       ?>
+               </div>
</ins><span class="cx" style="display: block; padding: 0 10px">         </div>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        <div class="theme-install-overlay"></div>
</ins><span class="cx" style="display: block; padding: 0 10px">         <div class="theme-overlay"></div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesjsthemejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js      2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js        2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,11 +16,155 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'touchend': 'expand',
</span><span class="cx" style="display: block; padding: 0 10px">                        'keyup': 'addFocus',
</span><span class="cx" style="display: block; padding: 0 10px">                        'touchmove': 'preventExpand'
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                },
+       });
+
+//     wp.themes.view.Preview.prototype = wp.themes.view.Details.prototype;
+
+       _.extend( wp.themes.view.Details.prototype, {
+               events: {
+                       'click': 'collapse',
+                       'click .delete-theme': 'deleteTheme',
+                       'click .left': 'previousTheme',
+                       'click .right': 'nextTheme',
+                       'click .button-secondary': 'preview',
+                       'keydown .button-secondary': 'preview',
+                       'touchend .button-secondary': 'preview'
+               },
+
+               preview: function( event ) {
+                       var self = this,
+                               current, preview;
+
+                       // Bail if the user scrolled on a touch device
+                       if ( this.touchDrag === true ) {
+                               return this.touchDrag = false;
+                       }
+
+                       // Allow direct link path to installing a theme.
+                       if ( $( event.target ).hasClass( 'button-primary' ) ) {
+                               return;
+                       }
+
+                       // 'enter' and 'space' keys expand the details view when a theme is :focused
+                       if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) {
+                               return;
+                       }
+
+                       // pressing enter while focused on the buttons shouldn't open the preview
+                       if ( event.type === 'keydown' && event.which !== 13 && $( ':focus' ).hasClass( 'button' ) ) {
+                               return;
+                       }
+
+                       event.preventDefault();
+
+                       event = event || window.event;
+
+                       // Set focus to current theme.
+                       wp.themes.focusedTheme = this.$el;
+
+                       // Construct a new Preview view.
+                       preview = new wp.themes.view.Preview({
+                               model: this.model
+                       });
+
+                       // Render the view and append it.
+                       preview.render();
+                       this.setNavButtonsState();
+
+                       // Hide previous/next navigation if there is only one theme
+                       if ( this.model.collection.length === 1 ) {
+                               preview.$el.addClass( 'no-navigation' );
+                       } else {
+                               preview.$el.removeClass( 'no-navigation' );
+                       }
+
+                       preview.$el.addClass( 'wp-full-overlay expanded' );
+
+                       // Append preview
+                       $( '.theme-install-overlay' ).append( preview.el );
+
+                       // Listen to our preview object
+                       // for `theme:next` and `theme:previous` events.
+                       this.listenTo( preview, 'theme:next', function() {
+
+                               // Keep local track of current theme model.
+                               current = self.model;
+
+                               // If we have ventured away from current model update the current model position.
+                               if ( ! _.isUndefined( self.current ) ) {
+                                       current = self.current;
+                               }
+
+                               // Get next theme model.
+                               self.current = self.model.collection.at( self.model.collection.indexOf( current ) + 1 );
+
+                               // If we have no more themes, bail.
+                               if ( _.isUndefined( self.current ) ) {
+                                       self.options.parent.parent.trigger( 'theme:end' );
+                                       return self.current = current;
+                               }
+
+                               preview.model = self.current;
+
+                               // Render and append.
+                               preview.render();
+                               this.setNavButtonsState();
+                               $( '.next-theme' ).focus();
+                       })
+                               .listenTo( preview, 'theme:previous', function() {
+
+                                       // Keep track of current theme model.
+                                       current = self.model;
+
+                                       // Bail early if we are at the beginning of the collection
+                                       if ( self.model.collection.indexOf( self.current ) === 0 ) {
+                                               return;
+                                       }
+
+                                       // If we have ventured away from current model update the current model position.
+                                       if ( ! _.isUndefined( self.current ) ) {
+                                               current = self.current;
+                                       }
+
+                                       // Get previous theme model.
+                                       self.current = self.model.collection.at( self.model.collection.indexOf( current ) - 1 );
+
+                                       // If we have no more themes, bail.
+                                       if ( _.isUndefined( self.current ) ) {
+                                               return;
+                                       }
+
+                                       preview.model = self.current;
+
+                                       // Render and append.
+                                       preview.render();
+                                       this.setNavButtonsState();
+                                       $( '.previous-theme' ).focus();
+                               });
+
+                       this.listenTo( preview, 'preview:close', function() {
+                               self.current = self.model;
+                       });
+               },
+
+               // Handles .disabled classes for previous/next buttons in theme installer preview
+               setNavButtonsState: function() {
+                       var $themeInstaller = $( '.theme-install-overlay' ),
+                               current = _.isUndefined( this.current ) ? this.model : this.current;
+
+                       // Disable previous at the zero position
+                       if ( 0 === this.model.collection.indexOf( current ) ) {
+                               $themeInstaller.find( '.previous-theme' ).addClass( 'disabled' );
+                       }
+
+                       // Disable next if the next model is undefined
+                       if ( _.isUndefined( this.model.collection.at( this.model.collection.indexOf( current ) + 1 ) ) ) {
+                               $themeInstaller.find( '.next-theme' ).addClass( 'disabled' );
+                       }
</ins><span class="cx" style="display: block; padding: 0 10px">                 }
</span><span class="cx" style="display: block; padding: 0 10px">        });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        wp.themes.view.Preview.prototype = wp.themes.view.Details.prototype;
-
</del><span class="cx" style="display: block; padding: 0 10px">         _.extend( wp.themes.InstallerRouter.prototype, {
</span><span class="cx" style="display: block; padding: 0 10px">                routes: {
</span><span class="cx" style="display: block; padding: 0 10px">                        '/:slug/': 'preview',
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemessinglephp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/single.php       2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/single.php 2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,39 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The main template file.
- *
- * This is the most generic template file in a WordPress theme
- * and one of the two required files for a theme (the other being style.css).
- * It is used to display a page when nothing more specific matches a query.
- * E.g., it puts together the home page when no home.php file exists.
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
- *
- * @package wporg-themes
- */
-
-get_header(); ?>
-
-<div id="pagebody">
-       <div class="wrapper">
-               <div class="col-12">
-                       <div class="theme-browser">
-                               TODO menu bar
-
-                               <div class="themes">
-                                       <?php
-                                               if ( have_posts() ) :
-                                                       while ( have_posts() ) :
-                                                               the_post();
-
-                                                               get_template_part( 'content', 'single' );
-                                                       endwhile;
-                                               else :
-                                                       get_template_part( 'content', 'none' );
-                                               endif;
-                                       ?>
-                               </div>
-                       </div>
-               </div>
-       </div>
-</div>
-<?php get_footer(); ?>
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css        2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css  2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,9 +9,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> License URI: http://www.gnu.org/licenses/gpl-2.0.html
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#themes {
-       font-family: 'Open Sans', sans-serif;
-}
</del><span class="cx" style="display: block; padding: 0 10px"> body {
</span><span class="cx" style="display: block; padding: 0 10px">        background: #f1f1f1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,8 +53,34 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .theme-overlay .theme-wrap {
</span><span class="cx" style="display: block; padding: 0 10px">        right: 190px;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        top: 3%;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.admin-bar .theme-overlay .theme-wrap {
+       top: calc(3% + 32px);
+}
+
+@media only screen and (max-width: 782px) {
+       .theme-overlay .theme-wrap {
+               bottom: 3%;
+               left: 10px;
+               right: 10px;
+       }
+}
+
+.theme-overlay .theme-name {
+       display: inline-block;
+}
+
+.theme-install-overlay iframe {
+       border: 0;
+       height: 100%;
+       width: 100%;
+       z-index: 20;
+       -webkit-transition: opacity 0.3s;
+       transition: opacity 0.3s;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .spinner {
</span><span class="cx" style="display: block; padding: 0 10px">        background: url(/wp-admin/images/spinner.gif) no-repeat;
</span><span class="cx" style="display: block; padding: 0 10px">        -webkit-background-size: 20px 20px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -207,14 +230,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-filter .drawer-toggle:before {
</span><span class="cx" style="display: block; padding: 0 10px">        display: inline-block;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        vertical-align: top;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ vertical-align: sub;
</ins><span class="cx" style="display: block; padding: 0 10px">         content: "\f111";
</span><span class="cx" style="display: block; padding: 0 10px">        margin: 0 5px 0 0;
</span><span class="cx" style="display: block; padding: 0 10px">        width: 16px;
</span><span class="cx" style="display: block; padding: 0 10px">        height: 16px;
</span><span class="cx" style="display: block; padding: 0 10px">        color: #777;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        -webkit-transition: color .1s ease-in 0;
-       transition: color .1s ease-in 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ -webkit-transition: color .1s ease-in;
+       transition: color .1s ease-in;
</ins><span class="cx" style="display: block; padding: 0 10px">         font-family: "dashicons";
</span><span class="cx" style="display: block; padding: 0 10px">        font-size: 16px;
</span><span class="cx" style="display: block; padding: 0 10px">        line-height: 1;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -432,8 +455,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        padding: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.theme-browser .button,
-.theme-overlay .button {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wrap .button {
</ins><span class="cx" style="display: block; padding: 0 10px">         display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px">        text-decoration: none;
</span><span class="cx" style="display: block; padding: 0 10px">        font-size: 13px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -452,8 +474,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        box-sizing: border-box;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.theme-browser .button-primary,
-.theme-overlay .button-primary {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wrap .button-primary {
</ins><span class="cx" style="display: block; padding: 0 10px">         background: #2ea2cc;
</span><span class="cx" style="display: block; padding: 0 10px">        border-color: #0074a2;
</span><span class="cx" style="display: block; padding: 0 10px">        -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesthemejs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme.js 2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme.js   2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,42 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-( function ( $, wp ) {
-
-       _.extend( wp.themes.view.Appearance.prototype, {
-               el: '#themes .theme-browser',
-               searchContainer: ''
-       });
-
-       _.extend( wp.themes.view.Installer.prototype, {
-               el: '#themes'
-       });
-
-       _.extend( wp.themes.view.Theme.prototype, {
-               events: {
-                       'click': 'expand',
-                       'keydown': 'expand',
-                       'touchend': 'expand',
-                       'keyup': 'addFocus',
-                       'touchmove': 'preventExpand'
-               }
-       });
-
-       wp.themes.view.Preview.prototype = wp.themes.view.Details.prototype;
-
-       _.extend( wp.themes.InstallerRouter.prototype, {
-               routes: {
-                       '/:slug/': 'preview',
-                       '/browse/:sort/': 'sort',
-                       '/?upload': 'upload',
-                       '/search.php?q=:query': 'search',
-                       '': 'sort'
-               },
-
-               baseUrl: function( url ) {
-                       return '/' + url;
-               },
-
-               themePath: 'themes/',
-               browsePath: 'browse/',
-               searchPath: 'search.php?q='
-       });
-
-}( jQuery, wp ) );
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemepreviewphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php 2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php   2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close' ); ?></span></a>
</span><span class="cx" style="display: block; padding: 0 10px">                        <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></a>
</span><span class="cx" style="display: block; padding: 0 10px">                        <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></a>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        <a href="#" class="button button-primary theme-install"><?php _e( 'Download' ); ?></a>
</ins><span class="cx" style="display: block; padding: 0 10px">                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="wp-full-overlay-sidebar-content">
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="install-theme-info">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemesinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php  2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php    2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,9 +2,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-backdrop"></div>
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-wrap">
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="theme-header">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
</ins><span class="cx" style="display: block; padding: 0 10px">                         <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
</span><span class="cx" style="display: block; padding: 0 10px">                        <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
</del><span class="cx" style="display: block; padding: 0 10px">                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="theme-about">
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="theme-screenshots">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,13 +15,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                <# } #>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <div class="theme-info">
-                               <h3 class="theme-name">
-                                       {{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span>
-                               </h3>
-                               <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></h4>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <div class="theme-info hentry">
+                               <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
+                               <span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span>
+                               <h4 class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{{ data.author }}}</span>' ); ?></h4>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <p class="theme-description">{{{ data.description }}}</p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <p class="theme-description entry-summary">{{{ data.description }}}</p>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="rating rating-{{ Math.round( data.rating / 10 ) * 10 }}">
</span><span class="cx" style="display: block; padding: 0 10px">                                        <span class="one"></span>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,7 +33,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="theme-stats">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <div><strong><?php _e( 'Last updated:' ); ?></strong> {{ data.last_updated }}</div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <div><strong><?php _e( 'Last updated:' ); ?></strong> <span class="updated">{{ data.last_updated }}</span></div>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         <div><strong><?php _e( 'Downloads:' ); ?></strong> {{ data.downloaded }}</div>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div><a href="{{ data.homepage }}"><?php _e( 'Theme Homepage &raquo;' ); ?></a></div>
</span><span class="cx" style="display: block; padding: 0 10px">                                </div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                <p class="theme-tags">
</span><span class="cx" style="display: block; padding: 0 10px">                                        <span><?php _e( 'Tags:' ); ?></span>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <# _.each( data.tags, function( tag ) { #>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                {{{ tag }}}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <a href="">{{{ tag }}}</a>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         <# }); #>
</span><span class="cx" style="display: block; padding: 0 10px">                                </p>
</span><span class="cx" style="display: block; padding: 0 10px">                                <# } #>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemesviewtemplatesthemephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php 2014-11-24 18:26:23 UTC (rev 1005)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php   2014-11-25 20:49:42 UTC (rev 1006)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,9 +6,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <# } else { #>
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-screenshot blank"></div>
</span><span class="cx" style="display: block; padding: 0 10px">        <# } #>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span>
-       <div class="theme-author"><?php printf( __( 'By %s' ), '{{ data.author }}' ); ?></div>
-       <h3 class="theme-name">{{ data.name }}</h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <span class="more-details "><?php _ex( 'More Info', 'theme' ); ?></span>
+       <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author }}</span>' ); ?></div>
+       <h3 class="theme-name entry-title">{{ data.name }}</h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="theme-actions">
</span><span class="cx" style="display: block; padding: 0 10px">                <a class="button button-primary preview install-theme-preview" href="#"><?php esc_html_e( 'Download' ); ?></a>
</span></span></pre>
</div>
</div>

</body>
</html>