<!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>[21617] trunk/wp-content/themes/twentytwelve: Twenty Twelve: review and clarify code commenting and documentation.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/21617">21617</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2012-08-25 16:53:32 +0000 (Sat, 25 Aug 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See <a href="http://core.trac.wordpress.org/ticket/21675">#21675</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytwelveeditorstylertlcss">trunk/wp-content/themes/twentytwelve/editor-style-rtl.css</a></li>
<li><a href="#trunkwpcontentthemestwentytwelveeditorstylecss">trunk/wp-content/themes/twentytwelve/editor-style.css</a></li>
<li><a href="#trunkwpcontentthemestwentytwelvefunctionsphp">trunk/wp-content/themes/twentytwelve/functions.php</a></li>
<li><a href="#trunkwpcontentthemestwentytwelveinccustomheaderphp">trunk/wp-content/themes/twentytwelve/inc/custom-header.php</a></li>
<li><a href="#trunkwpcontentthemestwentytwelveincthemeoptionsphp">trunk/wp-content/themes/twentytwelve/inc/theme-options.php</a></li>
<li><a href="#trunkwpcontentthemestwentytwelvertlcss">trunk/wp-content/themes/twentytwelve/rtl.css</a></li>
<li><a href="#trunkwpcontentthemestwentytwelvesidebarhomephp">trunk/wp-content/themes/twentytwelve/sidebar-home.php</a></li>
<li><a href="#trunkwpcontentthemestwentytwelvesidebarphp">trunk/wp-content/themes/twentytwelve/sidebar.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytwelveeditorstylertlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/editor-style-rtl.css (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/editor-style-rtl.css        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/editor-style-rtl.css        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><span class="cx"> /*
</span><span class="cx"> Theme Name: Twenty Twelve
</span><del>-
-Used to style the TinyMCE editor for RTL languages.
-See also rtl.css
</del><ins>+Description: Used to style the TinyMCE editor for RTL languages.
+See also rtl.css file.
</ins><span class="cx"> */
</span><span class="cx"> 
</span><span class="cx"> html .mceContentBody {
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelveeditorstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/editor-style.css (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/editor-style.css        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/editor-style.css        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><del>-/**
-* Theme Name: Twenty Twelve
-* Description: Used to style the TinyMCE editor.
</del><ins>+/*
+Theme Name: Twenty Twelve
+Description: Used to style the TinyMCE editor.
</ins><span class="cx"> */
</span><span class="cx"> 
</span><span class="cx"> html {
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelvefunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/functions.php (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/functions.php        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/functions.php        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,14 +1,11 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> /**
</span><del>- * Twenty Twelve functions and definitions
</del><ins>+ * Twenty Twelve functions and definitions.
</ins><span class="cx">  *
</span><del>- * Sets up the theme and provides some helper functions. Some helper functions
- * are used in the theme as custom template tags. Others are attached to action and
</del><ins>+ * Sets up the theme and provides some helper functions, which are used
+ * in the theme as custom template tags. Others are attached to action and
</ins><span class="cx">  * filter hooks in WordPress to change core functionality.
</span><span class="cx">  *
</span><del>- * The first function, twentytwelve_setup(), sets up the theme by registering support
- * for various features in WordPress, such as a custom background and a navigation menu.
- *
</del><span class="cx">  * When using a child theme (see http://codex.wordpress.org/Theme_Development and
</span><span class="cx">  * http://codex.wordpress.org/Child_Themes), you can override certain functions
</span><span class="cx">  * (those wrapped in a function_exists() call) by defining them first in your child theme's
</span><span class="lines">@@ -26,17 +23,19 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Set the content width based on the theme's design and stylesheet.
</del><ins>+ * Sets up the content width value based on the theme's design and stylesheet.
</ins><span class="cx">  */
</span><span class="cx"> if ( ! isset( $content_width ) )
</span><span class="cx">         $content_width = 625;
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Sets up theme defaults and registers support for various WordPress features.
</del><ins>+ * Sets up theme defaults and registers the various WordPress features that
+ * Twenty Twelve supports.
</ins><span class="cx">  *
</span><span class="cx">  * @uses load_theme_textdomain() For translation/localization support.
</span><del>- * @uses add_theme_support() To add support for post thumbnails, automatic feed links, custom headers
- *         and backgrounds, and post formats.
</del><ins>+ * @uses add_editor_style() To add a Visual Editor stylesheet.
+ * @uses add_theme_support() To add support for post thumbnails, automatic feed links,
+ *         custom background, and post formats.
</ins><span class="cx">  * @uses register_nav_menu() To add support for navigation menus.
</span><span class="cx">  * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
</span><span class="cx">  *
</span><span class="lines">@@ -45,8 +44,9 @@
</span><span class="cx"> function twentytwelve_setup() {
</span><span class="cx">         global $twentytwelve_options;
</span><span class="cx"> 
</span><del>-        /**
-         * Make Twenty Twelve available for translation.
</del><ins>+        /*
+         * Makes Twenty Twelve available for translation.
+         *
</ins><span class="cx">          * Translations can be added to the /languages/ directory.
</span><span class="cx">          * If you're building a theme based on Twenty Twelve, use a find and replace
</span><span class="cx">          * to change 'twentytwelve' to the name of your theme in all the template files.
</span><span class="lines">@@ -60,69 +60,70 @@
</span><span class="cx">         // This theme styles the visual editor with editor-style.css to match the theme style.
</span><span class="cx">         add_editor_style();
</span><span class="cx"> 
</span><del>-        // Add default posts and comments RSS feed links to &lt;head&gt;.
</del><ins>+        // Adds RSS feed links to &lt;head&gt; for posts and comments.
</ins><span class="cx">         add_theme_support( 'automatic-feed-links' );
</span><span class="cx"> 
</span><del>-        // Add support for a variety of post formats
</del><ins>+        // This theme supports a variety of post formats.
</ins><span class="cx">         add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote' ) );
</span><span class="cx"> 
</span><span class="cx">         // This theme uses wp_nav_menu() in one location.
</span><span class="cx">         register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );
</span><span class="cx"> 
</span><del>-        // Add support for custom background.
</del><ins>+        /*
+         * This theme supports custom background color and image, and here
+         * we also set up the default background color.
+         */
</ins><span class="cx">         add_theme_support( 'custom-background', array(
</span><span class="cx">                 'default-color' =&gt; 'e6e6e6',
</span><span class="cx">         ) );
</span><span class="cx"> 
</span><del>-        // Add custom image size for featured image use, displayed on &quot;standard&quot; posts.
</del><ins>+        // This theme uses a custom image size for featured images, displayed on &quot;standard&quot; posts.
</ins><span class="cx">         add_theme_support( 'post-thumbnails' );
</span><span class="cx">         set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop
</span><span class="cx"> }
</span><span class="cx"> add_action( 'after_setup_theme', 'twentytwelve_setup' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Add support for a custom header image.
</del><ins>+ * Adds support for a custom header image.
</ins><span class="cx">  */
</span><span class="cx"> require( get_template_directory() . '/inc/custom-header.php' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Enqueue scripts and styles for front-end.
</del><ins>+ * Enqueues scripts and styles for front-end.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="cx"> function twentytwelve_scripts_styles() {
</span><span class="cx">         global $twentytwelve_options;
</span><span class="cx"> 
</span><del>-        /**
-         * Add JavaScript to pages with the comment form to support
</del><ins>+        /*
+         * Adds JavaScript to pages with the comment form to support
</ins><span class="cx">          * sites with threaded comments (when in use).
</span><span class="cx">          */
</span><span class="cx">         if ( is_singular() &amp;&amp; comments_open() &amp;&amp; get_option( 'thread_comments' ) )
</span><span class="cx">                 wp_enqueue_script( 'comment-reply' );
</span><span class="cx"> 
</span><del>-        /**
-         * JavaScript for handling navigation menus and the resized
-         * styles for small screen sizes.
</del><ins>+        /*
+         * Adds JavaScript for handling the navigation menu hide-and-show behavior.
</ins><span class="cx">          */
</span><span class="cx">         wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120824', true );
</span><span class="cx"> 
</span><del>-        /**
-         * Load special font CSS file.
</del><ins>+        /*
+         * Loads our special font CSS file.
</ins><span class="cx">          * Depends on Theme Options setting.
</span><span class="cx">           */
</span><span class="cx">         $options = $twentytwelve_options-&gt;get_theme_options();
</span><span class="cx">         if ( $options['enable_fonts'] )
</span><span class="cx">                 wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options-&gt;custom_fonts_url(), array(), null );
</span><span class="cx"> 
</span><del>-        /**
-         * Load our main CSS file.
</del><ins>+        /*
+         * Loads our main stylesheet.
</ins><span class="cx">          */
</span><span class="cx">         wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
</span><span class="cx"> 
</span><del>-        /**
-         * Load HTML5 shiv for older IE version support for HTML5 elements.
</del><ins>+        /*
+         * Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions.
</ins><span class="cx">          * Ideally, should load after main CSS file.
</span><del>-         *
</del><span class="cx">          * See html5.js link in header.php.
</span><span class="cx">          *
</span><span class="cx">          * TODO depends on IE dependency being in core for JS enqueuing
</span><span class="lines">@@ -164,7 +165,7 @@
</span><span class="cx"> add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
</del><ins>+ * Makes our wp_nav_menu() fallback -- wp_page_menu() -- show a home link.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="lines">@@ -175,7 +176,7 @@
</span><span class="cx"> add_filter( 'wp_page_menu_args', 'twentytwelve_page_menu_args' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Register our single widget area.
</del><ins>+ * Registers our main widget area and the homepage widget areas.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="lines">@@ -213,7 +214,7 @@
</span><span class="cx"> add_action( 'widgets_init', 'twentytwelve_widgets_init' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Count the number of footer sidebars to enable dynamic classes for the footer
</del><ins>+ * Counts the number of footer sidebars to enable dynamic classes for the footer.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="lines">@@ -228,7 +229,7 @@
</span><span class="cx"> 
</span><span class="cx"> if ( ! function_exists( 'twentytwelve_content_nav' ) ) :
</span><span class="cx"> /**
</span><del>- * Display navigation to next/previous pages when applicable.
</del><ins>+ * Displays navigation to next/previous pages when applicable.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="lines">@@ -364,6 +365,9 @@
</span><span class="cx">  * 3. White or empty background color to change the layout and spacing.
</span><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><ins>+ *
+ * @param array Existing class values.
+ * @return array Filtered class values.
</ins><span class="cx">  */
</span><span class="cx"> function twentytwelve_body_class( $classes ) {
</span><span class="cx">         $background_color = get_background_color();
</span><span class="lines">@@ -384,8 +388,8 @@
</span><span class="cx"> add_filter( 'body_class', 'twentytwelve_body_class' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Adjust $content width for full-width and single image attachment templates
- * and when there are no active widgets in the sidebar.
</del><ins>+ * Adjusts content_width value for full-width and single image attachment
+ * templates, and when there are no active widgets in the sidebar.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelveinccustomheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/inc/custom-header.php (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/inc/custom-header.php        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/inc/custom-header.php        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> /**
</span><del>- * Implement an optional custom header for Twenty Twelve.
- * http://codex.wordpress.org/Custom_Headers
</del><ins>+ * Implements an optional custom header for Twenty Twelve.
+ * See http://codex.wordpress.org/Custom_Headers
</ins><span class="cx">  *
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage Twenty_Twelve
</span><span class="lines">@@ -9,12 +9,12 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Set up the WordPress core custom header arguments and settings.
- * Use add_theme_support() to register support for 3.4 and up.
</del><ins>+ * Sets up the WordPress core custom header arguments and settings.
</ins><span class="cx">  *
</span><del>- * @uses twentytwelve_header_style()
- * @uses twentytwelve_admin_header_style()
- * @uses twentytwelve_admin_header_image()
</del><ins>+ * @uses add_theme_support() to register support for 3.4 and up.
+ * @uses twentytwelve_header_style() to style front-end.
+ * @uses twentytwelve_admin_header_style() to style wp-admin form.
+ * @uses twentytwelve_admin_header_image() to add custom markup to wp-admin form.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span><span class="lines">@@ -126,7 +126,8 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Custom header image markup displayed on the Appearance &gt; Header admin panel.
</del><ins>+ * Outputs markup to be displayed on the Appearance &gt; Header admin panel.
+ * This callback overrides the default markup displayed there.
</ins><span class="cx">  *
</span><span class="cx">  * @since Twenty Twelve 1.0
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelveincthemeoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/inc/theme-options.php (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/inc/theme-options.php        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/inc/theme-options.php        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx">         public $options = array();
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Constructor
</del><ins>+         * Constructor.
</ins><span class="cx">          *
</span><span class="cx">          * @access public
</span><span class="cx">          *
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Register the form setting for our options array.
</del><ins>+         * Registers the form setting for our options array.
</ins><span class="cx">          *
</span><span class="cx">          * This function is attached to the admin_init action hook.
</span><span class="cx">          *
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Add our theme options page to the admin menu.
</del><ins>+         * Adds our theme options page to the admin menu.
</ins><span class="cx">          *
</span><span class="cx">          * This function is attached to the admin_menu action hook.
</span><span class="cx">          *
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Returns the options array.
</del><ins>+         * Displays the theme options page.
</ins><span class="cx">          *
</span><span class="cx">          * @uses get_current_theme() for back compat, fallback for &lt; 3.4
</span><span class="cx">          * @access public
</span><span class="lines">@@ -175,7 +175,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Sanitize and validate form input. Accepts an array, return a sanitized array.
</del><ins>+         * Sanitizes and validates form input.
</ins><span class="cx">          *
</span><span class="cx">          * @see options_init()
</span><span class="cx">          * @access public
</span><span class="lines">@@ -195,7 +195,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Implement Twenty Twelve theme options into Theme Customizer.
</del><ins>+         * Implements Twenty Twelve theme options into Theme Customizer.
</ins><span class="cx">          *
</span><span class="cx">          * @since Twenty Twelve 1.0
</span><span class="cx">          * @access public
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Bind JS handlers to make Theme Customizer preview reload changes asynchronously.
</del><ins>+         * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
</ins><span class="cx">          *
</span><span class="cx">          * @since Twenty Twelve 1.0
</span><span class="cx">          * @access public
</span><span class="lines">@@ -249,7 +249,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Create path to load fonts CSS file with correct protocol.
</del><ins>+         * Creates path to load fonts CSS file with correct protocol.
</ins><span class="cx">          *
</span><span class="cx">          * @since Twenty Twelve 1.0
</span><span class="cx">          * @access public
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelvertlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/rtl.css (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/rtl.css        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/rtl.css        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,11 +1,10 @@
</span><span class="cx"> /*
</span><span class="cx"> Theme Name: Twenty Twelve
</span><del>-
-Adding support for language written in a Right To Left (RTL) direction is easy -
-it's just a matter of overwriting all the horizontal positioning attributes
</del><ins>+Description: Adds support for languages written in a Right To Left (RTL) direction.
+It's easy, just a matter of overwriting all the horizontal positioning attributes
</ins><span class="cx"> of your CSS stylesheet in a separate stylesheet file named rtl.css.
</span><span class="cx"> 
</span><del>-http://codex.wordpress.org/Right_to_Left_Language_Support
</del><ins>+See http://codex.wordpress.org/Right_to_Left_Language_Support
</ins><span class="cx"> */
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelvesidebarhomephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/sidebar-home.php (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/sidebar-home.php        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/sidebar-home.php        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> /**
</span><del>- * The Sidebar containing the homepage widget areas.
</del><ins>+ * The sidebar containing the homepage widget areas.
</ins><span class="cx">  *
</span><span class="cx">  * If no active widgets in either sidebar, they will be hidden completely.
</span><span class="cx">  *
</span><span class="lines">@@ -10,11 +10,11 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> /*
</span><del>-The homepage widget area is triggered if any of the areas
-have widgets. So let's check that first.
-
-If none of the sidebars have widgets, then let's bail early.
-*/
</del><ins>+ * The homepage widget area is triggered if any of the areas
+ * have widgets. So let's check that first.
+ *
+ * If none of the sidebars have widgets, then let's bail early.
+ */
</ins><span class="cx"> if ( ! is_active_sidebar( 2 ) &amp;&amp; ! is_active_sidebar( 3 ) )
</span><span class="cx">         return;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytwelvesidebarphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentytwelve/sidebar.php (21616 => 21617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentytwelve/sidebar.php        2012-08-25 16:50:05 UTC (rev 21616)
+++ trunk/wp-content/themes/twentytwelve/sidebar.php        2012-08-25 16:53:32 UTC (rev 21617)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> /**
</span><del>- * The Sidebar containing the main widget area.
</del><ins>+ * The sidebar containing the main widget area.
</ins><span class="cx">  *
</span><del>- * If no active widgets in sidebar, hide it completely.
</del><ins>+ * If no active widgets in sidebar, let's hide it completely.
</ins><span class="cx">  *
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage Twenty_Twelve
</span></span></pre>
</div>
</div>

</body>
</html>