<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[16438] trunk: Pinking shears</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/16438">16438</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-11-17 18:47:34 +0000 (Wed, 17 Nov 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Pinking shears</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminajaxphp">trunk/wp-admin/admin-ajax.php</a></li>
<li><a href="#trunkwpadmincsscolorsclassicdevcss">trunk/wp-admin/css/colors-classic.dev.css</a></li>
<li><a href="#trunkwpadmineditcommentsphp">trunk/wp-admin/edit-comments.php</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmedialisttablephp">trunk/wp-admin/includes/class-wp-media-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmssiteslisttablephp">trunk/wp-admin/includes/class-wp-ms-sites-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmsthemeslisttablephp">trunk/wp-admin/includes/class-wp-ms-themes-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppluginslisttablephp">trunk/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppostslisttablephp">trunk/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesfilephp">trunk/wp-admin/includes/file.php</a></li>
<li><a href="#trunkwpadminincludeslisttablephp">trunk/wp-admin/includes/list-table.php</a></li>
<li><a href="#trunkwpadminincludesmediaphp">trunk/wp-admin/includes/media.php</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunkwpadminincludespluginphp">trunk/wp-admin/includes/plugin.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminjslisttabledevjs">trunk/wp-admin/js/list-table.dev.js</a></li>
<li><a href="#trunkwpadminmediaphp">trunk/wp-admin/media.php</a></li>
<li><a href="#trunkwpadminwidgetsphp">trunk/wp-admin/widgets.php</a></li>
<li><a href="#trunkwpincludesadminbarphp">trunk/wp-includes/admin-bar.php</a></li>
<li><a href="#trunkwpincludesclasswpadminbarphp">trunk/wp-includes/class-wp-admin-bar.php</a></li>
<li><a href="#trunkwpincludesclasswphttpixrclientphp">trunk/wp-includes/class-wp-http-ixr-client.php</a></li>
<li><a href="#trunkwpincludesclasswpxmlrpcserverphp">trunk/wp-includes/class-wp-xmlrpc-server.php</a></li>
<li><a href="#trunkwpincludesclasswpscriptsphp">trunk/wp-includes/class.wp-scripts.php</a></li>
<li><a href="#trunkwpincludescommentphp">trunk/wp-includes/comment.php</a></li>
<li><a href="#trunkwpincludesformattingphp">trunk/wp-includes/formatting.php</a></li>
<li><a href="#trunkwpincludesfunctionsphp">trunk/wp-includes/functions.php</a></li>
<li><a href="#trunkwpincludesl10nphp">trunk/wp-includes/l10n.php</a></li>
<li><a href="#trunkwpincludesmsadminbarphp">trunk/wp-includes/ms-admin-bar.php</a></li>
<li><a href="#trunkwpincludesmsfunctionsphp">trunk/wp-includes/ms-functions.php</a></li>
<li><a href="#trunkwpincludesposttemplatephp">trunk/wp-includes/post-template.php</a></li>
<li><a href="#trunkwpincludespostphp">trunk/wp-includes/post.php</a></li>
<li><a href="#trunkwpincludesqueryphp">trunk/wp-includes/query.php</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
<li><a href="#trunkwpincludestaxonomyphp">trunk/wp-includes/taxonomy.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminajaxphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin-ajax.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-ajax.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/admin-ajax.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -723,13 +723,13 @@
</span><span class="cx"> 
</span><span class="cx">         require_once ABSPATH . 'wp-admin/includes/nav-menu.php';
</span><span class="cx"> 
</span><del>-        // For performance reasons, we omit some object properties from the checklist.  
</del><ins>+        // For performance reasons, we omit some object properties from the checklist.
</ins><span class="cx">         // The following is a hacky way to restore them when adding non-custom items.
</span><span class="cx"> 
</span><span class="cx">         $menu_items_data = array();
</span><span class="cx">         foreach ( (array) $_POST['menu-item'] as $menu_item_data ) {
</span><span class="cx">                 if (
</span><del>-                        ! empty( $menu_item_data['menu-item-type'] ) &amp;&amp; 
</del><ins>+                        ! empty( $menu_item_data['menu-item-type'] ) &amp;&amp;
</ins><span class="cx">                         'custom' != $menu_item_data['menu-item-type'] &amp;&amp;
</span><span class="cx">                         ! empty( $menu_item_data['menu-item-object-id'] )
</span><span class="cx">                 ) {
</span><span class="lines">@@ -739,19 +739,19 @@
</span><span class="cx">                                 break;
</span><span class="cx"> 
</span><span class="cx">                                 case 'taxonomy' :
</span><del>-                                        $_object = get_term( $menu_item_data['menu-item-object-id'], $menu_item_data['menu-item-object'] ); 
</del><ins>+                                        $_object = get_term( $menu_item_data['menu-item-object-id'], $menu_item_data['menu-item-object'] );
</ins><span class="cx">                                 break;
</span><span class="cx">                         }
</span><span class="cx"> 
</span><del>-                        $_menu_items = array_map( 'wp_setup_nav_menu_item', array( $_object ) ); 
</del><ins>+                        $_menu_items = array_map( 'wp_setup_nav_menu_item', array( $_object ) );
</ins><span class="cx">                         $_menu_item = array_shift( $_menu_items );
</span><span class="cx"> 
</span><span class="cx">                         // Restore the missing menu item properties
</span><span class="cx">                         $menu_item_data['menu-item-description'] = $_menu_item-&gt;description;
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $menu_items_data[] = $menu_item_data;
</span><del>-        }        
</del><ins>+        }
</ins><span class="cx"> 
</span><span class="cx">         $item_ids = wp_save_nav_menu_items( 0, $menu_items_data );
</span><span class="cx">         if ( is_wp_error( $item_ids ) )
</span><span class="lines">@@ -1077,7 +1077,7 @@
</span><span class="cx">         require_once ABSPATH . WPINC . '/js/tinymce/wp-mce-link-includes.php';
</span><span class="cx"> 
</span><span class="cx">         wp_link_ajax( $_POST );
</span><del>-        
</del><ins>+
</ins><span class="cx">         exit;
</span><span class="cx">         break;
</span><span class="cx"> case 'menu-locations-save':
</span></span></pre></div>
<a id="trunkwpadmincsscolorsclassicdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/colors-classic.dev.css (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/colors-classic.dev.css        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/css/colors-classic.dev.css        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -1126,8 +1126,8 @@
</span><span class="cx"> 
</span><span class="cx"> .folded #adminmenu li.wp-has-current-submenu,
</span><span class="cx"> .folded #adminmenu li.menu-top.current {
</span><del>-        background: #e0e0e0 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x; 
-        border: #5589aa 1px solid; 
</del><ins>+        background: #e0e0e0 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x;
+        border: #5589aa 1px solid;
</ins><span class="cx">         color: #464646;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadmineditcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-comments.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-comments.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/edit-comments.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx"> if ( !current_user_can('edit_posts') )
</span><span class="cx">         wp_die(__('Cheatin&amp;#8217; uh?'));
</span><del>-                        
</del><ins>+
</ins><span class="cx"> $wp_list_table = get_list_table('WP_Comments_List_Table');
</span><span class="cx"> $wp_list_table-&gt;check_permissions();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/edit-tags.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> $tax = get_taxonomy( $taxnow );
</span><span class="cx"> if ( !current_user_can( $tax-&gt;cap-&gt;manage_terms ) )
</span><span class="cx">         wp_die( __( 'Cheatin&amp;#8217; uh?' ) );
</span><del>-                        
</del><ins>+
</ins><span class="cx"> $wp_list_table = get_list_table('WP_Terms_List_Table');
</span><span class="cx"> $wp_list_table-&gt;check_permissions();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmedialisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-media-list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-media-list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/class-wp-media-list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -98,7 +98,7 @@
</span><span class="cx"> 
</span><span class="cx">                 if ( $this-&gt;detached ) {
</span><span class="cx">                         submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false );
</span><del>-                } elseif ( $this-&gt;is_trash &amp;&amp; current_user_can( 'edit_others_posts' ) ) { 
</del><ins>+                } elseif ( $this-&gt;is_trash &amp;&amp; current_user_can( 'edit_others_posts' ) ) {
</ins><span class="cx">                         submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false );
</span><span class="cx">                 } ?&gt;
</span><span class="cx">                 &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmssiteslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-ms-sites-list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-ms-sites-list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/class-wp-ms-sites-list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx">                         echo &quot;&lt;tr class='$class'&gt;&quot;;
</span><span class="cx"> 
</span><span class="cx">                         $blogname = ( is_subdomain_install() ) ? str_replace( '.'.$current_site-&gt;domain, '', $blog['domain'] ) : $blog['path'];
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         list( $columns, $hidden ) = $this-&gt;get_column_info();
</span><span class="cx"> 
</span><span class="cx">                         foreach ( $columns as $column_name =&gt; $column_display_name ) {
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmsthemeslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-ms-themes-list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-ms-themes-list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/class-wp-ms-themes-list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx">  * @since 3.1.0
</span><span class="cx">  */
</span><span class="cx"> class WP_MS_Themes_List_Table extends WP_List_Table {
</span><del>-        
</del><ins>+
</ins><span class="cx">         var $site_id;
</span><span class="cx">         var $is_site_themes;
</span><span class="cx"> 
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">                         'plural' =&gt; 'plugins', // @todo replace with themes and add css
</span><span class="cx">                 ) );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function check_permissions() {
</span><span class="cx">                 if ( is_multisite() ) {
</span><span class="cx">                         $menu_perms = get_site_option( 'menu_items', array() );
</span><span class="lines">@@ -45,9 +45,9 @@
</span><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                if ( $this-&gt;is_site_themes &amp;&amp; !current_user_can('manage_sites') ) 
-                        wp_die( __( 'You do not have sufficient permissions to manage themes for this site.' ) ); 
-                else if ( !$this-&gt;is_site_themes &amp;&amp; !current_user_can('manage_network_themes') ) 
</del><ins>+                if ( $this-&gt;is_site_themes &amp;&amp; !current_user_can('manage_sites') )
+                        wp_die( __( 'You do not have sufficient permissions to manage themes for this site.' ) );
+                else if ( !$this-&gt;is_site_themes &amp;&amp; !current_user_can('manage_network_themes') )
</ins><span class="cx">                         wp_die( __( 'You do not have sufficient permissions to manage network themes.' ) );
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">                         'upgrade' =&gt; array()
</span><span class="cx">                 );
</span><span class="cx"> 
</span><del>-                $site_allowed_themes = get_site_allowed_themes(); 
</del><ins>+                $site_allowed_themes = get_site_allowed_themes();
</ins><span class="cx">                 if ( !$this-&gt;is_site_themes ) {
</span><span class="cx">                         $allowed_themes = $site_allowed_themes;
</span><span class="cx">                         $themes_per_page = $this-&gt;get_items_per_page( 'themes_network_per_page' );
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">                         $allowed_themes = wpmu_get_blog_allowedthemes( $this-&gt;site_id );
</span><span class="cx">                         $themes_per_page = $this-&gt;get_items_per_page( 'site_themes_network_per_page' );
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $current = get_site_transient( 'update_themes' );
</span><span class="cx"> 
</span><span class="cx">                 foreach ( (array) $themes['all'] as $key =&gt; $theme ) {
</span><span class="lines">@@ -89,10 +89,10 @@
</span><span class="cx">                         if ( isset( $current-&gt;response[ $theme['Template'] ] ) )
</span><span class="cx">                                 $themes['upgrade'][$key] = $themes['all'][$key];
</span><span class="cx"> 
</span><del>-                        if ( $this-&gt;is_site_themes &amp;&amp; isset( $site_allowed_themes[$theme_key] ) ) { 
-                                unset( $themes['all'][$key] ); 
-                                unset( $themes['enabled'][$key] ); 
-                                unset( $themes['disabled'][$key] ); 
</del><ins>+                        if ( $this-&gt;is_site_themes &amp;&amp; isset( $site_allowed_themes[$theme_key] ) ) {
+                                unset( $themes['all'][$key] );
+                                unset( $themes['enabled'][$key] );
+                                unset( $themes['disabled'][$key] );
</ins><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="lines">@@ -131,7 +131,7 @@
</span><span class="cx">                         'per_page' =&gt; $themes_per_page,
</span><span class="cx">                 ) );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function _search_callback( $theme ) {
</span><span class="cx">                 static $term;
</span><span class="cx">                 if ( is_null( $term ) )
</span><span class="lines">@@ -211,9 +211,9 @@
</span><span class="cx">                                         break;
</span><span class="cx">                         }
</span><span class="cx"> 
</span><del>-                        if ( $this-&gt;is_site_themes ) 
-                                $url = 'site-themes.php?id=' . $this-&gt;site_id; 
-                        else 
</del><ins>+                        if ( $this-&gt;is_site_themes )
+                                $url = 'site-themes.php?id=' . $this-&gt;site_id;
+                        else
</ins><span class="cx">                                 $url = 'themes.php';
</span><span class="cx"> 
</span><span class="cx">                         $status_links[$type] = sprintf( &quot;&lt;a href='%s' %s&gt;%s&lt;/a&gt;&quot;,
</span><span class="lines">@@ -236,7 +236,7 @@
</span><span class="cx">                         $actions['disable-selected'] = __( 'Disable' );
</span><span class="cx">                 if ( current_user_can( 'update_themes' ) )
</span><span class="cx">                         $actions['update-selected'] = __( 'Update' );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 return $actions;
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -332,8 +332,8 @@
</span><span class="cx">                                         echo implode( ' | ', $theme_meta );
</span><span class="cx"> 
</span><span class="cx">                                         echo &quot;&lt;/div&gt;&lt;/td&gt;&quot;;
</span><del>-                                        break;        
</del><span class="cx">                                         break;
</span><ins>+                                        break;
</ins><span class="cx">                                 default:
</span><span class="cx">                                         echo &quot;&lt;td class='$column_name column-$column_name'$style&gt;&quot;;
</span><span class="cx">                                         do_action( 'manage_themes_custom_column', $column_name, $theme_key, $theme );
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppluginslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-plugins-list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-plugins-list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/class-wp-plugins-list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -257,7 +257,7 @@
</span><span class="cx">                 $screen = get_current_screen();
</span><span class="cx"> 
</span><span class="cx">                 if ( 'active' != $status ) {
</span><del>-                        $action = $screen-&gt;is_network ? 'network-activate-selected' : 'activate-selected'; 
</del><ins>+                        $action = $screen-&gt;is_network ? 'network-activate-selected' : 'activate-selected';
</ins><span class="cx">                         $actions[ $action ] = __( 'Activate' );
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="lines">@@ -432,7 +432,7 @@
</span><span class="cx">                                         }
</span><span class="cx">                                         if ( ! empty( $plugin_data['PluginURI'] ) )
</span><span class="cx">                                                 $plugin_meta[] = '&lt;a href=&quot;' . $plugin_data['PluginURI'] . '&quot; title=&quot;' . __( 'Visit plugin site' ) . '&quot;&gt;' . __( 'Visit plugin site' ) . '&lt;/a&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">                                         $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );
</span><span class="cx">                                         echo implode( ' | ', $plugin_meta );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-posts-list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-posts-list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/class-wp-posts-list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -666,7 +666,7 @@
</span><span class="cx"> 
</span><span class="cx">                         default:
</span><span class="cx">                         ?&gt;
</span><del>-                        &lt;td &lt;?php echo $attributes ?&gt;&gt;&lt;?php 
</del><ins>+                        &lt;td &lt;?php echo $attributes ?&gt;&gt;&lt;?php
</ins><span class="cx">                                 if ( 'page' == $post-&gt;post_type )
</span><span class="cx">                                         do_action( 'manage_pages_custom_column', $column_name, $post-&gt;ID );
</span><span class="cx">                                 else
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/dashboard.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx">                 list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 );
</span><span class="cx">                 $widget_name .= ' &lt;span class=&quot;postbox-title-action&quot;&gt;&lt;a href=&quot;' . esc_url( &quot;$url#$widget_id&quot; ) . '&quot; class=&quot;edit-box open-box&quot;&gt;' . __( 'Configure' ) . '&lt;/a&gt;&lt;/span&gt;';
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( is_blog_admin () )
</span><span class="cx">                 $side_widgets = array('dashboard_quick_press', 'dashboard_recent_drafts', 'dashboard_primary', 'dashboard_secondary');
</span><span class="cx">         else if (is_network_admin() )
</span><span class="lines">@@ -421,7 +421,7 @@
</span><span class="cx"> 
</span><span class="cx">         $user_text = sprintf( _n( '%s user', '%s users', $c_users ), number_format_i18n( $c_users ) );
</span><span class="cx">         $blog_text = sprintf( _n( '%s site', '%s sites', $c_blogs ), number_format_i18n( $c_blogs ) );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $sentence = sprintf( __( 'You have %1$s and %2$s.' ), $blog_text, $user_text );
</span><span class="cx"> 
</span><span class="cx">         if ( $actions ) {
</span></span></pre></div>
<a id="trunkwpadminincludesfilephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/file.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/file.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/file.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5.0
</span><span class="cx">  *
</span><del>- * @uses get_home_path 
</del><ins>+ * @uses get_home_path
</ins><span class="cx">  * @uses WP_CONTENT_DIR full filesystem path to the wp-content directory
</span><span class="cx">  * @param string $file filesystem path relative to the WordPress install directory or to the wp-content directory
</span><span class="cx">  * @return string full file system path to edit
</span><span class="lines">@@ -254,7 +254,7 @@
</span><span class="cx">  * @uses current_user_can
</span><span class="cx">  * @uses wp_upload_dir
</span><span class="cx">  * @uses wp_unique_filename
</span><del>- * @uses delete_transient   
</del><ins>+ * @uses delete_transient
</ins><span class="cx">  * @param array $file Reference to a single element of $_FILES. Call the function once for each uploaded file.
</span><span class="cx">  * @param array $overrides Optional. An associative array of names=&gt;values to override default variables with extract( $overrides, EXTR_OVERWRITE ).
</span><span class="cx">  * @return array On success, returns an associative array of file attributes. On failure, returns $overrides['upload_error_handler'](&amp;$file, $message ) or array( 'error'=&gt;$message ).
</span></span></pre></div>
<a id="trunkwpadminincludeslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/list-table.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/list-table.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/list-table.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -17,7 +17,7 @@
</span><span class="cx">  */
</span><span class="cx"> function get_list_table( $class ) {
</span><span class="cx">         $class = apply_filters( &quot;get_list_table_$class&quot;, $class );
</span><del>-        
</del><ins>+
</ins><span class="cx">         require_list_table( $class );
</span><span class="cx"> 
</span><span class="cx">         if ( class_exists( $class ) )
</span></span></pre></div>
<a id="trunkwpadminincludesmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/media.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/media.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/media.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -1119,7 +1119,7 @@
</span><span class="cx">                 $thumb_url = false;
</span><span class="cx"> 
</span><span class="cx">         $post = get_post( $attachment_id );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $default_args = array( 'errors' =&gt; null, 'send' =&gt; $post-&gt;post_parent ? post_type_supports( get_post_type( $post-&gt;post_parent ), 'editor' ) : true, 'delete' =&gt; true, 'toggle' =&gt; true, 'show_title' =&gt; true );
</span><span class="cx">         $args = wp_parse_args( $args, $default_args );
</span><span class="cx">         extract( $args, EXTR_SKIP );
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/meta-boxes.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -155,7 +155,7 @@
</span><span class="cx"> if ( current_theme_supports( 'post-formats' ) &amp;&amp; post_type_supports( $post-&gt;post_type, 'post-formats' ) ) :
</span><span class="cx"> $post_formats = get_theme_support( 'post-formats' );
</span><span class="cx"> 
</span><del>-if ( is_array( $post_formats[0] ) ) : 
</del><ins>+if ( is_array( $post_formats[0] ) ) :
</ins><span class="cx">         $post_format = get_post_format( $post-&gt;ID );
</span><span class="cx">         if ( !$post_format )
</span><span class="cx">                 $post_format = '0';
</span></span></pre></div>
<a id="trunkwpadminincludespluginphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/plugin.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/plugin.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/plugin.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -485,7 +485,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @param string $plugin Plugin path to main plugin file with plugin data.
</span><span class="cx">  * @param string $redirect Optional. URL to redirect to.
</span><del>- * @param bool $network_wide Whether to enable the plugin for all sites in the 
</del><ins>+ * @param bool $network_wide Whether to enable the plugin for all sites in the
</ins><span class="cx">  *   network or just the current site. Multisite only. Default is false.
</span><span class="cx">  * @param bool $silent Prevent calling activation hooks. Optional, default is false.
</span><span class="cx">  * @return WP_Error|null WP_Error on invalid file or null on success.
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/includes/template.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -2119,7 +2119,7 @@
</span><span class="cx">                         $class = $type; // Custom cases can just pass in the classes they want to be used
</span><span class="cx">         endswitch;
</span><span class="cx">         $text = ( NULL == $text ) ? __( 'Save Changes' ) : $text;
</span><del>-        
</del><ins>+
</ins><span class="cx">         $attributes = '';
</span><span class="cx">         if ( is_array( $other_attributes ) ) {
</span><span class="cx">                 foreach ( $other_attributes as $attribute =&gt; $value ) {
</span><span class="lines">@@ -2128,19 +2128,19 @@
</span><span class="cx">         } else if ( !empty( $other_attributes ) ) { // Attributes provided as a string
</span><span class="cx">                 $attributes = $other_attributes;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Default the id attribute to $name unless an id was specifically provided in $other_attributes
</span><span class="cx">         $id = $name;
</span><span class="cx">         if ( is_array( $other_attributes ) &amp;&amp; isset( $other_attributes['id'] ) )
</span><span class="cx">                 $id = $other_attributes['id'];
</span><del>-        
</del><ins>+
</ins><span class="cx">         $button = '&lt;input type=&quot;submit&quot; name=&quot;' . esc_attr( $name ) . '&quot; id=&quot;' . esc_attr( $id ) . '&quot; class=&quot;' . esc_attr( $class );
</span><span class="cx">         $button        .= '&quot; value=&quot;' . esc_attr( $text ) . '&quot; ' . $attributes . ' /&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( $wrap ) {
</span><span class="cx">                 $button = '&lt;p class=&quot;submit&quot;&gt;' . $button . '&lt;/p&gt;';
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         return $button;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminjslisttabledevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/list-table.dev.js (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/list-table.dev.js        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/js/list-table.dev.js        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx">                         if ( true === value )
</span><span class="cx">                                 data[key] = '';
</span><span class="cx">                         else
</span><del>-                                data[key] = value;                
</del><ins>+                                data[key] = value;
</ins><span class="cx">                 });
</span><span class="cx"> 
</span><span class="cx">                 this._callback = callback;
</span></span></pre></div>
<a id="trunkwpadminmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/media.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/media.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/media.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">         wp_enqueue_script( 'wp-ajax-response' );
</span><span class="cx">         wp_enqueue_script('image-edit');
</span><span class="cx">         wp_enqueue_style('imgareaselect');
</span><del>-        
</del><ins>+
</ins><span class="cx">         add_contextual_help( $current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('This screen allows you to edit five fields for metadata in a file within the media library.') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.') . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/widgets.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/widgets.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-admin/widgets.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -311,7 +311,7 @@
</span><span class="cx">         &lt;a href=&quot;widgets.php&quot; class=&quot;button alignleft&quot;&gt;&lt;?php _e('Cancel'); ?&gt;&lt;/a&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx">         } else {
</span><del>-                submit_button( __( 'Delete' ), 'button alignleft', 'removewidget', false ); 
</del><ins>+                submit_button( __( 'Delete' ), 'button alignleft', 'removewidget', false );
</ins><span class="cx">         }
</span><span class="cx">         submit_button( __( 'Save Widget' ), 'button-primary alignright', 'savewidget', false ); ?&gt;
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;widget-id&quot; class=&quot;widget-id&quot; value=&quot;&lt;?php echo esc_attr($widget_id); ?&gt;&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpincludesadminbarphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/admin-bar.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/admin-bar.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/admin-bar.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">  *
</span><span class="cx">  * This code handles the building and rendering of the press bar.
</span><span class="cx">  */
</span><del>- 
</del><ins>+
</ins><span class="cx"> /**
</span><span class="cx">  * Instantiate the admin bar object and set it up as a global for access elsewhere.
</span><span class="cx">  *
</span><span class="lines">@@ -22,11 +22,11 @@
</span><span class="cx"> 
</span><span class="cx">         /* Instantiate the admin bar */
</span><span class="cx">         $admin_bar_class = apply_filters( 'wp_admin_bar_class', 'WP_Admin_Bar' );
</span><del>-        if ( class_exists( $admin_bar_class ) ) 
</del><ins>+        if ( class_exists( $admin_bar_class ) )
</ins><span class="cx">                 $wp_admin_bar = new $admin_bar_class;
</span><span class="cx">         else
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         $wp_admin_bar-&gt;initialize();
</span><span class="cx">         $wp_admin_bar-&gt;add_menus();
</span><span class="cx"> 
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx">         $wp_admin_bar-&gt;render();
</span><span class="cx"> 
</span><span class="cx">         do_action( 'wp_after_admin_bar_render' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $wp_admin_bar-&gt;unload_user_locale_translations();
</span><span class="cx"> }
</span><span class="cx"> add_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
</span><span class="lines">@@ -87,11 +87,11 @@
</span><span class="cx">         global $wp_admin_bar, $user_identity;
</span><span class="cx"> 
</span><span class="cx">         $user_id = get_current_user_id();
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( 0 != $user_id ) {
</span><span class="cx">                 /* Add the 'My Account' menu */
</span><span class="cx">                 $wp_admin_bar-&gt;add_menu( array( 'id' =&gt; 'my-account', 'title' =&gt; $user_identity,  'href' =&gt; get_edit_profile_url( $user_id ) ) );
</span><del>-        
</del><ins>+
</ins><span class="cx">                 /* Add the &quot;My Account&quot; sub menus */
</span><span class="cx">                 $wp_admin_bar-&gt;add_menu( array( 'parent' =&gt; 'my-account', 'title' =&gt; __( 'Edit My Profile' ), 'href' =&gt; get_edit_profile_url( $user_id ) ) );
</span><span class="cx">                 if ( is_multisite() )
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Provide a shortlink.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  */
</span><span class="cx"> function wp_admin_bar_shortlink_menu() {
</span><span class="lines">@@ -171,7 +171,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Provide an edit link for posts and terms.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  */
</span><span class="cx"> function wp_admin_bar_edit_menu () {
</span><span class="lines">@@ -197,7 +197,7 @@
</span><span class="cx">                 $ptype_obj = get_post_type_object( $ptype );
</span><span class="cx">                 if ( $ptype_obj-&gt;show_in_menu !== true || ! current_user_can( $ptype_obj-&gt;cap-&gt;edit_posts ) )
</span><span class="cx">                         continue;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 $actions[&quot;post-new.php?post_type=$ptype&quot;] = array( $ptype_obj-&gt;labels-&gt;singular_name, $ptype_obj-&gt;cap-&gt;edit_posts, &quot;new-$ptype&quot; );
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -259,7 +259,7 @@
</span><span class="cx">         if ( !empty($update_wordpress) &amp;&amp; !in_array( $update_wordpress[0]-&gt;response, array('development', 'latest') ) )
</span><span class="cx">                 $wordpress_update_count = 1;
</span><span class="cx">         */
</span><del>- 
</del><ins>+
</ins><span class="cx">         $update_count = $plugin_update_count + $theme_update_count + $wordpress_update_count;
</span><span class="cx"> 
</span><span class="cx">         if ( !$update_count )
</span><span class="lines">@@ -297,16 +297,16 @@
</span><span class="cx"> function wp_admin_body_style() {
</span><span class="cx">         ?&gt;
</span><span class="cx">         &lt;style type=&quot;text/css&quot;&gt;
</span><del>-                &lt;?php 
-                
-                if ( 
-                        ( empty( $_GET['nobump'] ) || is_admin() ) &amp;&amp; 
-                        ! strpos( $_SERVER['REQUEST_URI'], 'media-upload.php' ) 
-                ) : 
</del><ins>+                &lt;?php
+
+                if (
+                        ( empty( $_GET['nobump'] ) || is_admin() ) &amp;&amp;
+                        ! strpos( $_SERVER['REQUEST_URI'], 'media-upload.php' )
+                ) :
</ins><span class="cx">                         ?&gt;
</span><span class="cx">                         body { padding-top: 28px !important; }
</span><del>-                        &lt;?php 
-                endif; 
</del><ins>+                        &lt;?php
+                endif;
</ins><span class="cx"> 
</span><span class="cx">                 if ( in_array( get_current_theme(), array('H3', 'H4', 'The Journalist v1.9') ) ) :
</span><span class="cx">                         ?&gt;
</span><span class="lines">@@ -328,11 +328,11 @@
</span><span class="cx">  */
</span><span class="cx"> function is_admin_bar_showing() {
</span><span class="cx">         global $show_admin_bar;
</span><del>-        
</del><ins>+
</ins><span class="cx">         /* For all these types of request we never want an admin bar period */
</span><span class="cx">         if ( defined('XMLRPC_REQUEST') || defined('APP_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') )
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( ! isset( $show_admin_bar ) || null === $show_admin_bar ) {
</span><span class="cx">                 if ( ! is_user_logged_in() || ( is_admin() &amp;&amp; ! is_multisite() ) ) {
</span><span class="cx">                         $show_admin_bar = false;
</span></span></pre></div>
<a id="trunkwpincludesclasswpadminbarphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-admin-bar.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-admin-bar.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/class-wp-admin-bar.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 /* Set the protocol used throughout this code */
</span><del>-                if ( is_ssl() ) 
</del><ins>+                if ( is_ssl() )
</ins><span class="cx">                         $this-&gt;proto = 'https://';
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;user = new stdClass;
</span><span class="lines">@@ -97,7 +97,7 @@
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;adminbarsearch-wrap&quot;&gt;
</span><span class="cx">                                 &lt;form action=&quot;&lt;?php echo home_url(); ?&gt;&quot; method=&quot;get&quot; id=&quot;adminbarsearch&quot;&gt;
</span><del>-                                        &lt;input class=&quot;adminbar-input&quot; name=&quot;s&quot; id=&quot;adminbar-search&quot; type=&quot;text&quot; title=&quot;&lt;?php esc_attr_e( 'Search' ); ?&gt;&quot; value=&quot;&quot; maxlength=&quot;150&quot; /&gt; 
</del><ins>+                                        &lt;input class=&quot;adminbar-input&quot; name=&quot;s&quot; id=&quot;adminbar-search&quot; type=&quot;text&quot; title=&quot;&lt;?php esc_attr_e( 'Search' ); ?&gt;&quot; value=&quot;&quot; maxlength=&quot;150&quot; /&gt;
</ins><span class="cx">                                         &lt;button type=&quot;submit&quot; class=&quot;adminbar-button&quot;&gt;&lt;span&gt;&lt;?php _e('Search'); ?&gt;&lt;/span&gt;&lt;/button&gt;
</span><span class="cx">                                 &lt;/form&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><span class="lines">@@ -112,31 +112,31 @@
</span><span class="cx">         function recursive_render( $id, &amp;$menu_item ) { ?&gt;
</span><span class="cx">                 &lt;?php $menuclass = ( ! empty( $menu_item['children'] ) ) ? 'menupop ' : ''; ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;li class=&quot;&lt;?php echo $menuclass . &quot;ab-$id&quot; ?&gt;&lt;?php 
-                        if ( ! empty( $menu_item['meta']['class'] ) ) : 
</del><ins>+                &lt;li class=&quot;&lt;?php echo $menuclass . &quot;ab-$id&quot; ?&gt;&lt;?php
+                        if ( ! empty( $menu_item['meta']['class'] ) ) :
</ins><span class="cx">                                 echo ' ' . $menu_item['meta']['class'];
</span><del>-                        endif; 
</del><ins>+                        endif;
</ins><span class="cx">                 ?&gt;&quot;&gt;
</span><del>-                        &lt;a href=&quot;&lt;?php echo strip_tags( $menu_item['href'] ) ?&gt;&quot;&lt;?php 
</del><ins>+                        &lt;a href=&quot;&lt;?php echo strip_tags( $menu_item['href'] ) ?&gt;&quot;&lt;?php
</ins><span class="cx">                                 if ( ! empty( $menu_item['meta']['onclick'] ) ) :
</span><del>-                                        ?&gt; onclick=&quot;&lt;?php echo $menu_item['meta']['onclick']; ?&gt;&quot;&lt;?php 
</del><ins>+                                        ?&gt; onclick=&quot;&lt;?php echo $menu_item['meta']['onclick']; ?&gt;&quot;&lt;?php
</ins><span class="cx">                                 endif;
</span><span class="cx">                         if ( ! empty( $menu_item['meta']['target'] ) ) :
</span><del>-                                ?&gt; target=&quot;&lt;?php echo $menu_item['meta']['target']; ?&gt;&quot;&lt;?php 
-                        endif; 
-                        
-                        ?&gt;&gt;&lt;?php 
-                        
-                        if ( ! empty( $menuclass ) ) : 
-                                ?&gt;&lt;span&gt;&lt;?php 
-                        endif; 
-                        
</del><ins>+                                ?&gt; target=&quot;&lt;?php echo $menu_item['meta']['target']; ?&gt;&quot;&lt;?php
+                        endif;
+
+                        ?&gt;&gt;&lt;?php
+
+                        if ( ! empty( $menuclass ) ) :
+                                ?&gt;&lt;span&gt;&lt;?php
+                        endif;
+
</ins><span class="cx">                         echo $menu_item['title'];
</span><del>-                        
-                        if ( ! empty( $menuclass ) ) : 
-                                ?&gt;&lt;/span&gt;&lt;?php 
-                        endif; 
-                        
</del><ins>+
+                        if ( ! empty( $menuclass ) ) :
+                                ?&gt;&lt;/span&gt;&lt;?php
+                        endif;
+
</ins><span class="cx">                         ?&gt;&lt;/a&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php if ( ! empty( $menu_item['children'] ) ) : ?&gt;
</span><span class="lines">@@ -164,7 +164,7 @@
</span><span class="cx">                         if ( ! empty( $menu-&gt;{$id}['children'] ) )
</span><span class="cx">                                 $this-&gt;add_node( $parent_id, $menu-&gt;{$id}['children'], $child );
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $child = null;
</span><span class="cx"> 
</span><span class="cx">                 return false;
</span><span class="lines">@@ -204,7 +204,7 @@
</span><span class="cx">         // TODO: Convert to a core feature for multisite or remove
</span><span class="cx">         function load_user_locale_translations() {
</span><span class="cx">                 $this-&gt;need_to_change_locale = ( get_locale() != $this-&gt;user-&gt;locale );
</span><del>-                if ( ! $this-&gt;need_to_change_locale ) 
</del><ins>+                if ( ! $this-&gt;need_to_change_locale )
</ins><span class="cx">                         return;
</span><span class="cx">                 /*
</span><span class="cx">                 $this-&gt;previous_translations = get_translations_for_domain( 'default' );
</span><span class="lines">@@ -218,7 +218,7 @@
</span><span class="cx"> 
</span><span class="cx">         function unload_user_locale_translations() {
</span><span class="cx">                 global $l10n;
</span><del>-                if ( ! $this-&gt;changed_locale ) 
</del><ins>+                if ( ! $this-&gt;changed_locale )
</ins><span class="cx">                         return;
</span><span class="cx">                 /*
</span><span class="cx">                 remove_filter( 'locale', $this-&gt;adminbar_locale_filter );
</span></span></pre></div>
<a id="trunkwpincludesclasswphttpixrclientphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-http-ixr-client.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-http-ixr-client.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/class-wp-http-ixr-client.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx">                 $this-&gt;path = '/';
</span><span class="cx">             }
</span><span class="cx">         } else {
</span><del>-                $this-&gt;scheme = 'http'; 
</del><ins>+                $this-&gt;scheme = 'http';
</ins><span class="cx">             $this-&gt;server = $server;
</span><span class="cx">             $this-&gt;path = $path;
</span><span class="cx">             $this-&gt;port = $port;
</span><span class="lines">@@ -45,30 +45,30 @@
</span><span class="cx">             'user-agent' =&gt; $this-&gt;useragent,
</span><span class="cx">             'body'       =&gt; $xml,
</span><span class="cx">         );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Merge Custom headers ala #8145
</span><span class="cx">                 foreach ( $this-&gt;headers as $header =&gt; $value )
</span><span class="cx">                         $args['headers'][$header] = $value;
</span><del>-        
</del><ins>+
</ins><span class="cx">                 if ( $this-&gt;timeout !== false )
</span><span class="cx">                         $args['timeout'] = $this-&gt;timeout;
</span><del>-                
</del><ins>+
</ins><span class="cx">         // Now send the request
</span><span class="cx">         if ($this-&gt;debug) {
</span><span class="cx">             echo '&lt;pre class=&quot;ixr_request&quot;&gt;'.htmlspecialchars($xml).&quot;\n&lt;/pre&gt;\n\n&quot;;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-                $response = wp_remote_post($url, $args); 
</del><ins>+                $response = wp_remote_post($url, $args);
</ins><span class="cx"> 
</span><del>-                if ( is_wp_error($response) ) { 
-                        $errno    = $response-&gt;get_error_code(); 
-                        $errorstr = $response-&gt;get_error_message(); 
-                        $this-&gt;error = new IXR_Error(-32300, &quot;transport error: $errno $errstr&quot;); 
</del><ins>+                if ( is_wp_error($response) ) {
+                        $errno    = $response-&gt;get_error_code();
+                        $errorstr = $response-&gt;get_error_message();
+                        $this-&gt;error = new IXR_Error(-32300, &quot;transport error: $errno $errstr&quot;);
</ins><span class="cx">                         return false;
</span><span class="cx">                 }
</span><del>-         
-                $code = $response['response']['code']; 
-                if ( $code != 200 ) { 
</del><ins>+
+                $code = $response['response']['code'];
+                if ( $code != 200 ) {
</ins><span class="cx">                         $this-&gt;error = new IXR_Error(-32301, &quot;transport error - HTTP status code was not 200 ($code)&quot;);             return false;
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesclasswpxmlrpcserverphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-xmlrpc-server.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-xmlrpc-server.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/class-wp-xmlrpc-server.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -1488,12 +1488,12 @@
</span><span class="cx">          *
</span><span class="cx">          * @since 3.1.0
</span><span class="cx">          *
</span><del>-         * @param array $args Method parameters. Contains: 
</del><ins>+         * @param array $args Method parameters. Contains:
</ins><span class="cx">          *  - blog_id
</span><span class="cx">          *  - username
</span><span class="cx">          *  - password
</span><span class="cx">          *  - attachment_id
</span><del>-         * @return array. Assocciative array containing: 
</del><ins>+         * @return array. Assocciative array containing:
</ins><span class="cx">          *  - 'date_created_gmt'
</span><span class="cx">          *  - 'parent'
</span><span class="cx">          *  - 'link'
</span><span class="lines">@@ -1545,18 +1545,18 @@
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * Retrieves a collection of media library items (or attachments)
</span><del>-         * 
-         * Besides the common blog_id, username, and password arguments, it takes a filter 
</del><ins>+         *
+         * Besides the common blog_id, username, and password arguments, it takes a filter
</ins><span class="cx">          * array as last argument.
</span><del>-         * 
</del><ins>+         *
</ins><span class="cx">          * Accepted 'filter' keys are 'parent_id', 'mime_type', 'offset', and 'number'.
</span><del>-         * 
</del><ins>+         *
</ins><span class="cx">          * The defaults are as follows:
</span><span class="cx">          * - 'number' - Default is 5. Total number of media items to retrieve.
</span><span class="cx">          * - 'offset' - Default is 0. See {@link WP_Query::query()} for more.
</span><span class="cx">          * - 'parent_id' - Default is ''. The post where the media item is attached. Empty string shows all media items. 0 shows unattached media items.
</span><span class="cx">          * - 'mime_type' - Default is ''. Filter by mime type (e.g., 'image/jpeg', 'application/pdf')
</span><del>-         * 
</del><ins>+         *
</ins><span class="cx">          * @since 3.1.0
</span><span class="cx">          *
</span><span class="cx">          * @param array $args Method parameters. Contains:
</span><span class="lines">@@ -1587,7 +1587,7 @@
</span><span class="cx">                 $mime_type = ( isset($struct['mime_type']) ) ? $struct['mime_type'] : '' ;
</span><span class="cx">                 $offset = ( isset($struct['offset']) ) ? absint($struct['offset']) : 0 ;
</span><span class="cx">                 $number = ( isset($struct['number']) ) ? absint($struct['number']) : -1 ;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $attachments = get_posts( array('post_type' =&gt; 'attachment', 'post_parent' =&gt; $parent_id, 'offset' =&gt; $offset, 'numberposts' =&gt; $number, 'post_mime_type' =&gt; $mime_type ) );
</span><span class="cx">                 $num_attachments = count($attachments);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesclasswpscriptsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class.wp-scripts.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class.wp-scripts.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/class.wp-scripts.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -185,7 +185,7 @@
</span><span class="cx"> 
</span><span class="cx">                 if ( 0 === strpos( $src, '/wp-includes/js/l10n' ) )
</span><span class="cx">                         return false;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 foreach ( (array) $this-&gt;default_dirs as $test ) {
</span><span class="cx">                         if ( 0 === strpos($src, $test) )
</span><span class="cx">                                 return true;
</span></span></pre></div>
<a id="trunkwpincludescommentphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/comment.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/comment.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/comment.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -1764,7 +1764,7 @@
</span><span class="cx">         global $wp_version;
</span><span class="cx">         include_once(ABSPATH . WPINC . '/class-IXR.php');
</span><span class="cx">         include_once(ABSPATH . WPINC . '/class-wp-http-ixr-client.php');
</span><del>-        
</del><ins>+
</ins><span class="cx">         // original code by Mort (http://mort.mine.nu:8080)
</span><span class="cx">         $post_links = array();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesformattingphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/formatting.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/formatting.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/formatting.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -223,7 +223,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Newline preservation help function for wpautop
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  * @access private
</span><span class="cx">  * @param array $matches preg_replace_callback matches array
</span><span class="lines">@@ -737,7 +737,7 @@
</span><span class="cx">  * Sanitize username stripping out unsafe characters.
</span><span class="cx">  *
</span><span class="cx">  * Removes tags, octets, entities, and if strict is enabled, will only keep
</span><del>- * alphanumeric, _, space, ., -, @. After sanitizing, it passes the username, 
</del><ins>+ * alphanumeric, _, space, ., -, @. After sanitizing, it passes the username,
</ins><span class="cx">  * raw username (the username in the parameter), and the value of $strict as
</span><span class="cx">  * parameters for the 'sanitize_user' filter.
</span><span class="cx">  *
</span><span class="lines">@@ -1574,14 +1574,14 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Helper function to convert hex encoded chars to ascii
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  * @access private
</span><span class="cx">  * @param $match the preg_replace_callback matches array
</span><span class="cx">  */
</span><del>-function _wp_iso_convert( $match ) { 
-        return chr( hexdec( strtolower( $match[1] ) ) ); 
-} 
</del><ins>+function _wp_iso_convert( $match ) {
+        return chr( hexdec( strtolower( $match[1] ) ) );
+}
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Returns a date in the GMT equivalent.
</span></span></pre></div>
<a id="trunkwpincludesfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/functions.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/functions.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/functions.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -119,7 +119,7 @@
</span><span class="cx">                 $dateformatstring = substr( $dateformatstring, 1, strlen( $dateformatstring ) -1 );
</span><span class="cx">         }
</span><span class="cx">         $timezone_formats = array( 'P', 'I', 'O', 'T', 'Z', 'e' );
</span><del>-        $timezone_formats_re = implode( '|', $timezone_formats );        
</del><ins>+        $timezone_formats_re = implode( '|', $timezone_formats );
</ins><span class="cx">         if ( preg_match( &quot;/$timezone_formats_re/&quot;, $dateformatstring ) &amp;&amp; wp_timezone_supported() ) {
</span><span class="cx">                 $timezone_string = get_option( 'timezone_string' );
</span><span class="cx">                 if ( $timezone_string ) {
</span><span class="lines">@@ -132,9 +132,9 @@
</span><span class="cx">                                         $dateformatstring = preg_replace( &quot;/([^\\\])$timezone_format/&quot;, &quot;\\1&quot; . backslashit( $formatted ), $dateformatstring );
</span><span class="cx">                                         $dateformatstring = substr( $dateformatstring, 1, strlen( $dateformatstring ) -1 );
</span><span class="cx">                                 }
</span><del>-                        }                        
</del><ins>+                        }
</ins><span class="cx">                 }
</span><del>-        } 
</del><ins>+        }
</ins><span class="cx">         $j = @$datefunc( $dateformatstring, $i );
</span><span class="cx">         // allow plugins to redo this entirely for languages with untypical grammars
</span><span class="cx">         $j = apply_filters('date_i18n', $j, $req_format, $i, $gmt);
</span><span class="lines">@@ -1184,7 +1184,7 @@
</span><span class="cx">  */
</span><span class="cx"> function do_enclose( $content, $post_ID ) {
</span><span class="cx">         global $wpdb;
</span><del>-        
</del><ins>+
</ins><span class="cx">         //TODO: Tidy this ghetto code up and make the debug code optional
</span><span class="cx">         include_once( ABSPATH . WPINC . '/class-IXR.php' );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesl10nphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/l10n.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/l10n.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/l10n.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -289,7 +289,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Translate the result of _n_noop() or _nx_noop()
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1
</span><span class="cx">  * @param array $nooped_plural array with singular, plural and context keys, usually the result of _n_noop() or _nx_noop()
</span><span class="cx">  * @param int $count number of objects
</span></span></pre></div>
<a id="trunkwpincludesmsadminbarphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/ms-admin-bar.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/ms-admin-bar.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/ms-admin-bar.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -12,11 +12,11 @@
</span><span class="cx"> 
</span><span class="cx">         /* Get the settings we need for the current site */
</span><span class="cx">         $matureaction = $current_blog-&gt;mature ? 'unmatureblog' : 'matureblog';
</span><del>-        $maturetext_confirm = $current_blog-&gt;mature ? 
-                sprintf( 
</del><ins>+        $maturetext_confirm = $current_blog-&gt;mature ?
+                sprintf(
</ins><span class="cx">                         esc_attr__( 'Are you sure you want to unmark %s as mature?' ),
</span><span class="cx">                         $current_blog-&gt;domain
</span><del>-                ) : 
</del><ins>+                ) :
</ins><span class="cx">                 sprintf(
</span><span class="cx">                         esc_attr__( 'Are you sure you want to mark %s as mature?' ),
</span><span class="cx">                         $current_blog-&gt;domain
</span><span class="lines">@@ -24,15 +24,15 @@
</span><span class="cx"> 
</span><span class="cx">         $suspendaction = $current_blog-&gt;spam ? 'unspamblog' : 'spamblog';
</span><span class="cx">         $suspendtext_confirm = $current_blog-&gt;spam ?
</span><del>-                sprintf( 
</del><ins>+                sprintf(
</ins><span class="cx">                         esc_attr__( 'Are you sure you want to unsuspend site %s?' ),
</span><span class="cx">                         $current_blog-&gt;domain
</span><del>-                ) : 
</del><ins>+                ) :
</ins><span class="cx">                 sprintf(
</span><span class="cx">                         esc_attr__( 'Are you sure you want to suspend site %s?' ),
</span><span class="cx">                         $current_blog-&gt;domain
</span><span class="cx">                 );
</span><del>-                
</del><ins>+
</ins><span class="cx">         $mature_url = network_admin_url( &quot;edit.php?action=confirm&amp;amp;action2={$matureaction}&amp;amp;id={$current_blog-&gt;blog_id}&amp;amp;msg=&quot; . urlencode( $maturetext_confirm ) );
</span><span class="cx">         $suspend_url = network_admin_url( &quot;edit.php?action=confirm&amp;amp;action2={$suspendaction}&amp;amp;id={$current_blog-&gt;blog_id}&amp;amp;msg=&quot; . urlencode( $suspendtext_confirm ) );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesmsfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/ms-functions.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/ms-functions.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/ms-functions.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -1374,7 +1374,7 @@
</span><span class="cx"> 
</span><span class="cx"> function add_existing_user_to_blog( $details = false ) {
</span><span class="cx">         global $blog_id;
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( is_array( $details ) ) {
</span><span class="cx">                 $result = add_user_to_blog( $blog_id, $details[ 'user_id' ], $details[ 'role' ] );
</span><span class="cx">                 do_action( 'added_existing_user', $details[ 'user_id' ], $result );
</span></span></pre></div>
<a id="trunkwpincludesposttemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/post-template.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/post-template.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/post-template.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -230,14 +230,14 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Preview fix for javascript bug with foreign languages
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  * @access private
</span><span class="cx">  * @param array $match Match array from preg_replace_callback
</span><span class="cx">  * @returns string
</span><span class="cx">  */
</span><span class="cx"> function _convert_urlencoded_to_entities( $match ) {
</span><del>-        return '&amp;#' . base_convert( $match[1], 16, 10 ) . ';'; 
</del><ins>+        return '&amp;#' . base_convert( $match[1], 16, 10 ) . ';';
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="lines">@@ -327,7 +327,7 @@
</span><span class="cx">         $classes[] = $post-&gt;post_type;
</span><span class="cx">         $classes[] = 'type-' . $post-&gt;post_type;
</span><span class="cx">         $classes[] = 'status-' . $post-&gt;post_status;
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Post Format
</span><span class="cx">         $post_format = get_post_format( $post-&gt;ID );
</span><span class="cx"> 
</span><span class="lines">@@ -339,7 +339,7 @@
</span><span class="cx">         // post requires password
</span><span class="cx">         if ( post_password_required($post-&gt;ID) )
</span><span class="cx">                 $classes[] = 'post-password-required';
</span><del>-        
</del><ins>+
</ins><span class="cx">         // sticky for Sticky Posts
</span><span class="cx">         if ( is_sticky($post-&gt;ID) &amp;&amp; is_home() &amp;&amp; !is_paged() )
</span><span class="cx">                 $classes[] = 'sticky';
</span><span class="lines">@@ -428,7 +428,7 @@
</span><span class="cx">                 $classes[] = 'single';
</span><span class="cx">                 $classes[] = 'single-' . sanitize_html_class($post-&gt;post_type, $post_id);
</span><span class="cx">                 $classes[] = 'postid-' . $post_id;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Post Format
</span><span class="cx">                 $post_format = get_post_format( $post-&gt;ID );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/post.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/post.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/post.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -2273,7 +2273,7 @@
</span><span class="cx">                 _deprecated_argument( __FUNCTION__, '3.1', __( 'Passing an integer number of posts is deprecated. Pass an array of arguments instead.' ) );
</span><span class="cx">                 $args = array( 'numberposts' =&gt; absint( $args ) );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Set default arguments
</span><span class="cx">         $defaults = array(
</span><span class="cx">                 'numberposts' =&gt; 10, 'offset' =&gt; 0,
</span><span class="lines">@@ -3137,9 +3137,9 @@
</span><span class="cx">                 $path = '/' . $leaf_path;
</span><span class="cx">                 $curpage = $page;
</span><span class="cx">                 while ( $curpage-&gt;post_parent != 0 ) {
</span><del>-                        $post_parent = $curpage-&gt;post_parent; 
-                        $curpage = wp_cache_get( $post_parent, 'posts' ); 
-                        if ( false === $curpage ) 
</del><ins>+                        $post_parent = $curpage-&gt;post_parent;
+                        $curpage = wp_cache_get( $post_parent, 'posts' );
+                        if ( false === $curpage )
</ins><span class="cx">                                 $curpage = $wpdb-&gt;get_row( $wpdb-&gt;prepare( &quot;SELECT ID, post_name, post_parent FROM $wpdb-&gt;posts WHERE ID = %d and post_type = %s&quot;, $post_parent, $post_type ) );
</span><span class="cx">                         $path = '/' . $curpage-&gt;post_name . $path;
</span><span class="cx">                 }
</span><span class="lines">@@ -5241,7 +5241,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 3.1.0
</span><span class="cx">  *
</span><del>- * @return array The array of translations 
</del><ins>+ * @return array The array of translations
</ins><span class="cx">  */
</span><span class="cx"> function get_post_format_strings() {
</span><span class="cx">         $strings = array(
</span><span class="lines">@@ -5260,7 +5260,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Returns a pretty, translated version of a post format slug
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  *
</span><span class="cx">  * @param string $slug A post format slug
</span></span></pre></div>
<a id="trunkwpincludesqueryphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/query.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/query.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/query.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Retrieve ID of the current queried object. Wrapper for $wp_query-&gt;get_queried_object_id()
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @uses WP_Query::get_queried_object_id()
</span><span class="cx">  *
</span><span class="cx">  * @since 3.1.0
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/script-loader.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx">         // Always ensure that we have the convertEntities function
</span><span class="cx">         $scripts-&gt;add( 'l10n', &quot;/wp-includes/js/l10n$suffix.js&quot;, false, '20101110' );
</span><span class="cx">         $scripts-&gt;enqueue( 'l10n' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $scripts-&gt;add( 'utils', &quot;/wp-admin/js/utils$suffix.js&quot;, false, '20101110' );
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20101116' );
</span><span class="lines">@@ -260,15 +260,15 @@
</span><span class="cx">         ) );
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'user-profile', &quot;/wp-admin/js/user-profile$suffix.js&quot;, array( 'jquery', 'password-strength-meter' ), '20100925' );
</span><del>-        $scripts-&gt;add_data( 'user-profile', 'group', 1 );        
</del><ins>+        $scripts-&gt;add_data( 'user-profile', 'group', 1 );
</ins><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'admin-bar', &quot;/wp-includes/js/admin-bar$suffix.js&quot;, false, '20101117');
</span><del>-        $scripts-&gt;add_data( 'admin-bar', 'group', 1 );        
</del><ins>+        $scripts-&gt;add_data( 'admin-bar', 'group', 1 );
</ins><span class="cx">         $scripts-&gt;localize( 'admin-bar', 'adminBarL10n', array(
</span><span class="cx">                 'url' =&gt; __( 'URL:' ),
</span><span class="cx">                 'noShortlink' =&gt; __( 'No shortlink available for this page.' ),
</span><span class="cx">         ) );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( is_admin() ) {
</span><span class="cx">                 $scripts-&gt;add( 'ajaxcat', &quot;/wp-admin/js/cat$suffix.js&quot;, array( 'wp-lists' ), '20090102' );
</span><span class="cx">                 $scripts-&gt;add_data( 'ajaxcat', 'group', 1 );
</span><span class="lines">@@ -501,7 +501,7 @@
</span><span class="cx">         $styles-&gt;add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
</span><span class="cx">         $styles-&gt;add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
</span><span class="cx">         $styles-&gt;add( 'nav-menu', &quot;/wp-admin/css/nav-menu$suffix.css&quot;, array(), '20100907' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Admin bar
</span><span class="cx">         $styles-&gt;add( 'admin-bar', &quot;/wp-includes/css/admin-bar$suffix.css&quot;, array(), '20101117' );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludestaxonomyphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/taxonomy.php (16437 => 16438)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/taxonomy.php        2010-11-17 18:25:42 UTC (rev 16437)
+++ trunk/wp-includes/taxonomy.php        2010-11-17 18:47:34 UTC (rev 16438)
</span><span class="lines">@@ -590,10 +590,10 @@
</span><span class="cx">                 else {
</span><span class="cx">                         // NOT IN is very slow for some reason
</span><span class="cx">                         $where .= &quot; AND $primary_table.$primary_id_column IN (
</span><del>-                                SELECT object_id 
-                                FROM $wpdb-&gt;term_relationships 
-                                WHERE term_taxonomy_id $operator ($terms) 
-                        )&quot;;                 
</del><ins>+                                SELECT object_id
+                                FROM $wpdb-&gt;term_relationships
+                                WHERE term_taxonomy_id $operator ($terms)
+                        )&quot;;
</ins><span class="cx">                 }
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -1179,7 +1179,7 @@
</span><span class="cx">         foreach ( $pieces as $piece )
</span><span class="cx">                 $$piece = isset( $clauses[ $piece ] ) ? $clauses[ $piece ] : '';
</span><span class="cx"> 
</span><del>-        $query = &quot;SELECT $fields FROM $wpdb-&gt;terms AS t $join WHERE $where $orderby $order $limits&quot;;        
</del><ins>+        $query = &quot;SELECT $fields FROM $wpdb-&gt;terms AS t $join WHERE $where $orderby $order $limits&quot;;
</ins><span class="cx"> 
</span><span class="cx">         $fields = $_fields;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>