<!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>[1641] sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta: Rosetta Theme: Enhancements</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/1641">1641</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/1641","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>ocean90</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-05-30 22:26:47 +0000 (Sat, 30 May 2015)</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'>Rosetta Theme: Enhancements

* Move sidebar code to its own files.
* Show blog section on front page only when `show_on_front` is `posts`.
* Add some inline docs.

props ramiy.
fixes <a href="http://meta.trac.wordpress.org/ticket/1057">#1057</a>, <a href="http://meta.trac.wordpress.org/ticket/1051">#1051</a>.
see <a href="http://meta.trac.wordpress.org/ticket/1049">#1049</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafrontpagephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafunctionsphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaindexphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettapagephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasinglephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasidebarblogphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasidebarpagephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadsidebarphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadsidebarphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php       2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php 2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,43 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-global $rosetta;
-$latest_release = $rosetta->rosetta->get_latest_release();
-if ( false !== $latest_release ) :
-       ?>
-       <p class="download-meta">
-               <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>">
-                       <strong><?php
-                               echo apply_filters( 'no_orphans',
-                                       sprintf(
-                                               __( 'Download WordPress %s', 'rosetta' ),
-                                               $latest_release['version']
-                                       )
-                               );
-                       ?></strong>
-               </a>
-               <span><?php printf( __( '.zip &mdash; %s MB', 'rosetta' ), $latest_release['zip_size_mb'] ); ?></span>
-       </p>
-
-       <p class="download-tar">
-               <a href="<?php echo $latest_release['targz_url']; ?>"><?php printf(
-                       __( 'Download .tar.gz &mdash; %s MB', 'rosetta' ),
-                       $latest_release['tar_size_mb'] );
-               ?></a>
-       </p>
-
-       <h3><?php _e( 'More download options', 'rosetta' ); ?></h3>
-       <ul>
-               <li><a href="/releases/#latest"><?php _e( 'Other file formats', 'rosetta' ); ?></a></li>
-               <li><a href="/releases/#older"><?php _e( 'Older versions', 'rosetta' ); ?></a></li>
-               <li><a href="/releases/#beta"><?php _e( 'Beta &amp; RC versions', 'rosetta' ); ?></a></li>
-       </ul>
-       <?php
-endif;
-?>
-
-<h3><?php _e( 'Resources', 'rosetta' ); ?></h3>
-
-<p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p>
-
-<ul>
-       <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?>
-</ul>
</del></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafrontpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php     2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php       2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,9 +61,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endwhile; ?>
</span><span class="cx" style="display: block; padding: 0 10px">                                </div>
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="col-3">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-       get_template_part( 'download-sidebar' );
-?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <?php get_sidebar( 'page' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,6 +122,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px">        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endwhile; ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php if ( 'posts' === get_option( 'show_on_front' ) ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                 <div class="wrapper">
</span><span class="cx" style="display: block; padding: 0 10px">                        <div id="blog" class="section">
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="col-9">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -142,12 +141,10 @@
</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="col-3">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <h5><?php _e( 'Blog Archives', 'rosetta' ); ?></h5>
-                                       <ul>
-                                               <?php wp_get_archives('type=monthly&limit=12'); ?>
-                                       </ul>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <?php get_sidebar( 'blog' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</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">+<?php endif; ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php get_footer();
</span></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php      2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php        2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,6 +32,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'after_setup_theme', 'rosetta_after_setup_theme' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Prints a hint, which explains that that support questions belong
+ * to the forums, on top of the comment form.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function rosetta_comment_form_support_hint() {
</span><span class="cx" style="display: block; padding: 0 10px">        printf(
</span><span class="cx" style="display: block; padding: 0 10px">                '<p>%s</p>',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -41,17 +45,32 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'comment_form_top', 'rosetta_comment_form_support_hint' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Show a home link for our wp_nav_menu() fallback, wp_page_menu().
+ *
+ * @param array $args An optional array of arguments.
+ * @return array The filtered array of arguments.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function rosetta_wp_page_menu_args( $args ) {
</span><span class="cx" style="display: block; padding: 0 10px">        $args['show_home'] = true;
</span><span class="cx" style="display: block; padding: 0 10px">        return $args;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'wp_page_menu_args', 'rosetta_wp_page_menu_args' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * The nav menu supports only top level menu items.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function rosetta_admin_footer_nav_menus() {
</span><span class="cx" style="display: block; padding: 0 10px">        echo '<script> wpNavMenu.options.globalMaxDepth = 0; </script>';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'admin_footer-nav-menus.php', 'rosetta_admin_footer_nav_menus' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Extend the default WordPress body classes.
+ *
+ * @param array $classes A list of existing body class values.
+ * @return array The filtered body class list.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function rosetta_body_class( $classes ) {
</span><span class="cx" style="display: block; padding: 0 10px">        $classes[] = 'wporg-responsive';
</span><span class="cx" style="display: block; padding: 0 10px">        $classes[] = 'wporg-international';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -59,17 +78,32 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'body_class', 'rosetta_body_class' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Checks if locale provides a custom stylesheet.
+ *
+ * @return boolean True if file exists, false if not.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function is_locale_css() {
</span><span class="cx" style="display: block; padding: 0 10px">        global $rosetta;
</span><span class="cx" style="display: block; padding: 0 10px">        return file_exists( WP_LANG_DIR . '/css/' . $rosetta->locale . '.css' );
</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">+/**
+ * Returns URL to locale's custom stylesheet.
+ *
+ * @return string URL to custom stylesheet.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function get_locale_css_url() {
</span><span class="cx" style="display: block; padding: 0 10px">        global $rosetta;
</span><span class="cx" style="display: block; padding: 0 10px">        return set_url_scheme( WP_LANG_URL . '/css/' . $rosetta->locale . '.css?' . filemtime( WP_LANG_DIR . '/css/' . $rosetta->locale . '.css' ) );
</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">-// Makes final space a non-breaking one, to prevent orphaned word.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Makes final space a non-breaking one, to prevent orphaned word.
+ *
+ * @param string $string
+ * @return string
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function rosetta_orphan_control( $string ) {
</span><span class="cx" style="display: block; padding: 0 10px">        return substr_replace( $string, '&nbsp;', strrpos( $string, ' ' ), 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php  2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php    2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,12 +31,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        </nav>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="col-3">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <div class="blog-categories">
-                               <h4><?php _e( 'Categories', 'rosetta' ); ?></h4>
-                               <ul>
-                                       <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
-                               </ul>
-                       </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <?php get_sidebar( 'blog' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettapagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php   2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php     2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,7 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                <?php the_content(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="col-3">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <?php get_template_part( 'download-sidebar' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <?php get_sidebar( 'page' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                         </div>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px">        </div>
</span></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasidebarblogphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php                           (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-blog.php     2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<h4><?php _e( 'Categories', 'rosetta' ); ?></h4>
+<ul>
+       <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
+</ul>
+
+<h4><?php _e( 'Blog Archives', 'rosetta' ); ?></h4>
+<ul>
+       <?php wp_get_archives( 'type=monthly&limit=12' ); ?>
+</ul>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasidebarpagephpfromrev1640sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadsidebarphp"></a>
<div class="copfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Copied: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php (from rev 1640, sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php)</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php                           (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php     2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,43 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+global $rosetta;
+$latest_release = $rosetta->rosetta->get_latest_release();
+if ( false !== $latest_release ) :
+       ?>
+       <p class="download-meta">
+               <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>">
+                       <strong><?php
+                               echo apply_filters( 'no_orphans',
+                                       sprintf(
+                                               __( 'Download WordPress %s', 'rosetta' ),
+                                               $latest_release['version']
+                                       )
+                               );
+                       ?></strong>
+               </a>
+               <span><?php printf( __( '.zip &mdash; %s MB', 'rosetta' ), $latest_release['zip_size_mb'] ); ?></span>
+       </p>
+
+       <p class="download-tar">
+               <a href="<?php echo $latest_release['targz_url']; ?>"><?php printf(
+                       __( 'Download .tar.gz &mdash; %s MB', 'rosetta' ),
+                       $latest_release['tar_size_mb'] );
+               ?></a>
+       </p>
+
+       <h3><?php _e( 'More download options', 'rosetta' ); ?></h3>
+       <ul>
+               <li><a href="/releases/#latest"><?php _e( 'Other file formats', 'rosetta' ); ?></a></li>
+               <li><a href="/releases/#older"><?php _e( 'Older versions', 'rosetta' ); ?></a></li>
+               <li><a href="/releases/#beta"><?php _e( 'Beta &amp; RC versions', 'rosetta' ); ?></a></li>
+       </ul>
+       <?php
+endif;
+?>
+
+<h3><?php _e( 'Resources', 'rosetta' ); ?></h3>
+
+<p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p>
+
+<ul>
+       <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?>
+</ul>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php 2015-05-29 20:37:11 UTC (rev 1640)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php   2015-05-30 22:26:47 UTC (rev 1641)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -40,12 +40,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php posts_nav_link(' &#8212; ', __( '&laquo; Newer Posts', 'rosetta' ), __( 'Older Posts &raquo;', 'rosetta' ) ); ?>
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="col-3">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <div class="blog-categories">
-                               <h4><?php _e( 'Categories', 'rosetta' ); ?></h4>
-                               <ul>
-                                       <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
-                               </ul>
-                       </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <?php get_sidebar( 'blog' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                 </div>
</span><span class="cx" style="display: block; padding: 0 10px">        </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span></span></pre>
</div>
</div>

</body>
</html>