<!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>[13733] trunk: Trim trailing whitespace</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13733">13733</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-03-17 16:27:25 +0000 (Wed, 17 Mar 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Trim trailing whitespace</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminheaderphp">trunk/wp-admin/admin-header.php</a></li>
<li><a href="#trunkwpadmincssinstalldevcss">trunk/wp-admin/css/install.dev.css</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadminexportphp">trunk/wp-admin/export.php</a></li>
<li><a href="#trunkwpadminincludesclasswpupgraderphp">trunk/wp-admin/includes/class-wp-upgrader.php</a></li>
<li><a href="#trunkwpadminincludesexportphp">trunk/wp-admin/includes/export.php</a></li>
<li><a href="#trunkwpadminincludesfilephp">trunk/wp-admin/includes/file.php</a></li>
<li><a href="#trunkwpadminincludesmiscphp">trunk/wp-admin/includes/misc.php</a></li>
<li><a href="#trunkwpadminincludesmsphp">trunk/wp-admin/includes/ms.php</a></li>
<li><a href="#trunkwpadminincludesnavmenuphp">trunk/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunkwpadminincludespluginphp">trunk/wp-admin/includes/plugin.php</a></li>
<li><a href="#trunkwpadminincludespostphp">trunk/wp-admin/includes/post.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminincludesupgradephp">trunk/wp-admin/includes/upgrade.php</a></li>
<li><a href="#trunkwpadminjscommondevjs">trunk/wp-admin/js/common.dev.js</a></li>
<li><a href="#trunkwpadminjsinlineeditpostdevjs">trunk/wp-admin/js/inline-edit-post.dev.js</a></li>
<li><a href="#trunkwpadminjsnavmenudevjs">trunk/wp-admin/js/nav-menu.dev.js</a></li>
<li><a href="#trunkwpadminmenuphp">trunk/wp-admin/menu.php</a></li>
<li><a href="#trunkwpadminmseditphp">trunk/wp-admin/ms-edit.php</a></li>
<li><a href="#trunkwpadminmssitesphp">trunk/wp-admin/ms-sites.php</a></li>
<li><a href="#trunkwpadminmsusersphp">trunk/wp-admin/ms-users.php</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpadminnetworkphp">trunk/wp-admin/network.php</a></li>
<li><a href="#trunkwpadminoptionsphp">trunk/wp-admin/options.php</a></li>
<li><a href="#trunkwpadminpluginsphp">trunk/wp-admin/plugins.php</a></li>
<li><a href="#trunkwpadmintoolsphp">trunk/wp-admin/tools.php</a></li>
<li><a href="#trunkwpadminupdatecorephp">trunk/wp-admin/update-core.php</a></li>
<li><a href="#trunkwpadminupdatephp">trunk/wp-admin/update.php</a></li>
<li><a href="#trunkwpadminuploadphp">trunk/wp-admin/upload.php</a></li>
<li><a href="#trunkwpincludesdefaultfiltersphp">trunk/wp-includes/default-filters.php</a></li>
<li><a href="#trunkwpincludesdefaultwidgetsphp">trunk/wp-includes/default-widgets.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="#trunkwpincludeslinktemplatephp">trunk/wp-includes/link-template.php</a></li>
<li><a href="#trunkwpincludesnavmenutemplatephp">trunk/wp-includes/nav-menu-template.php</a></li>
<li><a href="#trunkwpincludesnavmenuphp">trunk/wp-includes/nav-menu.php</a></li>
<li><a href="#trunkwpincludespluggablephp">trunk/wp-includes/pluggable.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="#trunkwpincludesrewritephp">trunk/wp-includes/rewrite.php</a></li>
<li><a href="#trunkwpincludestaxonomyphp">trunk/wp-includes/taxonomy.php</a></li>
<li><a href="#trunkwpsignupphp">trunk/wp-signup.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin-header.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-header.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/admin-header.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -35,15 +35,15 @@
</span><span class="cx"> //&lt;![CDATA[
</span><span class="cx"> addLoadEvent = function(func){if(typeof jQuery!=&quot;undefined&quot;)jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
</span><span class="cx"> var userSettings = {
</span><del>-                'url': '&lt;?php echo SITECOOKIEPATH; ?&gt;', 
</del><ins>+                'url': '&lt;?php echo SITECOOKIEPATH; ?&gt;',
</ins><span class="cx">                 'uid': '&lt;?php if ( ! isset($current_user) ) $current_user = wp_get_current_user(); echo $current_user-&gt;ID; ?&gt;',
</span><span class="cx">                 'time':'&lt;?php echo time() ?&gt;'
</span><span class="cx">         },
</span><del>-        ajaxurl = '&lt;?php echo admin_url('admin-ajax.php'); ?&gt;', 
-        pagenow = '&lt;?php echo $current_screen-&gt;id; ?&gt;', 
-        typenow = '&lt;?php if ( isset($current_screen-&gt;post_type) ) echo $current_screen-&gt;post_type; ?&gt;', 
-        adminpage = '&lt;?php echo $admin_body_class; ?&gt;',  
-        thousandsSeparator = '&lt;?php echo addslashes( $wp_locale-&gt;number_format['thousands_sep'] ); ?&gt;', 
</del><ins>+        ajaxurl = '&lt;?php echo admin_url('admin-ajax.php'); ?&gt;',
+        pagenow = '&lt;?php echo $current_screen-&gt;id; ?&gt;',
+        typenow = '&lt;?php if ( isset($current_screen-&gt;post_type) ) echo $current_screen-&gt;post_type; ?&gt;',
+        adminpage = '&lt;?php echo $admin_body_class; ?&gt;',
+        thousandsSeparator = '&lt;?php echo addslashes( $wp_locale-&gt;number_format['thousands_sep'] ); ?&gt;',
</ins><span class="cx">         decimalPoint = '&lt;?php echo addslashes( $wp_locale-&gt;number_format['decimal_point'] ); ?&gt;';
</span><span class="cx"> //]]&gt;
</span><span class="cx"> &lt;/script&gt;
</span></span></pre></div>
<a id="trunkwpadmincssinstalldevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/install.dev.css (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/install.dev.css        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/css/install.dev.css        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx">         margin: 6px 0 14px 0;
</span><span class="cx">         border-bottom: none;
</span><span class="cx">         text-align:center
</span><del>-} 
</del><ins>+}
</ins><span class="cx"> 
</span><span class="cx"> .step {
</span><span class="cx">         margin: 20px 0 15px;
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/edit-tags.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;?php elseif ( 'post_tag' == $taxonomy ) : ?&gt;
</span><span class="cx"> &lt;div class=&quot;form-wrap&quot;&gt;
</span><del>-&lt;p&gt;&lt;?php printf(__('Tags can be selectively converted to categories using the &lt;a href=&quot;%s&quot;&gt;tag to category converter&lt;/a&gt;'), 'admin.php?import=wp-cat2tag&amp;amp;step=3') ;?&gt;.&lt;/p&gt; 
</del><ins>+&lt;p&gt;&lt;?php printf(__('Tags can be selectively converted to categories using the &lt;a href=&quot;%s&quot;&gt;tag to category converter&lt;/a&gt;'), 'admin.php?import=wp-cat2tag&amp;amp;step=3') ;?&gt;.&lt;/p&gt;
</ins><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;?php endif;
</span><span class="cx"> do_action('after-' . $taxonomy . '-table', $taxonomy);
</span></span></pre></div>
<a id="trunkwpadminexportphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/export.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/export.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/export.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> 
</span><span class="cx"> $months = &quot;&quot;;
</span><span class="cx"> for ( $i = 1; $i &lt; 13; $i++ ) {
</span><del>-        $months .= &quot;\t\t\t&lt;option value=\&quot;&quot; . zeroise($i, 2) . '&quot;&gt;' . 
</del><ins>+        $months .= &quot;\t\t\t&lt;option value=\&quot;&quot; . zeroise($i, 2) . '&quot;&gt;' .
</ins><span class="cx">                 $wp_locale-&gt;get_month_abbrev( $wp_locale-&gt;get_month( $i ) ) . &quot;&lt;/option&gt;\n&quot;;
</span><span class="cx"> } ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpupgraderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-upgrader.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-upgrader.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/class-wp-upgrader.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -1086,7 +1086,7 @@
</span><span class="cx">         function error($error) {
</span><span class="cx">                 if ( is_string($error) &amp;&amp; isset( $this-&gt;upgrader-&gt;strings[$error] ) )
</span><span class="cx">                         $this-&gt;error = $this-&gt;upgrader-&gt;strings[$error];
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( is_wp_error($error) &amp;&amp; $error-&gt;get_error_code() ) {
</span><span class="cx">                         foreach ( $error-&gt;get_error_messages() as $emessage ) {
</span><span class="cx">                                 if ( $error-&gt;get_error_data() )
</span></span></pre></div>
<a id="trunkwpadminincludesexportphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/export.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/export.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/export.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -38,28 +38,28 @@
</span><span class="cx"> header(&quot;Content-Disposition: attachment; filename=$filename&quot;);
</span><span class="cx"> header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
</span><span class="cx"> 
</span><del>-if ( $post_type and $post_type != 'all' ) { 
-                $where = $wpdb-&gt;prepare(&quot;WHERE post_type = %s &quot;, $post_type); 
-} else { 
-                $where = &quot;WHERE post_type != 'revision' &quot;; 
-} 
-if ( $author and $author != 'all' ) { 
-                $author_id = (int) $author; 
-                $where .= $wpdb-&gt;prepare(&quot;AND post_author = %d &quot;, $author_id); 
-} 
-if ( $start_date and $start_date != 'all' ) { 
-                $where .= $wpdb-&gt;prepare(&quot;AND post_date &gt;= %s &quot;, $start_date); 
-} 
-if ( $end_date and $end_date != 'all' ) { 
-                $where .= $wpdb-&gt;prepare(&quot;AND post_date &lt; %s &quot;, $end_date); 
-} 
-if ( $category and $category != 'all' ) { 
-                $taxomony_id = (int) $category; 
-                $where .= $wpdb-&gt;prepare(&quot;AND ID IN (SELECT object_id FROM {$wpdb-&gt;term_relationships} &quot; . &quot;WHERE term_taxonomy_id = %d) &quot;, $taxomony_id); 
-} 
-if ( $status and $status != 'all' ) { 
-                $where .= $wpdb-&gt;prepare(&quot;AND post_status = %s &quot;, $status); 
-} 
</del><ins>+if ( $post_type and $post_type != 'all' ) {
+                $where = $wpdb-&gt;prepare(&quot;WHERE post_type = %s &quot;, $post_type);
+} else {
+                $where = &quot;WHERE post_type != 'revision' &quot;;
+}
+if ( $author and $author != 'all' ) {
+                $author_id = (int) $author;
+                $where .= $wpdb-&gt;prepare(&quot;AND post_author = %d &quot;, $author_id);
+}
+if ( $start_date and $start_date != 'all' ) {
+                $where .= $wpdb-&gt;prepare(&quot;AND post_date &gt;= %s &quot;, $start_date);
+}
+if ( $end_date and $end_date != 'all' ) {
+                $where .= $wpdb-&gt;prepare(&quot;AND post_date &lt; %s &quot;, $end_date);
+}
+if ( $category and $category != 'all' ) {
+                $taxomony_id = (int) $category;
+                $where .= $wpdb-&gt;prepare(&quot;AND ID IN (SELECT object_id FROM {$wpdb-&gt;term_relationships} &quot; . &quot;WHERE term_taxonomy_id = %d) &quot;, $taxomony_id);
+}
+if ( $status and $status != 'all' ) {
+                $where .= $wpdb-&gt;prepare(&quot;AND post_status = %s &quot;, $status);
+}
</ins><span class="cx"> 
</span><span class="cx"> // grab a snapshot of post IDs, just in case it changes during the export
</span><span class="cx"> $post_ids = $wpdb-&gt;get_col(&quot;SELECT ID FROM $wpdb-&gt;posts $where ORDER BY post_date_gmt ASC&quot;);
</span></span></pre></div>
<a id="trunkwpadminincludesfilephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/file.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/file.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/file.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -313,7 +313,7 @@
</span><span class="cx"> 
</span><span class="cx">         // A writable uploads dir will pass this test. Again, there's no point overriding this one.
</span><span class="cx">         if ( ! ( ( $uploads = wp_upload_dir($time) ) &amp;&amp; false === $uploads['error'] ) )
</span><del>-                return call_user_func($upload_error_handler, $file, $uploads['error'] ); 
</del><ins>+                return call_user_func($upload_error_handler, $file, $uploads['error'] );
</ins><span class="cx"> 
</span><span class="cx">         $filename = wp_unique_filename( $uploads['path'], $file['name'], $unique_filename_callback );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesmiscphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/misc.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/misc.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/misc.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -656,15 +656,15 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Send a HTTP header to disable content type sniffing in browsers which support it.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @link http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
</span><span class="cx">  * @link http://src.chromium.org/viewvc/chrome?view=rev&amp;revision=6985
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.0.0.
</span><span class="cx">  * @return none
</span><span class="cx">  */
</span><span class="cx"> function send_nosniff_header() {
</span><del>-        @header( 'X-Content-Type-Options: nosniff' ); 
</del><ins>+        @header( 'X-Content-Type-Options: nosniff' );
</ins><span class="cx"> }
</span><span class="cx"> /**
</span><span class="cx">  * Display the default admin color scheme picker (Used in user-edit.php)
</span></span></pre></div>
<a id="trunkwpadminincludesmsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/ms.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/ms.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/ms.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx">         global $current_user;
</span><span class="cx">         if ( !is_array( $users ) )
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">     screen_icon('tools');
</span><span class="cx">     ?&gt;
</span><span class="cx">         &lt;h2&gt;&lt;?php esc_html_e('Users'); ?&gt;&lt;/h2&gt;
</span><span class="lines">@@ -183,13 +183,13 @@
</span><span class="cx">         foreach ( ( $allusers = (array) $_POST['allusers'] ) as $key =&gt; $val ) {
</span><span class="cx">                 if ( $val != '' &amp;&amp; $val != '0' ) {
</span><span class="cx">                         $delete_user = new WP_User( $val );
</span><del>-            
</del><ins>+
</ins><span class="cx">                         if ( in_array( $delete_user-&gt;user_login, $site_admins ) )
</span><span class="cx">                                 wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network admnistrator.' ), $delete_user-&gt;user_login ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                         echo &quot;&lt;input type='hidden' name='user[]' value='{$val}'/&gt;\n&quot;;
</span><span class="cx">                         $blogs = get_blogs_of_user( $val, true );
</span><del>-            
</del><ins>+
</ins><span class="cx">                         if ( !empty( $blogs ) ) {
</span><span class="cx">                                 echo '&lt;p&gt;&lt;strong&gt;' . sprintf( __( 'Sites from %s:' ), $delete_user-&gt;user_login ) . '&lt;/strong&gt;&lt;/p&gt;';
</span><span class="cx">                                 foreach ( (array) $blogs as $key =&gt; $details ) {
</span></span></pre></div>
<a id="trunkwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/nav-menu.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/nav-menu.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/nav-menu.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_nav_menu_post_type_metaboxes() {
</span><span class="cx">         $post_types = get_post_types( array( 'public' =&gt; true ), 'object' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( !$post_types )
</span><span class="cx">                 return false;
</span><span class="cx"> 
</span><span class="lines">@@ -99,10 +99,10 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_nav_menu_item_link_metabox() {
</span><span class="cx">         $args = array( 'post_status' =&gt; 'any', 'post_type' =&gt; 'nav_menu_item', 'meta_value' =&gt; 'custom', 'showposts' =&gt; -1 );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // @todo transient caching of these results with proper invalidation on updating links
</span><span class="cx">         $query = new WP_Query( $args );
</span><del>-        
</del><ins>+
</ins><span class="cx">         ?&gt;
</span><span class="cx">         &lt;p id=&quot;menu-item-url-wrap&quot;&gt;
</span><span class="cx">                 &lt;label class=&quot;howto&quot; for=&quot;menu-item-url&quot;&gt;
</span><span class="lines">@@ -117,7 +117,7 @@
</span><span class="cx">                         &lt;input id=&quot;custom-menu-item-name&quot; name=&quot;custom-menu-item-name&quot; type=&quot;text&quot; class=&quot;regular-text menu-item-textbox&quot; value=&quot;&lt;?php echo esc_attr( __('Menu Item') ); ?&gt;&quot; /&gt;
</span><span class="cx">                 &lt;/label&gt;
</span><span class="cx">         &lt;/p&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;p class=&quot;button-controls&quot;&gt;
</span><span class="cx">                 &lt;a class=&quot;show-all&quot;&gt;&lt;?php _e('View All'); ?&gt;&lt;/a&gt;
</span><span class="cx">                 &lt;a class=&quot;hide-all&quot;&gt;&lt;?php _e('Hide All'); ?&gt;&lt;/a&gt;
</span><span class="lines">@@ -146,16 +146,16 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_nav_menu_item_post_type_metabox( $object, $post_type ) {
</span><span class="cx">         $args = array( 'post_type' =&gt; $post_type['args']-&gt;name, 'post_status' =&gt; 'publish', 'showposts' =&gt; -1 );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( 'attachment' == $post_type['args']-&gt;name )
</span><span class="cx">                 $args['post_status'] = 'any';
</span><del>-        
</del><ins>+
</ins><span class="cx">         // @todo transient caching of these results with proper invalidation on updating of a post of this type
</span><span class="cx">         $query = new WP_Query( $args );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( !$query-&gt;posts )
</span><span class="cx">                 $error = '&lt;li id=&quot;error&quot;&gt;'. sprintf( __( 'No %s exists' ), $post_type['args']-&gt;label ) .'&lt;/li&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         $pt_names = '';
</span><span class="cx">         if ( is_array($query-&gt;posts) ) {
</span><span class="cx">                 foreach ( $query-&gt;posts as $post ) {
</span><span class="lines">@@ -166,19 +166,19 @@
</span><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $id = $post_type['args']-&gt;name;
</span><span class="cx">         ?&gt;
</span><span class="cx">         &lt;p class=&quot;quick-search-wrap&quot;&gt;
</span><span class="cx">                 &lt;input type=&quot;text&quot; class=&quot;quick-search regular-text&quot; value=&quot;&quot; /&gt;
</span><span class="cx">                 &lt;a class=&quot;quick-search-submit button-secondary&quot;&gt;&lt;?php _e('Search'); ?&gt;&lt;/a&gt;
</span><span class="cx">         &lt;/p&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;p class=&quot;button-controls&quot;&gt;
</span><span class="cx">                 &lt;a class=&quot;show-all&quot;&gt;&lt;?php _e('View All'); ?&gt;&lt;/a&gt;
</span><span class="cx">                 &lt;a class=&quot;hide-all&quot;&gt;&lt;?php _e('Hide All'); ?&gt;&lt;/a&gt;
</span><span class="cx">         &lt;/p&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;div id=&quot;existing-&lt;?php echo esc_attr( $id ); ?&gt;&quot; class=&quot;list-wrap&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;list-container&quot;&gt;
</span><span class="cx">                         &lt;ul class=&quot;list&quot;&gt;
</span><span class="lines">@@ -218,10 +218,10 @@
</span><span class="cx"> 
</span><span class="cx">         // @todo transient caching of these results with proper invalidation on updating of a tax of this type
</span><span class="cx">         $terms = get_terms( $taxonomy['args']-&gt;name, $args );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( !$terms )
</span><span class="cx">                 $error = '&lt;li id=&quot;error&quot;&gt;'. sprintf( __( 'No %s exists' ), $taxonomy['args']-&gt;label ) .'&lt;/li&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         $term_names = '';
</span><span class="cx">         if ( is_array($terms) ) {
</span><span class="cx">                 foreach ( $terms as $term ) {
</span><span class="lines">@@ -232,19 +232,19 @@
</span><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $id = $taxonomy['args']-&gt;name;
</span><span class="cx">         ?&gt;
</span><span class="cx">         &lt;p class=&quot;quick-search-wrap&quot;&gt;
</span><span class="cx">                 &lt;input type=&quot;text&quot; class=&quot;quick-search regular-text&quot; value=&quot;&quot; /&gt;
</span><span class="cx">                 &lt;a class=&quot;quick-search-submit button-secondary&quot;&gt;&lt;?php _e('Search'); ?&gt;&lt;/a&gt;
</span><span class="cx">         &lt;/p&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;p class=&quot;button-controls&quot;&gt;
</span><span class="cx">                 &lt;a class=&quot;show-all&quot;&gt;&lt;?php _e('View All'); ?&gt;&lt;/a&gt;
</span><span class="cx">                 &lt;a class=&quot;hide-all&quot;&gt;&lt;?php _e('Hide All'); ?&gt;&lt;/a&gt;
</span><span class="cx">         &lt;/p&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;div id=&quot;existing-&lt;?php echo esc_attr( $id ); ?&gt;&quot; class=&quot;list-wrap&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;list-container&quot;&gt;
</span><span class="cx">                         &lt;ul class=&quot;list&quot;&gt;
</span><span class="lines">@@ -281,7 +281,7 @@
</span><span class="cx"> function wp_nav_menu_get_items( $menu_items, $object_type, $object = null, $context = 'frontend' ) {
</span><span class="cx">         if ( !$menu_items )
</span><span class="cx">                 return __( 'Not Found' );
</span><del>-                
</del><ins>+
</ins><span class="cx">         $output = '';
</span><span class="cx">         $i = 1;
</span><span class="cx">         foreach ( $menu_items as $menu_item ) {
</span><span class="lines">@@ -289,16 +289,16 @@
</span><span class="cx">                 // so we don't have to duplicate this entire function.
</span><span class="cx">                 if ( !isset($menu_item-&gt;post_parent) )
</span><span class="cx">                         $menu_item-&gt;post_parent = $menu_item-&gt;parent;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Cleanest way to get all attachements
</span><span class="cx">                 if ( 'attachment' == $object )
</span><span class="cx">                         $menu_item-&gt;post_parent = 0;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( 0 == $menu_item-&gt;post_parent ) {
</span><span class="cx">                         // Set up the menu item
</span><del>-                        $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );                        
</del><ins>+                        $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
</ins><span class="cx">                         $attributes = ( 'backend' == $context ) ? ' id=&quot;menu-item-'. $i .'&quot; value=&quot;'. $i .'&quot;' : '';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $output .= '&lt;li'. $attributes .'&gt;';
</span><span class="cx">                         $output .= wp_get_nav_menu_item( $menu_item, $object_type, $object );
</span><span class="cx">                         $output .= wp_get_nav_menu_sub_items( $menu_item-&gt;ID, $object_type, $object, $context );
</span><span class="lines">@@ -307,7 +307,7 @@
</span><span class="cx">                         ++$i;
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         return $output;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -323,7 +323,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_get_nav_menu_sub_items( $childof, $object_type, $object = null, $context = 'frontend' ) {
</span><span class="cx">         $args = array( 'child_of' =&gt; $childof, 'parent' =&gt; $childof, 'hide_empty' =&gt; false, );
</span><del>-        
</del><ins>+
</ins><span class="cx">         switch ( $object_type ) {
</span><span class="cx">                 case 'post_type':
</span><span class="cx">                         $hierarchical_post_types = get_post_types( array( 'hierarchical' =&gt; true ) );
</span><span class="lines">@@ -334,7 +334,7 @@
</span><span class="cx">                                 $sub_menu_items = array();
</span><span class="cx">                         }
</span><span class="cx">                         break;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 case 'taxonomy':
</span><span class="cx">                         if ( is_taxonomy_hierarchical( $object ) ) {
</span><span class="cx">                                 $sub_menu_items = get_terms( $object, $args );
</span><span class="lines">@@ -342,12 +342,12 @@
</span><span class="cx">                                 $sub_menu_items = array();
</span><span class="cx">                         }
</span><span class="cx">                         break;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 default:
</span><span class="cx">                         $sub_menu_items = array();
</span><span class="cx">                         break;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $output = '';
</span><span class="cx">         $i = 1;
</span><span class="cx">         if ( !empty($sub_menu_items) &amp;&amp; !is_wp_error($sub_menu_items) ) {
</span></span></pre></div>
<a id="trunkwpadminincludespluginphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/plugin.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/plugin.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/plugin.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -557,7 +557,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @param string|array $plugins
</span><span class="cx">  * @param string $redirect Redirect to page after successful activation.
</span><del>- * @param bool $network_wide Whether to enable the plugin for all sites in the network. 
</del><ins>+ * @param bool $network_wide Whether to enable the plugin for all sites in the network.
</ins><span class="cx">  * @return bool|WP_Error True when finished or WP_Error if there were errors during a plugin activation.
</span><span class="cx">  */
</span><span class="cx"> function activate_plugins($plugins, $redirect = '', $network_wide) {
</span></span></pre></div>
<a id="trunkwpadminincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/post.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/post.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/post.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -270,7 +270,7 @@
</span><span class="cx">                 else
</span><span class="cx">                         unset($post_data['post_category']);
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $tax_input = array();
</span><span class="cx">         if ( isset($post_data['tax_input'])) {
</span><span class="cx">                 foreach ( $post_data['tax_input'] as $tax_name =&gt; $terms ) {
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx">                                 continue;
</span><span class="cx">                         $taxonomy = get_taxonomy( $tax_name );
</span><span class="cx">                         if ( $taxonomy-&gt;hierarchical )
</span><del>-                                $tax_input[$tax_name] = array_map( 'absint', $terms );                        
</del><ins>+                                $tax_input[$tax_name] = array_map( 'absint', $terms );
</ins><span class="cx">                         else {
</span><span class="cx">                                 $tax_input[$tax_name] = preg_replace( '/\s*,\s*/', ',', rtrim( trim($terms), ' ,' ) );
</span><span class="cx">                                 $tax_input[$tax_name] = explode(',', $tax_input[$tax_name]);
</span><span class="lines">@@ -314,14 +314,14 @@
</span><span class="cx">                         $locked[] = $post_ID;
</span><span class="cx">                         continue;
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $tax_names = get_object_taxonomies( get_post($post_ID) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( isset($new_cats) &amp;&amp; in_array( 'category', $tax_names ) ) {
</span><span class="cx">                         $cats = (array) wp_get_post_categories($post_ID);
</span><span class="cx">                         $post_data['post_category'] = array_unique( array_merge($cats, $new_cats) );
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 foreach ( $tax_names as $tax_name ) {
</span><span class="cx">                         if( isset( $tax_input[$tax_name])  ) {
</span><span class="cx">                                 $taxonomy = get_taxonomy( $tax_name );
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/template.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -862,15 +862,15 @@
</span><span class="cx">         $flat_taxonomies = array();
</span><span class="cx">         foreach ( $taxonomy_names as $taxonomy_name ) {
</span><span class="cx">                 $taxonomy = get_taxonomy( $taxonomy_name);
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if( !$taxonomy-&gt;show_ui ) continue;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if( $taxonomy-&gt;hierarchical )
</span><span class="cx">                         $hierarchical_taxonomies[] = $taxonomy;
</span><del>-                else 
</del><ins>+                else
</ins><span class="cx">                         $flat_taxonomies[] = $taxonomy;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $columns = wp_manage_posts_columns($screen);
</span><span class="cx">         $hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($screen) ) );
</span><span class="cx">         $col_count = count($columns) - count($hidden);
</span><span class="lines">@@ -965,7 +965,7 @@
</span><span class="cx"> &lt;?php if ( count($hierarchical_taxonomies) &amp;&amp; !$bulk ) : ?&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;fieldset class=&quot;inline-edit-col-center inline-edit-categories&quot;&gt;&lt;div class=&quot;inline-edit-col&quot;&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx"> &lt;?php foreach ( $hierarchical_taxonomies as $taxonomy ) : ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;span class=&quot;title inline-edit-categories-label&quot;&gt;&lt;?php echo esc_html($taxonomy-&gt;label) ?&gt;
</span><span class="lines">@@ -2973,7 +2973,7 @@
</span><span class="cx">  * @global $wp_settings_sections Storage array of all settings sections added to admin pages
</span><span class="cx"> 
</span><span class="cx">  * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags.
</span><del>- * @param string $title Formatted title of the section. Shown as the heading for the section. 
</del><ins>+ * @param string $title Formatted title of the section. Shown as the heading for the section.
</ins><span class="cx">  * @param string $callback Function that echo's out content for the section heading.
</span><span class="cx">  * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
</span><span class="cx">  */
</span><span class="lines">@@ -2999,7 +2999,7 @@
</span><span class="cx">  *
</span><span class="cx">  * The $callback argument should be the name of a function that echoes out the
</span><span class="cx">  * html input tags for this setting field. Use get_option() to retrive existing
</span><del>- * values to show. 
</del><ins>+ * values to show.
</ins><span class="cx">  *
</span><span class="cx">  * @since 2.7.0
</span><span class="cx">  *
</span><span class="lines">@@ -3102,7 +3102,7 @@
</span><span class="cx">  * page is first accessed.
</span><span class="cx">  *
</span><span class="cx">  * @global array $wp_settings_errors Storage array of errors registered during this pageload
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @param string $setting Slug title of the setting to which this error applies
</span><span class="cx">  * @param string $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output.
</span><span class="cx">  * @param string $message The formatted message text to display to the user (will be shown inside styled &lt;div&gt; and &lt;p&gt;)
</span><span class="lines">@@ -3129,7 +3129,7 @@
</span><span class="cx">  * Checks the $wp_settings_errors array for any errors declared during the current
</span><span class="cx">  * pageload and returns them.
</span><span class="cx">  *
</span><del>- * If changes were just submitted ($_GET['updated']) and settings errors were saved 
</del><ins>+ * If changes were just submitted ($_GET['updated']) and settings errors were saved
</ins><span class="cx">  * to the 'settings_errors' transient then those errors will be returned instead. This
</span><span class="cx">  * is used to pass errors back across pageloads.
</span><span class="cx">  *
</span><span class="lines">@@ -3177,7 +3177,7 @@
</span><span class="cx">  * Display settings errors registered by add_settings_error()
</span><span class="cx">  *
</span><span class="cx">  * Part of the Settings API. Outputs a &lt;div&gt; for each error retrieved by get_settings_errors().
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * This is called automatically after a settings page based on the Settings API is submitted.
</span><span class="cx">  * Errors should be added during the validation callback function for a setting defined in register_setting()
</span><span class="cx">  *
</span><span class="lines">@@ -3300,12 +3300,12 @@
</span><span class="cx">  */
</span><span class="cx"> function favorite_actions( $screen = null ) {
</span><span class="cx">         global $post_type_object;
</span><del>-        
</del><ins>+
</ins><span class="cx">         $default_action = false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( is_string($screen) )
</span><span class="cx">                 $screen = convert_to_screen($screen);
</span><del>-                
</del><ins>+
</ins><span class="cx">         if ( isset($post_type_object) ) {
</span><span class="cx">                 switch ( $screen-&gt;id ) {
</span><span class="cx">                         case $post_type_object-&gt;name:
</span><span class="lines">@@ -3316,7 +3316,7 @@
</span><span class="cx">                                 break;
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( !$default_action ) {
</span><span class="cx">                 switch ( $screen-&gt;id ) {
</span><span class="cx">                         case 'upload':
</span></span></pre></div>
<a id="trunkwpadminincludesupgradephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/upgrade.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/upgrade.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/includes/upgrade.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -265,8 +265,8 @@
</span><span class="cx">                                                                 'post_content_filtered' =&gt; ''
</span><span class="cx">                                                                 ));
</span><span class="cx"> 
</span><del>-        // Setup default widgets for default theme. 
-        update_option( 'widget_search', array ( 2 =&gt; array ( 'title' =&gt; '' ), '_multiwidget' =&gt; 1 ) ); 
</del><ins>+        // Setup default widgets for default theme.
+        update_option( 'widget_search', array ( 2 =&gt; array ( 'title' =&gt; '' ), '_multiwidget' =&gt; 1 ) );
</ins><span class="cx">         update_option( 'widget_recent-posts', array ( 2 =&gt; array ( 'title' =&gt; '', 'number' =&gt; 5 ), '_multiwidget' =&gt; 1 ) );
</span><span class="cx">         update_option( 'widget_recent-comments', array ( 2 =&gt; array ( 'title' =&gt; '', 'number' =&gt; 5 ), '_multiwidget' =&gt; 1 ) );
</span><span class="cx">         update_option( 'widget_archives', array ( 2 =&gt; array ( 'title' =&gt; '', 'count' =&gt; 0, 'dropdown' =&gt; 0 ), '_multiwidget' =&gt; 1 ) );
</span><span class="lines">@@ -1109,7 +1109,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( $wp_current_db_version &lt; 12751 ) {
</span><span class="cx">                 populate_roles_300();
</span><del>-                if ( is_multisite() &amp;&amp; is_main_site() &amp;&amp; ! defined( 'MULTISITE' ) &amp;&amp; get_site_option( 'siteurl' ) === false ) 
</del><ins>+                if ( is_multisite() &amp;&amp; is_main_site() &amp;&amp; ! defined( 'MULTISITE' ) &amp;&amp; get_site_option( 'siteurl' ) === false )
</ins><span class="cx">                         add_site_option( 'siteurl', '' );
</span><span class="cx">         }
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpadminjscommondevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.dev.js (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.dev.js        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/js/common.dev.js        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -289,13 +289,13 @@
</span><span class="cx">                         el.selectionStart = el.selectionEnd = selStart + 1;
</span><span class="cx">                         this.scrollTop = scroll;
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( e.stopPropagation )
</span><span class="cx">                         e.stopPropagation();
</span><span class="cx">                 if ( e.preventDefault )
</span><span class="cx">                         e.preventDefault();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         $('#newcontent').blur(function(e) {
</span><span class="cx">                 if ( this.lastKey &amp;&amp; 9 == this.lastKey )
</span><span class="cx">                         this.focus();
</span></span></pre></div>
<a id="trunkwpadminjsinlineeditpostdevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/inline-edit-post.dev.js (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/inline-edit-post.dev.js        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/js/inline-edit-post.dev.js        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -158,8 +158,8 @@
</span><span class="cx">                                 $('textarea.tax_input_'+taxname, editRow).suggest( 'admin-ajax.php?action=ajax-tag-search&amp;tax='+taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: &quot;, &quot; } );
</span><span class="cx">                         }
</span><span class="cx">                 });
</span><del>-                
</del><span class="cx"> 
</span><ins>+
</ins><span class="cx">                 // handle the post status
</span><span class="cx">                 status = $('._status', rowData).text();
</span><span class="cx">                 if ( status != 'future' ) $('select[name=&quot;_status&quot;] option[value=&quot;future&quot;]', editRow).remove();
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/nav-menu.dev.js (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu.dev.js        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/js/nav-menu.dev.js        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -33,11 +33,11 @@
</span><span class="cx">         var item_description = jQuery('#menu-item-description' + id).val();
</span><span class="cx">         var item_classes = jQuery('#menu-item-classes' + id).val();
</span><span class="cx">         var item_xfn = jQuery('#menu-item-xfn' + id).val();
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Only allow custom links to be editable.
</span><span class="cx">         if ( 'custom' != item_type )
</span><span class="cx">                 jQuery( '#edit-menu-item-url' ).attr('disabled', 'disabled' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Populate the fields for thickbox
</span><span class="cx">         jQuery( '#edit-menu-item-id' ).val(id);
</span><span class="cx">         jQuery( '#edit-menu-item-title' ).val(item_title);
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">         jQuery( '#edit-menu-item-description' ).val(item_description);
</span><span class="cx">         jQuery( '#edit-menu-item-classes' ).val(item_classes);
</span><span class="cx">         jQuery( '#edit-menu-item-xfn' ).val(item_xfn);
</span><del>-        
</del><ins>+
</ins><span class="cx">         // focus
</span><span class="cx">         jQuery( '#edit-menu-item-title' ).focus();
</span><span class="cx"> };
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx">         var item_description = jQuery('#edit-menu-item-description').val();
</span><span class="cx">         var item_classes = jQuery('#edit-menu-item-classes').val();
</span><span class="cx">         var item_xfn = jQuery('#edit-menu-item-xfn').val();
</span><del>-        
</del><ins>+
</ins><span class="cx">         // update menu item settings
</span><span class="cx">         jQuery('.menu #menu-item' + id).find('span.item-title').html(item_title);
</span><span class="cx">         jQuery('.menu #menu-item-title' + id).val(item_title);
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">         jQuery('.menu #menu-item-description' + id).val(item_description);
</span><span class="cx">         jQuery('.menu #menu-item-classes' + id).val(item_classes);
</span><span class="cx">         jQuery('.menu #menu-item-xfn' + id).val(item_xfn);
</span><del>-        
</del><ins>+
</ins><span class="cx">         jQuery('.menu #menu-item' + id + ' dt:first').animate( { backgroundColor: '#FFFF33' }, { duration: 'normal', complete: function() { jQuery(this).css( 'backgroundColor', '' ); }});
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_remove_menu_item( o ) {
</span><span class="cx">         var todelete = document.getElementById('menu-item' + o);
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( todelete ) {
</span><span class="cx">                 // Give some feedback to the user
</span><span class="cx">                 jQuery( todelete ).find('dt').each(function(){
</span><span class="lines">@@ -114,16 +114,16 @@
</span><span class="cx"> function wp_add_item_to_menu( item_db_id, item_object_id, item_type, item_append, item_parent_id, item_title, item_url, item_description, item_attr_title, item_target, item_classes, item_xfn ) {
</span><span class="cx">         var randomnumber = wp_get_unique_menu_id();
</span><span class="cx">         var hidden = wp_get_hidden_inputs( randomnumber, item_db_id, item_object_id, item_type, item_append, item_parent_id, item_title, item_url, item_description, item_attr_title, item_target, item_classes, item_xfn );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Adds the item in the queue
</span><span class="cx">         jQuery('.menu').append('&lt;li id=&quot;menu-item' + randomnumber + '&quot; value=&quot;' + randomnumber + '&quot;&gt;&lt;div class=&quot;dropzone ui-droppable&quot;&gt;&lt;/div&gt;&lt;dl class=&quot;ui-droppable&quot;&gt;&lt;dt&gt;&lt;span class=&quot;item-title&quot;&gt;' + item_title + '&lt;/span&gt;&lt;span class=&quot;item-controls&quot;&gt;&lt;span class=&quot;item-type&quot;&gt;' + item_append + '&lt;/span&gt;&lt;a class=&quot;item-edit thickbox&quot; id=&quot;edit' + randomnumber + '&quot; value=&quot;' + randomnumber +'&quot; onClick=&quot;wp_edit_menu_item('+ randomnumber +')&quot; title=&quot;' + navMenuL10n.thickbox + '&quot; href=&quot;#TB_inline?height=540&amp;width=300&amp;inlineId=menu-item-settings&quot;&gt;' + navMenuL10n.edit + '&lt;/a&gt; | &lt;a class=&quot;item-delete&quot; id=&quot;delete' + randomnumber + '&quot; value=&quot;' + randomnumber +'&quot;&gt;Delete&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;' + hidden + '&lt;/li&gt;');
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Give some feedback to the user
</span><span class="cx">         jQuery( '.menu #menu-item' + randomnumber + ' dt:first' ).animate( { backgroundColor: '#FFFF33' }, { duration: 'normal', complete: function() { jQuery(this).css( 'backgroundColor', '' ); }});
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Enable drag-n-drop
</span><span class="cx">         wp_drag_and_drop();
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Reload thickbox
</span><span class="cx">         tb_init('a.thickbox, area.thickbox, input.thickbox');
</span><span class="cx"> };
</span><span class="lines">@@ -136,15 +136,15 @@
</span><span class="cx"> function wp_add_checked_items_to_menu( button ) {
</span><span class="cx">         // Grab checked items
</span><span class="cx">         var items = jQuery(button).siblings('.list-wrap').find(':checked');
</span><del>-        
</del><ins>+
</ins><span class="cx">         // If nothing was checked, cancel
</span><span class="cx">         if ( 0 == items.length )
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Loop through each item, grab it's hidden data and add it to the menu.
</span><span class="cx">         jQuery(items).each(function(){
</span><span class="cx">                 var item_type = jQuery(this).parent().siblings('.menu-item-type').val();
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( 'custom' == item_type ) {
</span><span class="cx">                         var item_attr_title = jQuery(this).parent().siblings('.menu-item-attr-title').val();
</span><span class="cx">                         var item_target = jQuery(this).parent().siblings('.menu-item-target').val();
</span><span class="lines">@@ -156,7 +156,7 @@
</span><span class="cx">                         var item_classes = '';
</span><span class="cx">                         var item_xfn = '';
</span><span class="cx">                 };
</span><del>-                
</del><ins>+
</ins><span class="cx">                 var item_db_id = jQuery(this).parent().siblings('.menu-item-db-id').val();
</span><span class="cx">                 var item_object_id = jQuery(this).parent().siblings('.menu-item-object-id').val();
</span><span class="cx">                 var item_append = jQuery(this).parent().siblings('.menu-item-append').val();
</span><span class="lines">@@ -164,14 +164,14 @@
</span><span class="cx">                 var item_title = jQuery(this).parent().siblings('.menu-item-title').val();
</span><span class="cx">                 var item_url = jQuery(this).parent().siblings('.menu-item-url').val();
</span><span class="cx">                 var item_description = jQuery(this).parent().siblings('.menu-item-description').val();
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( undefined == item_description ) {
</span><span class="cx">                         item_description = '';
</span><span class="cx">                 };
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Add the menu item to the menu
</span><span class="cx">                 wp_add_item_to_menu( item_db_id, item_object_id, item_type, item_append, item_parent_id, item_title, item_url, item_description, item_attr_title, item_target, item_classes, item_xfn );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // uncheck the menu item in the list
</span><span class="cx">                 jQuery(this).attr( 'checked', false );
</span><span class="cx">         });
</span><span class="lines">@@ -204,7 +204,7 @@
</span><span class="cx">                 drop: function(e, ui) {
</span><span class="cx">                         var li = jQuery(this).parent();
</span><span class="cx">                         var child = !jQuery(this).hasClass('dropzone');
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Append UL to first child
</span><span class="cx">                         if ( child &amp;&amp; li.children('ul').length == 0 ) {
</span><span class="cx">                                 li.append( '&lt;ul class=&quot;sub-menu&quot; /&gt;' );
</span><span class="lines">@@ -220,7 +220,7 @@
</span><span class="cx"> 
</span><span class="cx">                         var draggablevalue = ui.draggable.attr('value');
</span><span class="cx">                         var droppablevalue = li.attr('value');
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         li.find('#menu-' + draggablevalue).find('#parent' + draggablevalue).val(droppablevalue);
</span><span class="cx">                         jQuery(this).parent().find('dt').removeAttr('style');
</span><span class="cx">                         jQuery(this).parent().find('div:first').removeAttr('style');
</span><span class="lines">@@ -254,7 +254,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_update_post_data() {
</span><span class="cx">         var i = 0;
</span><del>-        
</del><ins>+
</ins><span class="cx">          jQuery('.menu li').each(function(i) {
</span><span class="cx">                 i = i + 1;
</span><span class="cx">              var j = jQuery(this).attr('value');
</span><span class="lines">@@ -262,7 +262,7 @@
</span><span class="cx">              jQuery(this).find('#menu-item-position' + j).attr('value', i);
</span><span class="cx">              jQuery(this).attr('id','menu-item' + i);
</span><span class="cx">              jQuery(this).attr('value', i);
</span><del>-                
</del><ins>+
</ins><span class="cx">              jQuery(this).find('#menu-item-db-id' + j).attr('id','menu-item-db-id' + i);
</span><span class="cx">              jQuery(this).find('#menu-item-object-id' + j).attr('id','menu-item-object-id' + i);
</span><span class="cx">                 jQuery(this).find('#menu-item-append' + j).attr('id', 'menu-item-append' + i);
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx">                         p = 0;
</span><span class="cx">                 }
</span><span class="cx">                 jQuery(this).find('#menu-item-parent-id' + j).attr('value', p);
</span><del>-                
</del><ins>+
</ins><span class="cx">                 jQuery(this).find('#menu-item-title' + j).attr('id','menu-item-title' + i);
</span><span class="cx">                 jQuery(this).find('#menu-item-url' + j).attr('id','menu-item-url' + i);
</span><span class="cx">                 jQuery(this).find('#menu-item-description' + j).attr('id','menu-item-description' + i);
</span><span class="lines">@@ -287,7 +287,7 @@
</span><span class="cx">                 jQuery(this).find('#menu-item-description' + j).attr('id','menu-item-description' + i);
</span><span class="cx">                 jQuery(this).find('#menu-item-attr-title' + j).attr('id','menu-item-attr-title' + i);
</span><span class="cx">                 jQuery(this).find('#menu-item-target' + j).attr('id','menu-item-target' + i);
</span><del>-                
</del><ins>+
</ins><span class="cx">                 jQuery('#li-count').attr( 'value', i );
</span><span class="cx">    });
</span><span class="cx"> };
</span><span class="lines">@@ -321,7 +321,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Returns all the nessecary hidden inputs for each menu item.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @param string item_db_id - The menu item's db id.
</span><span class="cx">  * @param string item_object_id - The menu item's object id.
</span><span class="cx">  * @param string item_type - The menu item's object type.
</span><span class="lines">@@ -337,7 +337,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_get_hidden_inputs( randomnumber, item_db_id, item_object_id, item_type, item_append, item_parent_id, item_title, item_url, item_description, item_attr_title, item_target, item_classes, item_xfn ) {
</span><span class="cx">         var hidden = '';
</span><del>-        
</del><ins>+
</ins><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-db-id[]&quot; id=&quot;menu-item-db-id' + randomnumber + '&quot; value=&quot;' + item_db_id + '&quot; /&gt;';
</span><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-object-id[]&quot; id=&quot;menu-item-object-id' + randomnumber + '&quot; value=&quot;' + item_object_id + '&quot; /&gt;';
</span><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-type[]&quot; id=&quot;menu-item-type' + randomnumber + '&quot; value=&quot;' + item_type + '&quot; /&gt;';
</span><span class="lines">@@ -351,7 +351,7 @@
</span><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-description[]&quot; id=&quot;menu-item-description' + randomnumber + '&quot; value=&quot;' + item_description + '&quot; /&gt;';
</span><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-classes[]&quot; id=&quot;menu-item-classes' + randomnumber + '&quot; value=&quot;' + item_classes + '&quot; /&gt;';
</span><span class="cx">         hidden += '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-xfn[]&quot; id=&quot;menu-item-xfn' + randomnumber + '&quot; value=&quot;' + item_xfn + '&quot; /&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         return hidden;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -369,9 +369,9 @@
</span><span class="cx">  * Init Functions
</span><span class="cx">  */
</span><span class="cx"> jQuery(document).ready(function($){
</span><del>-        
</del><ins>+
</ins><span class="cx">         wp_drag_and_drop();
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Delete AYS
</span><span class="cx">         $('#update-nav-menu .deletion').click(function(){
</span><span class="cx">                 if ( confirm( navMenuL10n.warnDelete ) ) {
</span><span class="lines">@@ -380,49 +380,49 @@
</span><span class="cx">                         return false;
</span><span class="cx">                 };
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Handle Save Button Clicks
</span><span class="cx">         $('#save_menu').click(function(){
</span><span class="cx">                 return wp_update_post_data();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // close postboxes that should be closed
</span><span class="cx">         $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
</span><del>-        
</del><ins>+
</ins><span class="cx">         // postboxes setup
</span><span class="cx">         postboxes.add_postbox_toggles('menus');
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Clear the quick search textbox
</span><span class="cx">         $('.quick-search').click(function(){
</span><span class="cx">                 $(this).attr( 'value', '' );
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Quick Search submit
</span><span class="cx">         $('.quick-search-submit').click(function(){
</span><span class="cx">                 $(this).siblings('.quick-search').search();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Edit menu item
</span><span class="cx">         $('#menu-container .item-edit').click(function(){
</span><span class="cx">                 return wp_edit_menu_item( $(this).attr('value') );
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Delete menu item
</span><span class="cx">         $('#menu-container .item-delete').live( 'click', function(e){
</span><span class="cx">                 return wp_remove_menu_item( $(this).attr('value') );
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Update menu item settings (thickbox)
</span><span class="cx">         $('#update-menu-item').click(function(){
</span><span class="cx">                 wp_update_menu_item();
</span><span class="cx">                 return tb_remove();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Close thickbox
</span><span class="cx">         $('#cancel-save').click(function(){
</span><span class="cx">                 return tb_remove();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Show All Button
</span><span class="cx">         $('.show-all').click(function(e){
</span><span class="cx">                 jQuery(e.currentTarget).parent().siblings('.list-wrap').css( 'display', 'block' );
</span><span class="lines">@@ -430,7 +430,7 @@
</span><span class="cx">                 jQuery(e.currentTarget).hide();
</span><span class="cx">                 jQuery(e.currentTarget).siblings('.hide-all').show();
</span><span class="cx">         });
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Hide All Button
</span><span class="cx">         $('.hide-all').click(function(e){
</span><span class="cx">                 jQuery(e.currentTarget).parent().siblings('.list-wrap').css( 'display', 'none' );
</span><span class="lines">@@ -448,7 +448,7 @@
</span><span class="cx">         $('#add-custom-links .add-to-menu a').click(function(e){
</span><span class="cx">                 var link_url = jQuery(e.currentTarget).parent().parent().find('#custom-menu-item-url').val();
</span><span class="cx">                 var link_name = jQuery(e.currentTarget).parent().parent().find('#custom-menu-item-name').val();
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Add link to menu
</span><span class="cx">                 wp_add_item_to_menu( 0, '', 'custom', navMenuL10n.custom, 0, link_name, link_url, '', '', '_self', '', '' );
</span><span class="cx">         });
</span></span></pre></div>
<a id="trunkwpadminmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/menu.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/menu.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/menu.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( is_multisite() )
</span><span class="cx">                 $submenu[ 'index.php' ][5] = array( __('My Sites'), 'read', 'my-sites.php' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( is_super_admin() ) {
</span><span class="cx">                 $plugin_update_count = $theme_update_count = $wordpress_update_count = 0;
</span><span class="cx">                 $update_plugins = get_site_transient( 'update_plugins' );
</span><span class="lines">@@ -116,7 +116,7 @@
</span><span class="cx"> foreach ( (array) get_post_types( array('show_ui' =&gt; true) ) as $ptype ) {
</span><span class="cx">         $_wp_last_object_menu++;
</span><span class="cx">         $ptype_obj = get_post_type_object($ptype);
</span><del>-        
</del><ins>+
</ins><span class="cx">         $menu[$_wp_last_object_menu] = array(esc_attr($ptype_obj-&gt;label), $ptype_obj-&gt;edit_type_cap, &quot;edit.php?post_type=$ptype&quot;, '', 'menu-top menu-icon-posts', 'menu-' . sanitize_html_class($ptype), 'div');
</span><span class="cx">         $submenu[&quot;edit.php?post_type=$ptype&quot;][5]  = array( __('Edit'), 'edit_posts',  &quot;edit.php?post_type=$ptype&quot;);
</span><span class="cx">         /* translators: add new custom post type */
</span></span></pre></div>
<a id="trunkwpadminmseditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-edit.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-edit.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/ms-edit.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx"> 
</span><span class="cx">                 if ( $id != '0' &amp;&amp; $id != $current_site-&gt;blog_id )
</span><span class="cx">                         wpmu_delete_blog( $id, true );
</span><del>-        
</del><ins>+
</ins><span class="cx">                 wp_redirect( add_query_arg( array('updated' =&gt; 'true', 'action' =&gt; 'delete'), $_POST[ 'ref' ] ) );
</span><span class="cx">                 exit();
</span><span class="cx">         break;
</span><span class="lines">@@ -342,8 +342,8 @@
</span><span class="cx">                         } else {
</span><span class="cx">                                 wp_die( __('You are not allowed to change one of these sites.') );
</span><span class="cx">                                 exit();
</span><del>-                        }; 
-                }; 
</del><ins>+                        };
+                };
</ins><span class="cx"> 
</span><span class="cx">                 wp_redirect( add_query_arg( array('updated' =&gt; 'true', 'action' =&gt; $blogfunction), $_SERVER['HTTP_REFERER'] ) );
</span><span class="cx">                 exit();
</span></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/ms-sites.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -243,7 +243,7 @@
</span><span class="cx">                                                 reset($blogusers);
</span><span class="cx">                                                 foreach ( (array) $blogusers as $key =&gt; $val ) {
</span><span class="cx">                                                         if ( isset( $val-&gt;meta_value ) &amp;&amp; ! $val-&gt;meta_value )
</span><del>-                                                                continue; 
</del><ins>+                                                                continue;
</ins><span class="cx">                                                         $t = @unserialize( $val-&gt;meta_value );
</span><span class="cx">                                                         if ( is_array( $t ) ) {
</span><span class="cx">                                                                 reset( $t );
</span><span class="lines">@@ -337,7 +337,7 @@
</span><span class="cx">                 $per_page = apply_filters( 'ms_sites_per_page', $per_page );
</span><span class="cx"> 
</span><span class="cx">                 $s = isset($_GET['s']) ? stripslashes( trim( $_GET[ 's' ] ) ) : '';
</span><del>-                $like_s = esc_sql( like_escape( $s ) ); 
</del><ins>+                $like_s = esc_sql( like_escape( $s ) );
</ins><span class="cx"> 
</span><span class="cx">                 $query = &quot;SELECT * FROM {$wpdb-&gt;blogs} WHERE site_id = '{$wpdb-&gt;siteid}' &quot;;
</span><span class="cx"> 
</span><span class="lines">@@ -419,7 +419,7 @@
</span><span class="cx">                 $status_links = array();
</span><span class="cx">                 $status_class = '';
</span><span class="cx">                 $count = get_blog_count();
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( empty($_GET['blogstatus']) || $_GET['blogstatus'] == 'all' )
</span><span class="cx">                                 $status_class = ' class=&quot;current&quot;';
</span><span class="cx"> 
</span><span class="lines">@@ -474,12 +474,12 @@
</span><span class="cx">                 &lt;?php $page_links_text = sprintf( '&lt;span class=&quot;displaying-num&quot;&gt;' . __( 'Displaying %s&amp;#8211;%s of %s' ) . '&lt;/span&gt;%s',
</span><span class="cx">                 number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ),
</span><span class="cx">                 number_format_i18n( min( $pagenum * $per_page, $num_pages ) ),
</span><del>-                number_format_i18n( $num_pages ), 
</del><ins>+                number_format_i18n( $num_pages ),
</ins><span class="cx">                 $page_links
</span><span class="cx">                 ); echo $page_links_text; ?&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">                 &lt;?php } ?&gt;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 &lt;div class=&quot;view-switch&quot;&gt;
</span><span class="cx">                         &lt;a href=&quot;&lt;?php echo esc_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?&gt;&quot;&gt;&lt;img &lt;?php if ( 'list' == $mode ) echo 'class=&quot;current&quot;'; ?&gt; id=&quot;view-switch-list&quot; src=&quot;&lt;?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?&gt;&quot; width=&quot;20&quot; height=&quot;20&quot; title=&quot;&lt;?php _e('List View') ?&gt;&quot; alt=&quot;&lt;?php _e('List View') ?&gt;&quot; /&gt;&lt;/a&gt;
</span><span class="cx">                         &lt;a href=&quot;&lt;?php echo esc_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?&gt;&quot;&gt;&lt;img &lt;?php if ( 'excerpt' == $mode ) echo 'class=&quot;current&quot;'; ?&gt; id=&quot;view-switch-excerpt&quot; src=&quot;&lt;?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?&gt;&quot; width=&quot;20&quot; height=&quot;20&quot; title=&quot;&lt;?php _e('Excerpt View') ?&gt;&quot; alt=&quot;&lt;?php _e('Excerpt View') ?&gt;&quot; /&gt;&lt;/a&gt;
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt; 
</del><ins>+                &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;?php
</span><span class="cx">                 // define the columns to display, the syntax is 'internal name' =&gt; 'display name'
</span><span class="lines">@@ -539,14 +539,14 @@
</span><span class="cx">                                         $order2 = '';
</span><span class="cx">                                         if ( $order_by == $column_id )
</span><span class="cx">                                                 $order2 = ($order == 'DESC') ? 'ASC' : 'DESC';
</span><del>-                                                
</del><ins>+
</ins><span class="cx">                                         $column_link .= esc_url(add_query_arg( array('order' =&gt; $order2, 'paged' =&gt; $pagenum, 'sortby' =&gt; $column_id ), remove_query_arg( array('action', 'updated'), $_SERVER['REQUEST_URI'] ) ) );
</span><span class="cx">                                         $column_link .= &quot;'&gt;{$column_display_name}&lt;/a&gt;&quot;;
</span><span class="cx">                                         $col_url = ($column_id == 'users' || $column_id == 'plugins') ? $column_display_name : $column_link;
</span><span class="cx">                                 ?&gt;
</span><span class="cx">                                 &lt;th scope=&quot;col&quot;&gt;
</span><span class="cx">                                         &lt;?php echo $col_url ?&gt;
</span><del>-                                &lt;/th&gt; 
</del><ins>+                                &lt;/th&gt;
</ins><span class="cx">                                 &lt;?php } ?&gt;
</span><span class="cx">                                 &lt;/tr&gt;
</span><span class="cx">                         &lt;/tfoot&gt;
</span><span class="lines">@@ -639,7 +639,7 @@
</span><span class="cx">                                                                         else
</span><span class="cx">                                                                                 $date = 'Y/m/d \&lt;\b\r \/\&gt; g:i:s a';
</span><span class="cx">                                                                         echo ( $blog['last_updated'] == '0000-00-00 00:00:00' ) ? __(&quot;Never&quot;) : mysql2date( __( $date ), $blog['last_updated'] ); ?&gt;
</span><del>-                                                                &lt;/td&gt; 
</del><ins>+                                                                &lt;/td&gt;
</ins><span class="cx">                                                         &lt;?php
</span><span class="cx">                                                         break;
</span><span class="cx">                                                 case 'registered': ?&gt;
</span></span></pre></div>
<a id="trunkwpadminmsusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-users.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-users.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/ms-users.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -195,7 +195,7 @@
</span><span class="cx">                                                                 ?&gt;
</span><span class="cx">                                                                 &lt;td class=&quot;username column-username&quot;&gt;
</span><span class="cx">                                                                         &lt;?php echo $avatar; ?&gt;&lt;strong&gt;&lt;a href=&quot;&lt;?php echo $edit; ?&gt;&quot; class=&quot;edit&quot;&gt;&lt;?php echo stripslashes($user['user_login']); ?&gt;&lt;/a&gt;&lt;?php
</span><del>-                                                                if ( in_array( $user[ 'user_login' ], $super_admins ) ) 
</del><ins>+                                                                if ( in_array( $user[ 'user_login' ], $super_admins ) )
</ins><span class="cx">                                                                         echo ' - ' . __( 'Super admin' );
</span><span class="cx"> ?&gt;&lt;/strong&gt;
</span><span class="cx">                                                                         &lt;br/&gt;
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/nav-menus.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -62,10 +62,10 @@
</span><span class="cx">                         $nav_menu_selected_id = 0;
</span><span class="cx">                 }
</span><span class="cx">                 break;
</span><del>-        
</del><ins>+
</ins><span class="cx">         case 'update':
</span><span class="cx">                 check_admin_referer( 'update-nav_menu' );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Add Menu
</span><span class="cx">                 if ( isset($_POST['create-menu']) ) {
</span><span class="cx">                         if ( current_theme_supports('nav-menus') ) {
</span><span class="lines">@@ -91,15 +91,15 @@
</span><span class="cx">                         $args = array( 'name' =&gt; $_POST['menu-name'], 'slug' =&gt; null, 'description' =&gt; $old_nav_menu['description'], 'parent' =&gt; $old_nav_menu['parent'], );
</span><span class="cx">                         $new_nav_menu = wp_update_term( $nav_menu_selected_id, 'nav_menu', $args );
</span><span class="cx">                 }
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Update menu items
</span><span class="cx">                 $update_nav_items = isset( $_POST['li-count'] ) ? (int) $_POST['li-count'] : 0;
</span><span class="cx">                 $update_nav_menu = is_nav_menu( $nav_menu_selected_id );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( !is_wp_error($update_nav_menu) ) {
</span><span class="cx">                         $menu_items = wp_get_nav_menu_items( $nav_menu_selected_id, array('orderby' =&gt; 'ID', 'output' =&gt; ARRAY_A, 'output_key' =&gt; 'ID') );
</span><span class="cx">                         $parent_menu_ids = array();
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Loop through all POST variables
</span><span class="cx">                         for ( $k = 0; $k &lt; $update_nav_items; $k++ ) {
</span><span class="cx">                                 $menu_item_db_id                 = isset( $_POST['menu-item-db-id'][$k] )                ? $_POST['menu-item-db-id'][$k]         : 0;
</span><span class="lines">@@ -108,7 +108,7 @@
</span><span class="cx">                                 $menu_item_position         = isset( $_POST['menu-item-position'][$k] )         ? $_POST['menu-item-position'][$k]         : 0;
</span><span class="cx">                                 $menu_item_type                 = isset( $_POST['menu-item-type'][$k] )                         ? $_POST['menu-item-type'][$k]                 : 'custom';
</span><span class="cx">                                 $menu_item_append                 = isset( $_POST['menu-item-append'][$k] )                 ? $_POST['menu-item-append'][$k]        : 'custom';
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 $menu_item_title                 = isset( $_POST['menu-item-title'][$k] )                 ? $_POST['menu-item-title'][$k]         : '';
</span><span class="cx">                                 $menu_item_url                         = isset( $_POST['menu-item-url'][$k] )                         ? $_POST['menu-item-url'][$k]                 : '';
</span><span class="cx">                                 $menu_item_description         = isset( $_POST['menu-item-description'][$k] )         ? $_POST['menu-item-description'][$k]: '';
</span><span class="lines">@@ -116,11 +116,11 @@
</span><span class="cx">                                 $menu_item_target                 = isset( $_POST['menu-item-target'][$k] )                 ? $_POST['menu-item-target'][$k]         : 0;
</span><span class="cx">                                 $menu_item_classes                 = isset( $_POST['menu-item-classes'][$k] )                 ? $_POST['menu-item-classes'][$k]         : '';
</span><span class="cx">                                 $menu_item_xfn                         = isset( $_POST['menu-item-xfn'][$k] )                         ? $_POST['menu-item-xfn'][$k]                 : '';
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 // Menu item title can't be blank
</span><span class="cx">                                 if ( '' == $menu_item_title )
</span><span class="cx">                                         continue;
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 // Populate the menu item
</span><span class="cx">                                 $post = array( 'post_status' =&gt; 'publish', 'post_type' =&gt; 'nav_menu_item', 'post_author' =&gt; $user_ID,
</span><span class="cx">                                         'ping_status' =&gt; 0, 'post_parent' =&gt; $menu_item_parent_id, 'menu_order' =&gt; $menu_item_position,
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">                                         unset( $menu_items[$menu_item_db_id] );
</span><span class="cx">                                 }
</span><span class="cx">                                 $parent_menu_ids[$k] = $menu_item_db_id;
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 // @todo sanitize type append and ID.
</span><span class="cx">                                 update_post_meta( $menu_item_db_id, 'menu_item_type', $menu_item_type );
</span><span class="cx">                                 update_post_meta( $menu_item_db_id, 'menu_item_append', $menu_item_append );
</span><span class="lines">@@ -145,11 +145,11 @@
</span><span class="cx">                                 // @todo handle sanitizing multiple classes separated by whitespace.
</span><span class="cx">                                 update_post_meta( $menu_item_db_id, 'menu_item_classes', sanitize_html_class($menu_item_classes) );
</span><span class="cx">                                 update_post_meta( $menu_item_db_id, 'menu_item_xfn', sanitize_html_class($menu_item_xfn) );
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 // @todo: only save custom link urls.
</span><span class="cx">                                 update_post_meta( $menu_item_db_id, 'menu_item_url', esc_url_raw( $menu_item_url ) );
</span><span class="cx">                         }
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Remove menu items from the menu that weren't in $_POST
</span><span class="cx">                         if ( !empty( $menu_items ) ) {
</span><span class="cx">                                 foreach ( array_keys( $menu_items ) as $menu_item_id ) {
</span><span class="lines">@@ -177,7 +177,7 @@
</span><span class="cx"> 
</span><span class="cx"> // Else try to grab the first menu from the menus list
</span><span class="cx"> } elseif ( 0 == $nav_menu_selected_id &amp;&amp; ! empty($nav_menus) ) {
</span><del>-        $nav_menu_selected_id = $nav_menus[0]-&gt;term_id;        
</del><ins>+        $nav_menu_selected_id = $nav_menus[0]-&gt;term_id;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Update the user's setting
</span><span class="lines">@@ -214,7 +214,7 @@
</span><span class="cx">                 &lt;?php
</span><span class="cx">                         foreach ( $nav_menus as $_nav_menu ) {
</span><span class="cx">                                 $sep = end( $nav_menus ) == $_nav_menu ? '' : ' | ';
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 if ( $nav_menu_selected_id == $_nav_menu-&gt;term_id )
</span><span class="cx">                                         echo '&lt;li&gt;&lt;a href=&quot;'. admin_url( 'nav-menus.php?action=edit&amp;amp;menu=' . esc_attr($_nav_menu-&gt;term_id) ) .'&quot; class=&quot;current&quot;&gt;'. esc_html( $_nav_menu-&gt;name ) .'&lt;/a&gt;'. $sep .'&lt;/li&gt;';
</span><span class="cx">                                 else
</span><span class="lines">@@ -232,16 +232,16 @@
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;update&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;li-count&quot; id=&quot;li-count&quot; value=&quot;0&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;menu&quot; id=&quot;menu&quot; value=&quot;&lt;?php echo esc_attr( $nav_menu_selected_id ); ?&gt;&quot; /&gt;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         &lt;div id=&quot;post-body&quot;&gt;
</span><span class="cx">                                 &lt;div id=&quot;post-body-content&quot;&gt;
</span><span class="cx">                                         &lt;?php if ( is_nav_menu($nav_menu_selected_id) ) : ?&gt;
</span><span class="cx">                                                 &lt;div id=&quot;menu-container&quot; class=&quot;postbox&quot;&gt;
</span><span class="cx">                                                         &lt;h3 class=&quot;hndle&quot;&gt;&lt;?php echo esc_html( $nav_menu_selected_title ); ?&gt;&lt;/h3&gt;
</span><span class="cx">                                                         &lt;div class=&quot;inside&quot;&gt;
</span><del>-                                                                
</del><ins>+
</ins><span class="cx">                                                                 &lt;?php echo wp_get_nav_menu( array( 'context' =&gt; 'backend', 'menu' =&gt; $nav_menu_selected_id ) ); ?&gt;
</span><del>-                                                                
</del><ins>+
</ins><span class="cx">                                                         &lt;/div&gt;&lt;!-- /.inside --&gt;
</span><span class="cx">                                                 &lt;!-- /#nav-menu-canvas .postbox--&gt;
</span><span class="cx">                                                 &lt;/div&gt;
</span><span class="lines">@@ -252,9 +252,9 @@
</span><span class="cx">                                 &lt;/div&gt;&lt;!-- /#post-body-content--&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!--- /#post-body --&gt;
</span><span class="cx">                         &lt;div id=&quot;menu-settings-column&quot; class=&quot;inner-sidebar&quot;&gt;
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 &lt;?php do_meta_boxes( 'menus', 'side', null ); ?&gt;
</span><del>-                                
</del><ins>+
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- /#menu-settings-column --&gt;
</span><span class="cx">                 &lt;/form&gt;&lt;!--/#update-nav-menu--&gt;
</span><span class="cx">                 &lt;br class=&quot;clear&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpadminnetworkphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/network.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx">                 echo &quot;\ndefine( '$c', '$v' );&quot;;
</span><span class="cx">         }
</span><span class="cx"> ?&gt;&lt;/textarea&gt;
</span><del>-&lt;?php        
</del><ins>+&lt;?php
</ins><span class="cx">         }
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;/li&gt;
</span></span></pre></div>
<a id="trunkwpadminoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/options.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> 
</span><span class="cx"> if ( !current_user_can('manage_options') )
</span><span class="cx">         wp_die(__('Cheatin&amp;#8217; uh?'));
</span><del>-        
</del><ins>+
</ins><span class="cx"> if ( is_multisite() &amp;&amp; !is_super_admin() &amp;&amp; 'update' != $action )
</span><span class="cx">         wp_die(__('Cheatin&amp;#8217; uh?'));
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/plugins.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -96,21 +96,21 @@
</span><span class="cx">                         exit;
</span><span class="cx">                         break;
</span><span class="cx">                 case 'update-selected' :
</span><del>-                
</del><ins>+
</ins><span class="cx">                         check_admin_referer( 'bulk-manage-plugins' );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         if ( isset( $_GET['plugins'] ) )
</span><span class="cx">                                 $plugins = explode( ',', $_GET['plugins'] );
</span><span class="cx">                         elseif ( isset( $_POST['checked'] ) )
</span><span class="cx">                                 $plugins = (array) $_POST['checked'];
</span><span class="cx">                         else
</span><span class="cx">                                 $plugins = array();
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $title = __( 'Upgrade Plugins' );
</span><span class="cx">                         $parent_file = 'plugins.php';
</span><span class="cx"> 
</span><span class="cx">                         require_once( 'admin-header.php' );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         echo '&lt;div class=&quot;wrap&quot;&gt;';
</span><span class="cx">                         screen_icon();
</span><span class="cx">                         echo '&lt;h2&gt;' . esc_html( $title ) . '&lt;/h2&gt;';
</span></span></pre></div>
<a id="trunkwpadmintoolsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/tools.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/tools.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/tools.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -90,13 +90,13 @@
</span><span class="cx"> $cats = get_taxonomy('category');
</span><span class="cx"> $tags = get_taxonomy('post_tag');
</span><span class="cx"> 
</span><del>-if ( current_user_can($cats-&gt;manage_cap) || current_user_can($tags-&gt;manage_cap) ) : ?&gt; 
-&lt;div class=&quot;tool-box&quot;&gt; 
</del><ins>+if ( current_user_can($cats-&gt;manage_cap) || current_user_can($tags-&gt;manage_cap) ) : ?&gt;
+&lt;div class=&quot;tool-box&quot;&gt;
</ins><span class="cx">     &lt;h3 class=&quot;title&quot;&gt;&lt;?php _e('Category&amp;#47;Tag Conversion') ?&gt;&lt;/h3&gt;
</span><del>-    &lt;p&gt;&lt;?php printf(__('Use this to convert &lt;a href=&quot;%s&quot;&gt;categories to tags&lt;/a&gt;, or &lt;a href=&quot;%s&quot;&gt;tags to categories&lt;/a&gt;.'), 'admin.php?import=wp-cat2tag', 'admin.php?import=wp-cat2tag&amp;amp;step=3'); ?&gt;&lt;/p&gt; 
-&lt;/div&gt; 
</del><ins>+    &lt;p&gt;&lt;?php printf(__('Use this to convert &lt;a href=&quot;%s&quot;&gt;categories to tags&lt;/a&gt;, or &lt;a href=&quot;%s&quot;&gt;tags to categories&lt;/a&gt;.'), 'admin.php?import=wp-cat2tag', 'admin.php?import=wp-cat2tag&amp;amp;step=3'); ?&gt;&lt;/p&gt;
+&lt;/div&gt;
</ins><span class="cx"> &lt;?php
</span><del>-endif; 
</del><ins>+endif;
</ins><span class="cx"> 
</span><span class="cx"> do_action( 'tool_box' );
</span><span class="cx"> ?&gt;
</span></span></pre></div>
<a id="trunkwpadminupdatecorephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/update-core.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/update-core.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/update-core.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -267,7 +267,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx">         foreach ( (array) $themes as $stylesheet =&gt; $theme_data) {
</span><span class="cx">                 $screenshot = $theme_data-&gt;{'Theme Root URI'} . '/' . $stylesheet . '/' . $theme_data-&gt;Screenshot;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 echo &quot;
</span><span class="cx">         &lt;tr class='active'&gt;
</span><span class="cx">                 &lt;th scope='row' class='check-column'&gt;&lt;input type='checkbox' name='checked[]' value='&quot; . esc_attr($stylesheet) . &quot;' /&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="trunkwpadminupdatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/update.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/update.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/update.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">                 $upgrader-&gt;bulk_upgrade( $plugins );
</span><span class="cx"> 
</span><span class="cx">                 iframe_footer();
</span><del>-                        
</del><ins>+
</ins><span class="cx">         } elseif ( 'upgrade-plugin' == $action ) {
</span><span class="cx">                 if ( ! current_user_can('update_plugins') )
</span><span class="cx">                         wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
</span></span></pre></div>
<a id="trunkwpadminuploadphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/upload.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/upload.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-admin/upload.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -396,7 +396,7 @@
</span><span class="cx">                 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post-&gt;ID ), $matches ) )
</span><span class="cx">                         echo esc_html( strtoupper( $matches[1] ) );
</span><span class="cx">                 else
</span><del>-                        echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) );  
</del><ins>+                        echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) );
</ins><span class="cx">                 ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;row-actions&quot;&gt;
</span></span></pre></div>
<a id="trunkwpincludesdefaultfiltersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/default-filters.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/default-filters.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/default-filters.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">         add_filter( $filter, 'esc_html'      );
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-// Format titles 
</del><ins>+// Format titles
</ins><span class="cx"> foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title' ) as $filter ) {
</span><span class="cx">         add_filter( $filter, 'wptexturize' );
</span><span class="cx">         add_filter( $filter, 'strip_tags'  );
</span></span></pre></div>
<a id="trunkwpincludesdefaultwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/default-widgets.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/default-widgets.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/default-widgets.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -1029,7 +1029,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function _get_current_taxonomy($instance) {
</span><del>-                if ( !empty($instance['taxonomy']) &amp;&amp; is_taxonomy($instance['taxonomy']) ) 
</del><ins>+                if ( !empty($instance['taxonomy']) &amp;&amp; is_taxonomy($instance['taxonomy']) )
</ins><span class="cx">                         return $instance['taxonomy'];
</span><span class="cx"> 
</span><span class="cx">                 return 'post_tag';
</span><span class="lines">@@ -1047,21 +1047,21 @@
</span><span class="cx">                 $widget_ops = array( 'description' =&gt; __('Use this widget to add one of your navigation menus as a widget.') );
</span><span class="cx">                 parent::WP_Widget( 'nav_menu', __('Navigation Menu'), $widget_ops );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function widget($args, $instance) {
</span><span class="cx">                 // Get menu
</span><span class="cx">                 $nav_menu = wp_get_nav_menu_object( $instance['nav_menu'] );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( !$nav_menu )
</span><del>-                        return;                
-                
</del><ins>+                        return;
+
</ins><span class="cx">                 echo $args['before_widget'];
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( isset($instance['title']) )
</span><span class="cx">                         echo $args['before_title'] . $instance['title'] . $args['after_title'];
</span><del>-                
</del><ins>+
</ins><span class="cx">                 wp_nav_menu( array( 'menu' =&gt; $nav_menu ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 echo $args['after_widget'];
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -1074,10 +1074,10 @@
</span><span class="cx">         function form( $instance ) {
</span><span class="cx">                 $title = isset( $instance['title'] ) ? $instance['title'] : '';
</span><span class="cx">                 $nav_menu = isset( $instance['nav_menu'] ) ? $instance['nav_menu'] : '';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Get menus
</span><span class="cx">                 $menus = get_terms( 'nav_menu', array( 'hide_empty' =&gt; false ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // If no menus exists, direct the user to go and create some.
</span><span class="cx">                 if ( !$menus ) {
</span><span class="cx">                         echo '&lt;p&gt;'. sprintf( __('No menus have been created yet. &lt;a href=&quot;%s&quot;&gt;Create some&lt;/a&gt;.'), admin_url('nav-menus.php') ) .'&lt;/p&gt;';
</span></span></pre></div>
<a id="trunkwpincludesformattingphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/formatting.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/formatting.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/formatting.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -756,7 +756,7 @@
</span><span class="cx">  * Keys are used as internal identifiers. They should be lowercase ASCII.  Dashes and underscores are allowed.
</span><span class="cx">  *
</span><span class="cx">  * @since 3.0.0
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @param string $key String key
</span><span class="cx">  * @return string Sanitized key
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkwpincludesfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/functions.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/functions.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/functions.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -1825,7 +1825,7 @@
</span><span class="cx">                         if ( defined( 'CUSTOM_USER_TABLE' ) &amp;&amp; CUSTOM_USER_TABLE == $table )
</span><span class="cx">                                 continue;
</span><span class="cx">                         if ( defined( 'CUSTOM_USER_META_TABLE' ) &amp;&amp; CUSTOM_USER_META_TABLE == $table )
</span><del>-                                continue;                                
</del><ins>+                                continue;
</ins><span class="cx"> 
</span><span class="cx">                         // If visiting repair.php, return true and let it take over.
</span><span class="cx">                         if ( defined('WP_REPAIRING') )
</span></span></pre></div>
<a id="trunkwpincludesl10nphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/l10n.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/l10n.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/l10n.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -316,7 +316,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Unloads translations for a domain
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @since 3.0.0
</span><span class="cx">  * @param string $domain Textdomain to be unloaded
</span><span class="cx">  * @return bool Whether textdomain was unloaded
</span></span></pre></div>
<a id="trunkwpincludeslinktemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/link-template.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/link-template.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/link-template.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -2059,7 +2059,7 @@
</span><span class="cx">  * via the get_shortlink filter.
</span><span class="cx">  *
</span><span class="cx">  * @since 3.0.0.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * @param int $id A post or blog id.  Default is 0, which means the current post or blog.
</span><span class="cx">  * @param string $contex Whether the id is a 'blog' id, 'post' id, or 'media' id.  If 'post', the post_type of the post is consulted.  If 'query', the current query is consulted to determine the id and context. Default is 'post'.
</span><span class="cx">  * @param bool $allow_slugs Whether to allow post slugs in the shortlink. It is up to the plugin how and whether to honor this.
</span></span></pre></div>
<a id="trunkwpincludesnavmenutemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/nav-menu-template.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/nav-menu-template.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/nav-menu-template.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -25,14 +25,14 @@
</span><span class="cx"> function wp_nav_menu( $args = array() ) {
</span><span class="cx">         $defaults = array( 'menu' =&gt; '', 'container' =&gt; 'div', 'container_class' =&gt; '', 'menu_class' =&gt; 'menu', 'echo' =&gt; true,
</span><span class="cx">         'fallback_cb' =&gt; 'wp_page_menu', 'before_link' =&gt; '', 'after_link' =&gt; '', 'before_title' =&gt; '', 'after_title' =&gt; '', );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $args = wp_parse_args( $args, $defaults );
</span><span class="cx">         $args = apply_filters( 'wp_nav_menu_args', $args );
</span><span class="cx">         $args = (object) $args;
</span><span class="cx"> 
</span><span class="cx">         // Get the nav menu
</span><span class="cx">         $menu = wp_get_nav_menu_object( $args-&gt;menu );
</span><del>-                
</del><ins>+
</ins><span class="cx">         // If we couldn't find a menu based off the name, id or slug,
</span><span class="cx">         // get the first menu that has items.
</span><span class="cx">         if ( !$menu ) {
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( 'div' == $args-&gt;container ) {
</span><span class="cx">                 $class = $args-&gt;container_class ? ' class=&quot;' . esc_attr($args-&gt;container_class) . '&quot;' : '';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( is_nav_menu($menu) ) {
</span><span class="cx">                         $nav_menu .= '&lt;div id=&quot;menu-' . $menu-&gt;slug . '&quot;'. $class .'&gt;';
</span><span class="cx">                 } else {
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( 'div' == $args-&gt;container )
</span><span class="cx">                 $nav_menu .= '&lt;/div&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         $nav_menu = apply_filters( 'wp_nav_menu', $nav_menu, $args );
</span><span class="cx"> 
</span><span class="cx">         if ( $args-&gt;echo )
</span><span class="lines">@@ -85,25 +85,25 @@
</span><span class="cx"> function wp_get_nav_menu( $args = array() ) {
</span><span class="cx">         $defaults = array( 'menu' =&gt; '', 'menu_class' =&gt; 'menu', 'context' =&gt; 'frontend',
</span><span class="cx">         'fallback_cb' =&gt; '', 'before_link' =&gt; '', 'after_link' =&gt; '', 'before_title' =&gt; '', 'after_title' =&gt; '', );
</span><del>-        
</del><ins>+
</ins><span class="cx">         $args = wp_parse_args( $args, $defaults );
</span><span class="cx">         $args = apply_filters( 'wp_get_nav_menu_args', $args );
</span><span class="cx">         $args = (object) $args;
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Variable setup
</span><span class="cx">         $nav_menu = '';
</span><span class="cx">         $items = '';
</span><span class="cx">         $current_parent = 0;
</span><span class="cx">         $parent_stack = array();
</span><span class="cx">         $parent_menu_order = array();
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Get the menu object
</span><span class="cx">         $menu = wp_get_nav_menu_object( $args-&gt;menu );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // If the menu exists, get it's items.
</span><span class="cx">         if ( $menu &amp;&amp; !is_wp_error($menu) )
</span><span class="cx">                 $menu_items = wp_get_nav_menu_items( $menu-&gt;term_id, 'backend' );
</span><del>-        
</del><ins>+
</ins><span class="cx">         // If no menu was found or if the menu has no items, call the fallback_cb
</span><span class="cx">         if ( !$menu || is_wp_error($menu) || ( isset($menu_items) &amp;&amp; empty($menu_items) ) ) {
</span><span class="cx">                 if ( function_exists($args-&gt;fallback_cb) ) {
</span><span class="lines">@@ -111,7 +111,7 @@
</span><span class="cx">                         return call_user_func( $args-&gt;fallback_cb, $_args );
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         foreach ( $menu_items as $key =&gt; $menu_item ) {
</span><span class="cx">                 // Set up the $menu_item variables
</span><span class="cx">                 $menu_item = wp_setup_nav_menu_item( $menu_item, 'frontend' );
</span><span class="lines">@@ -119,10 +119,10 @@
</span><span class="cx">                 $type = $menu_item-&gt;append;
</span><span class="cx">                 $maybe_value = 'frontend' == $args-&gt;context ? '' : ' value=&quot;'. $menu_item-&gt;ID .'&quot;';
</span><span class="cx">                 $classes = 'frontend' == $args-&gt;context ? ' class=&quot;menu-item-type-'. $type . $menu_item-&gt;li_class .'&quot;' : '';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $items .= '&lt;li id=&quot;menu-item-'. $menu_item-&gt;ID .'&quot;'. $maybe_value . $classes .'&gt;';
</span><span class="cx">                 $items .= wp_get_nav_menu_item( $menu_item, $args-&gt;context, $args );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Indent children
</span><span class="cx">                 $last_item = ( count( $menu_items ) == $menu_item-&gt;menu_order );
</span><span class="cx">                 if ( $last_item || $current_parent != $menu_items[$key + 1]-&gt;post_parent ) {
</span><span class="lines">@@ -141,11 +141,11 @@
</span><span class="cx">                         $items .= '&lt;/li&gt;';
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         // CSS class
</span><span class="cx">         $ul_class = $args-&gt;menu_class ? ' class=&quot;'. $args-&gt;menu_class .'&quot;' : '';
</span><span class="cx">         $nav_menu .= '&lt;ul'. $ul_class .'&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Allow plugins to hook into the menu to add their own &lt;li&gt;'s
</span><span class="cx">         if ( 'frontend' == $args-&gt;context ) {
</span><span class="cx">                 $items = apply_filters( 'wp_nav_menu_items', $items, $args );
</span><span class="lines">@@ -154,9 +154,9 @@
</span><span class="cx">         } else {
</span><span class="cx">                 $nav_menu .= $items;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $nav_menu .= '&lt;/ul&gt;';
</span><del>-        
</del><ins>+
</ins><span class="cx">         return apply_filters( 'wp_get_nav_menu', $nav_menu );
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -179,15 +179,15 @@
</span><span class="cx">                         $attributes .= ( isset($menu_item-&gt;classes) &amp;&amp; '' != $menu_item-&gt;classes ) ? ' class=&quot;'. esc_attr($menu_item-&gt;classes) .'&quot;' : '';
</span><span class="cx">                         $attributes .= ( isset($menu_item-&gt;xfn) &amp;&amp; '' != $menu_item-&gt;xfn ) ? ' rel=&quot;'. esc_attr($menu_item-&gt;xfn) .'&quot;' : '';
</span><span class="cx">                         $attributes .= ( isset($menu_item-&gt;url) &amp;&amp; '' != $menu_item-&gt;url ) ? ' href=&quot;'. esc_attr($menu_item-&gt;url) .'&quot;' : '';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $output .= esc_html( $args-&gt;before_link );
</span><span class="cx">                         $output .= '&lt;a'. $attributes .'&gt;';
</span><span class="cx">                         $output .= esc_html( $args-&gt;before_title . $menu_item-&gt;title . $args-&gt;after_title );
</span><span class="cx">                         $output .= '&lt;/a&gt;';
</span><span class="cx">                         $output .= esc_html( $args-&gt;after_link );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         break;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 case 'backend':
</span><span class="cx">                         $output .= '&lt;dl&gt;&lt;dt&gt;';
</span><span class="cx">                         $output .= '&lt;span class=&quot;item-title&quot;&gt;'. esc_html($menu_item-&gt;title) .'&lt;/span&gt;';
</span><span class="lines">@@ -204,13 +204,13 @@
</span><span class="cx">                                 $label = $menu_item-&gt;append;
</span><span class="cx">                         }
</span><span class="cx">                         $output .= '&lt;span class=&quot;item-type&quot;&gt;'. esc_html($label) .'&lt;/span&gt;';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Actions
</span><span class="cx">                         $output .= '&lt;a class=&quot;item-edit thickbox&quot; id=&quot;edit'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; title=&quot;'. __('Edit Menu Item') .'&quot; href=&quot;#TB_inline?height=540&amp;width=300&amp;inlineId=menu-item-settings&quot;&gt;'. __('Edit') .'&lt;/a&gt; | ';
</span><span class="cx">                         $output .= '&lt;a class=&quot;item-delete&quot; id=&quot;delete'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;menu_order ) .'&quot;&gt;'. __('Delete') .'&lt;/a&gt;';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $output .= '&lt;/dt&gt;&lt;/dl&gt;';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Menu Item Settings
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-db-id[]&quot; id=&quot;menu-item-db-id'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;ID ) .'&quot; /&gt;';
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-object-id[]&quot; id=&quot;menu-item-object-id'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;object_id ) .'&quot; /&gt;';
</span><span class="lines">@@ -226,11 +226,11 @@
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-attr-title[]&quot; id=&quot;menu-item-attr-title'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'.esc_attr( $menu_item-&gt;post_excerpt )  .'&quot; /&gt;';
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; name=&quot;menu-item-target[]&quot; id=&quot;menu-item-target'. esc_attr( $menu_item-&gt;menu_order ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;target ) .'&quot; /&gt;';
</span><span class="cx">                         break;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 case 'custom':
</span><span class="cx">                         $menu_id = 'menu-item-' . $menu_item-&gt;db_id;
</span><span class="cx">                         $output .= '&lt;label class=&quot;menu-item-title&quot;&gt;&lt;input type=&quot;checkbox&quot; id=&quot;'. esc_attr( $menu_id ) .'&quot; name=&quot;'. esc_attr( $menu_item-&gt;title ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;url ) .'&quot; /&gt;'. $menu_item-&gt;title .'&lt;/label&gt;';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Menu item hidden fields
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-db-id&quot; value=&quot;'. esc_attr( $menu_item-&gt;db_id ) .'&quot; /&gt;';
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-object-id&quot; value=&quot;'. esc_attr( $menu_item-&gt;object_id ) .'&quot; /&gt;';
</span><span class="lines">@@ -245,12 +245,12 @@
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-classes&quot; value=&quot;'. esc_attr( $menu_item-&gt;classes ) .'&quot; /&gt;';
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-xfn&quot; value=&quot;'. esc_attr( $menu_item-&gt;xfn ) .'&quot; /&gt;';
</span><span class="cx">                         break;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 case 'taxonomy':
</span><span class="cx">                 case 'post_type':
</span><span class="cx">                         $menu_id = 'menu-item-' . $menu_item-&gt;db_id;
</span><span class="cx">                         $output .= '&lt;label class=&quot;menu-item-title&quot;&gt;&lt;input type=&quot;checkbox&quot; id=&quot;'. esc_attr( $menu_id ) .'&quot; name=&quot;'. esc_attr( $menu_item-&gt;title ) .'&quot; value=&quot;'. esc_attr( $menu_item-&gt;url ) .'&quot; /&gt;'. $menu_item-&gt;title .'&lt;/label&gt;';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Menu item hidden fields
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-db-id&quot; value=&quot;0&quot; /&gt;';
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-object-id&quot; value=&quot;'. esc_attr( $menu_item-&gt;object_id ) .'&quot; /&gt;';
</span><span class="lines">@@ -262,7 +262,7 @@
</span><span class="cx">                         $output .= '&lt;input type=&quot;hidden&quot; class=&quot;menu-item-append&quot; value=&quot;'. esc_attr( $menu_item-&gt;append ) .'&quot; /&gt;';
</span><span class="cx">                         break;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         return $output;
</span><span class="cx"> }
</span><span class="cx"> ?&gt;
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesnavmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/nav-menu.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/nav-menu.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/nav-menu.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -118,21 +118,21 @@
</span><span class="cx">  * @since 3.0.0
</span><span class="cx">  *
</span><span class="cx">  * @param string $menu menu name, id, or slug
</span><del>- * @param string $args 
</del><ins>+ * @param string $args
</ins><span class="cx">  * @return mixed $items array of menu items, else false.
</span><span class="cx">  */
</span><span class="cx"> function wp_get_nav_menu_items( $menu, $args = array() ) {
</span><span class="cx">         $menu = wp_get_nav_menu_object( $menu );
</span><del>-        
</del><ins>+
</ins><span class="cx">         if ( !$menu )
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         $items = get_objects_in_term( $menu-&gt;term_id, 'nav_menu' );
</span><span class="cx"> 
</span><span class="cx">         if ( ! empty( $items ) ) {
</span><span class="cx">                 $defaults = array( 'orderby' =&gt; 'menu_order', 'post_type' =&gt; 'nav_menu_item', 'post_status' =&gt; 'publish', 'output' =&gt; ARRAY_A, 'output_key' =&gt; 'menu_order' );
</span><span class="cx">                 $args = wp_parse_args( $args, $defaults );
</span><del>-                if ( count( $items ) &gt; 1 )        
</del><ins>+                if ( count( $items ) &gt; 1 )
</ins><span class="cx">                         $args['include'] = implode( ',', $items );
</span><span class="cx">                 else
</span><span class="cx">                         $args['include'] = $items[0];
</span><span class="lines">@@ -164,7 +164,7 @@
</span><span class="cx">  */
</span><span class="cx"> function wp_setup_nav_menu_item( $menu_item, $menu_item_type = null, $menu_item_object = '' ) {
</span><span class="cx">         global $wp_query;
</span><del>-        
</del><ins>+
</ins><span class="cx">         switch ( $menu_item_type ) {
</span><span class="cx">                 case 'frontend':
</span><span class="cx">                         $menu_item-&gt;db_id = (int) $menu_item-&gt;ID;
</span><span class="lines">@@ -173,26 +173,26 @@
</span><span class="cx">                         $menu_item-&gt;type = get_post_meta( $menu_item-&gt;ID, 'menu_item_type', true );
</span><span class="cx"> 
</span><span class="cx">                         $menu_item-&gt;append = get_post_meta( $menu_item-&gt;ID, 'menu_item_append', true );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $menu_item-&gt;title = $menu_item-&gt;post_title;
</span><span class="cx">                         $menu_item-&gt;url = get_post_meta( $menu_item-&gt;ID, 'menu_item_url', true );
</span><span class="cx">                         $menu_item-&gt;target = get_post_meta( $menu_item-&gt;ID, 'menu_item_target', true );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $menu_item-&gt;attr_title = strip_tags( $menu_item-&gt;post_excerpt );
</span><span class="cx">                         $menu_item-&gt;description = strip_tags( $menu_item-&gt;post_content );
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $menu_item-&gt;classes = get_post_meta( $menu_item-&gt;ID, 'menu_item_classes', true );;
</span><span class="cx">                         $menu_item-&gt;xfn = get_post_meta( $menu_item-&gt;ID, 'menu_item_xfn', true );
</span><span class="cx">                         $menu_item-&gt;li_class = ( $menu_item-&gt;object_id == $wp_query-&gt;get_queried_object_id() ) ? ' current_page_item' : '';
</span><span class="cx">                         break;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 case 'custom':
</span><span class="cx">                         $menu_item-&gt;db_id = (int) $menu_item-&gt;ID;
</span><span class="cx">                         $menu_item-&gt;object_id = (int) $menu_item-&gt;ID;
</span><span class="cx">                         $menu_item-&gt;parent_id = (int) $menu_item-&gt;post_parent;
</span><span class="cx">                         $menu_item-&gt;type = 'custom'; //$menu_item_type
</span><span class="cx">                         $menu_item-&gt;append = 'custom';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $menu_item-&gt;attr_title = strip_tags( $menu_item-&gt;post_excerpt );
</span><span class="cx">                         $menu_item-&gt;description = strip_tags( $menu_item-&gt;post_content );
</span><span class="cx"> 
</span><span class="lines">@@ -200,31 +200,31 @@
</span><span class="cx">                         $menu_item-&gt;url = get_post_meta( $menu_item-&gt;ID, 'menu_item_url', true );
</span><span class="cx">                         $menu_item-&gt;target = get_post_meta( $menu_item-&gt;ID, 'menu_item_target', true );
</span><span class="cx">                         break;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 case 'post_type':
</span><span class="cx">                         $menu_item-&gt;db_id = 0;
</span><span class="cx">                         $menu_item-&gt;object_id = (int) $menu_item-&gt;ID;
</span><span class="cx">                         $menu_item-&gt;parent_id = (int) $menu_item-&gt;post_parent;
</span><span class="cx">                         $menu_item-&gt;type = $menu_item_type;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $object = get_post_type_object( $menu_item_object );
</span><span class="cx">                         $menu_item-&gt;append = $object-&gt;name;
</span><span class="cx"> 
</span><span class="cx">                         $menu_item-&gt;title = $menu_item-&gt;post_title;
</span><span class="cx">                         $menu_item-&gt;url = get_permalink( $menu_item-&gt;ID );
</span><span class="cx">                         $menu_item-&gt;target = '_self';
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $menu_item-&gt;attr_title = '';
</span><span class="cx">                         $menu_item-&gt;description = strip_tags( $menu_item-&gt;post_content );
</span><span class="cx">                         break;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 case 'taxonomy':
</span><span class="cx">                         $menu_item-&gt;ID = $menu_item-&gt;term_id;
</span><span class="cx">                         $menu_item-&gt;db_id = 0;
</span><span class="cx">                         $menu_item-&gt;object_id = (int) $menu_item-&gt;term_id;
</span><span class="cx">                         $menu_item-&gt;parent_id = (int) $menu_item-&gt;parent;
</span><span class="cx">                         $menu_item-&gt;type = $menu_item_type;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         $object = get_taxonomy( $menu_item_object );
</span><span class="cx">                         $menu_item-&gt;append = $object-&gt;name;
</span><span class="cx"> 
</span><span class="lines">@@ -238,7 +238,7 @@
</span><span class="cx"> 
</span><span class="cx">         $menu_item-&gt;classes = get_post_meta( $menu_item-&gt;ID, 'menu_item_classes', true );
</span><span class="cx">         $menu_item-&gt;xfn = get_post_meta( $menu_item-&gt;ID, 'menu_item_xfn', true );
</span><del>-        
</del><ins>+
</ins><span class="cx">         return $menu_item;
</span><span class="cx"> }
</span><span class="cx"> ?&gt;
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludespluggablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/pluggable.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/pluggable.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/pluggable.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -166,7 +166,7 @@
</span><span class="cx">         $list = implode(',', $clean);
</span><span class="cx"> 
</span><span class="cx">         $results = $wpdb-&gt;get_results(&quot;SELECT * FROM $wpdb-&gt;users WHERE ID IN ($list)&quot;);
</span><del>-    
</del><ins>+
</ins><span class="cx">         _fill_many_users($results);
</span><span class="cx"> }
</span><span class="cx"> endif;
</span></span></pre></div>
<a id="trunkwpincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/post.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/post.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/post.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -2930,12 +2930,12 @@
</span><span class="cx">         extract( $r, EXTR_SKIP );
</span><span class="cx">         $number = (int) $number;
</span><span class="cx">         $offset = (int) $offset;
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Make sure the post type is hierarchical
</span><span class="cx">         $hierarchical_post_types = get_post_types( array( 'hierarchical' =&gt; true ) );
</span><span class="cx">         if ( !in_array( $post_type, $hierarchical_post_types ) )
</span><span class="cx">                 return false;
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Make sure we have a valid post status
</span><span class="cx">         if ( !in_array($post_status, get_post_stati()) )
</span><span class="cx">                 return false;
</span><span class="lines">@@ -3031,7 +3031,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( $parent &gt;= 0 )
</span><span class="cx">                 $where .= $wpdb-&gt;prepare(' AND post_parent = %d ', $parent);
</span><del>-                
</del><ins>+
</ins><span class="cx">         $where_post_type = $wpdb-&gt;prepare( &quot;post_type = '%s' AND post_status = '%s'&quot;, $post_type, $post_status );
</span><span class="cx"> 
</span><span class="cx">         $query = &quot;SELECT * FROM $wpdb-&gt;posts $join WHERE ($where_post_type) $where &quot;;
</span><span class="lines">@@ -3178,7 +3178,7 @@
</span><span class="cx">                         $post_category = array( get_option('default_category') );
</span><span class="cx">                 else
</span><span class="cx">                         $post_category = array();
</span><del>-        }        
</del><ins>+        }
</ins><span class="cx"> 
</span><span class="cx">         // Are we updating or creating?
</span><span class="cx">         if ( !empty($ID) ) {
</span><span class="lines">@@ -3814,7 +3814,7 @@
</span><span class="cx">         $lastpostmodified = wp_cache_get( &quot;lastpostmodified:$timezone&quot;, 'timeinfo' );
</span><span class="cx">         if ( $lastpostmodified )
</span><span class="cx">                 return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
</span><del>-        
</del><ins>+
</ins><span class="cx">         switch ( strtolower($timezone) ) {
</span><span class="cx">                 case 'gmt':
</span><span class="cx">                         $lastpostmodified = $wpdb-&gt;get_var(&quot;SELECT post_modified_gmt FROM $wpdb-&gt;posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY post_modified_gmt DESC LIMIT 1&quot;);
</span><span class="lines">@@ -3826,13 +3826,13 @@
</span><span class="cx">                         $lastpostmodified = $wpdb-&gt;get_var(&quot;SELECT DATE_ADD(post_modified_gmt, INTERVAL '$add_seconds_server' SECOND) FROM $wpdb-&gt;posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY post_modified_gmt DESC LIMIT 1&quot;);
</span><span class="cx">                         break;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         $lastpostdate = get_lastpostdate($timezone);
</span><span class="cx">         if ( $lastpostdate &gt; $lastpostmodified )
</span><span class="cx">                 $lastpostmodified = $lastpostdate;
</span><span class="cx"> 
</span><del>-        if ( $lastpostmodified ) 
-                wp_cache_set( &quot;lastpostmodified:$timezone&quot;, $lastpostmodified, 'timeinfo' ); 
</del><ins>+        if ( $lastpostmodified )
+                wp_cache_set( &quot;lastpostmodified:$timezone&quot;, $lastpostmodified, 'timeinfo' );
</ins><span class="cx"> 
</span><span class="cx">         return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpincludesqueryphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/query.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/query.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/query.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -224,9 +224,9 @@
</span><span class="cx">  * Whether the current query is for the given taxonomy and/or term.
</span><span class="cx">  *
</span><span class="cx">  * If no taxonomy argument is set, returns true if any taxonomy is queried.
</span><del>- * If the taxonomy argument is passed but no term argument, returns true 
</del><ins>+ * If the taxonomy argument is passed but no term argument, returns true
</ins><span class="cx">  *    if the taxonomy or taxonomies in the argument are being queried.
</span><del>- * If both taxonomy and term arguments are passed, returns true 
</del><ins>+ * If both taxonomy and term arguments are passed, returns true
</ins><span class="cx">  *    if the current query is for a term contained in the terms argument
</span><span class="cx">  *    which has a taxonomy contained in the taxonomy argument.
</span><span class="cx">  *
</span><span class="lines">@@ -253,9 +253,9 @@
</span><span class="cx">         if ( empty( $term ) ) // Only a Taxonomy provided
</span><span class="cx">                 return isset($queried_object-&gt;taxonomy) &amp;&amp; count( $tax_array ) &amp;&amp; in_array($queried_object-&gt;taxonomy, $tax_array);
</span><span class="cx"> 
</span><del>-        return isset($queried_object-&gt;term_id) &amp;&amp; 
</del><ins>+        return isset($queried_object-&gt;term_id) &amp;&amp;
</ins><span class="cx">                         count(array_intersect(
</span><del>-                                array($queried_object-&gt;term_id, $queried_object-&gt;name, $queried_object-&gt;slug), 
</del><ins>+                                array($queried_object-&gt;term_id, $queried_object-&gt;name, $queried_object-&gt;slug),
</ins><span class="cx">                                 $term_array
</span><span class="cx">                         ));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpincludesrewritephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/rewrite.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/rewrite.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/rewrite.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -1780,10 +1780,10 @@
</span><span class="cx">                 } else {
</span><span class="cx">                         $siteurl = get_option( 'siteurl' );
</span><span class="cx">                         $siteurl_len = strlen( $siteurl );
</span><del>-                        if ( substr( WP_CONTENT_URL, 0, $siteurl_len ) == $siteurl &amp;&amp; strlen( WP_CONTENT_URL ) &gt; $siteurl_len ) 
</del><ins>+                        if ( substr( WP_CONTENT_URL, 0, $siteurl_len ) == $siteurl &amp;&amp; strlen( WP_CONTENT_URL ) &gt; $siteurl_len )
</ins><span class="cx">                                 $content_path = substr( WP_CONTENT_URL, $siteurl_len + 1 );
</span><span class="cx">                         else
</span><del>-                                $content_path = 'wp-content'; 
</del><ins>+                                $content_path = 'wp-content';
</ins><span class="cx">                         $rules = '&lt;rule name=&quot;wordpress - strip index.php&quot; stopProcessing=&quot;false&quot;&gt;
</span><span class="cx">                                         &lt;match url=&quot;^index.php/(.*)$&quot; /&gt;
</span><span class="cx">                                                 &lt;action type=&quot;Rewrite&quot; url=&quot;{R:1}&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpincludestaxonomyphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/taxonomy.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/taxonomy.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-includes/taxonomy.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx">  */
</span><span class="cx"> function is_taxonomy( $taxonomy ) {
</span><span class="cx">         global $wp_taxonomies;
</span><del>-                
</del><ins>+
</ins><span class="cx">         return isset($wp_taxonomies[$taxonomy]);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -261,12 +261,12 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if ( false !== $args['rewrite'] &amp;&amp; '' != get_option('permalink_structure') ) {
</span><del>-                $args['rewrite'] = wp_parse_args($args['rewrite'], array( 
-                        'slug' =&gt; sanitize_title_with_dashes($taxonomy), 
-                        'with_front' =&gt; true, 
-                )); 
-                $wp_rewrite-&gt;add_rewrite_tag(&quot;%$taxonomy%&quot;, '([^/]+)', $args['query_var'] ? &quot;{$args['query_var']}=&quot; : &quot;taxonomy=$taxonomy&amp;term=&quot;); 
-                $wp_rewrite-&gt;add_permastruct($taxonomy, &quot;{$args['rewrite']['slug']}/%$taxonomy%&quot;, $args['rewrite']['with_front']); 
</del><ins>+                $args['rewrite'] = wp_parse_args($args['rewrite'], array(
+                        'slug' =&gt; sanitize_title_with_dashes($taxonomy),
+                        'with_front' =&gt; true,
+                ));
+                $wp_rewrite-&gt;add_rewrite_tag(&quot;%$taxonomy%&quot;, '([^/]+)', $args['query_var'] ? &quot;{$args['query_var']}=&quot; : &quot;taxonomy=$taxonomy&amp;term=&quot;);
+                $wp_rewrite-&gt;add_permastruct($taxonomy, &quot;{$args['rewrite']['slug']}/%$taxonomy%&quot;, $args['rewrite']['with_front']);
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if ( is_null($args['show_ui']) )
</span></span></pre></div>
<a id="trunkwpsignupphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-signup.php (13732 => 13733)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-signup.php        2010-03-17 16:19:58 UTC (rev 13732)
+++ trunk/wp-signup.php        2010-03-17 16:27:25 UTC (rev 13733)
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx">                 $signup[ esc_html( $_POST[ 'signup_for' ] ) ] = 'checked=&quot;checked&quot;';
</span><span class="cx">         else
</span><span class="cx">                 $signup[ 'blog' ] = 'checked=&quot;checked&quot;';
</span><del>-                
</del><ins>+
</ins><span class="cx">         //TODO - This doesn't seem to do anything do we really need it?
</span><span class="cx">         $signup['user'] = isset( $signup['user'] ) ? $signup['user'] : '';
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>