<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Tests][903] trunk: Pinking shears</title>
</head>
<body>

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

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

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkincludesexceptionsphp">trunk/includes/exceptions.php</a></li>
<li><a href="#trunkincludesmockmailerphp">trunk/includes/mock-mailer.php</a></li>
<li><a href="#trunkincludestestcaseajaxphp">trunk/includes/testcase-ajax.php</a></li>
<li><a href="#trunkteststest_admin_includes_miscphp">trunk/tests/test_admin_includes_misc.php</a></li>
<li><a href="#trunkteststest_admin_includes_screenphp">trunk/tests/test_admin_includes_screen.php</a></li>
<li><a href="#trunkteststest_dbphp">trunk/tests/test_db.php</a></li>
<li><a href="#trunkteststest_httpphp">trunk/tests/test_http.php</a></li>
<li><a href="#trunkteststest_imagephp">trunk/tests/test_image.php</a></li>
<li><a href="#trunkteststest_includes_balance_tagsphp">trunk/tests/test_includes_balance_tags.php</a></li>
<li><a href="#trunkteststest_includes_canonicalphp">trunk/tests/test_includes_canonical.php</a></li>
<li><a href="#trunkteststest_includes_classwpxmlrpcserverphp">trunk/tests/test_includes_class-wp-xmlrpc-server.php</a></li>
<li><a href="#trunkteststest_includes_formattingphp">trunk/tests/test_includes_formatting.php</a></li>
<li><a href="#trunkteststest_includes_functionsphp">trunk/tests/test_includes_functions.php</a></li>
<li><a href="#trunkteststest_includes_ksesphp">trunk/tests/test_includes_kses.php</a></li>
<li><a href="#trunkteststest_includes_mediaphp">trunk/tests/test_includes_media.php</a></li>
<li><a href="#trunkteststest_includes_postphp">trunk/tests/test_includes_post.php</a></li>
<li><a href="#trunkteststest_includes_wpscriptsphp">trunk/tests/test_includes_wp-scripts.php</a></li>
<li><a href="#trunkteststest_includes_wpstylesphp">trunk/tests/test_includes_wp-styles.php</a></li>
<li><a href="#trunkteststest_metaphp">trunk/tests/test_meta.php</a></li>
<li><a href="#trunkteststest_msphp">trunk/tests/test_ms.php</a></li>
<li><a href="#trunkteststest_optionphp">trunk/tests/test_option.php</a></li>
<li><a href="#trunkteststest_queryphp">trunk/tests/test_query.php</a></li>
<li><a href="#trunkteststest_query_resultsphp">trunk/tests/test_query_results.php</a></li>
<li><a href="#trunkteststest_shortcodephp">trunk/tests/test_shortcode.php</a></li>
<li><a href="#trunkteststest_uploadsphp">trunk/tests/test_uploads.php</a></li>
<li><a href="#trunkteststest_userphp">trunk/tests/test_user.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkincludesexceptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/includes/exceptions.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/includes/exceptions.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/includes/exceptions.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><span class="cx"> class WP_Tests_Exception extends PHPUnit_Framework_Exception {
</span><del>-        
</del><ins>+
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span></span></pre></div>
<a id="trunkincludesmockmailerphp"></a>
<div class="modfile"><h4>Modified: trunk/includes/mock-mailer.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/includes/mock-mailer.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/includes/mock-mailer.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><span class="cx"> require_once(ABSPATH . '/wp-includes/class-phpmailer.php');
</span><del>-        
</del><ins>+
</ins><span class="cx"> class MockPHPMailer extends PHPMailer {
</span><span class="cx">         var $mock_sent = array();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkincludestestcaseajaxphp"></a>
<div class="modfile"><h4>Modified: trunk/includes/testcase-ajax.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/includes/testcase-ajax.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/includes/testcase-ajax.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -15,16 +15,16 @@
</span><span class="cx">  * @since      3.4.0
</span><span class="cx">  */
</span><span class="cx"> abstract class WP_Ajax_UnitTestCase extends WP_UnitTestCase {
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Last AJAX response.  This is set via echo -or- wp_die.
</span><del>-         * @var type 
</del><ins>+         * @var type
</ins><span class="cx">          */
</span><span class="cx">         protected $_last_response = '';
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * List of ajax actions called via POST
</span><del>-         * @var type 
</del><ins>+         * @var type
</ins><span class="cx">          */
</span><span class="cx">         protected $_core_actions_get = array( 'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed_cache' );
</span><span class="cx"> 
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * List of ajax actions called via GET
</span><del>-         * @var type 
</del><ins>+         * @var type
</ins><span class="cx">          */
</span><span class="cx">         protected $_core_actions_post = array(
</span><span class="cx">                 'oembed_cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx">                 // Make some posts
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create_many( 5 );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Tear down the test fixture.
</span><span class="cx">          * Reset $_POST, remove the wp_die() override, restore error reporting
</span><span class="lines">@@ -123,7 +123,7 @@
</span><span class="cx">          * &lt;code&gt;
</span><span class="cx">          * $this-&gt;setExpectedException( 'WPAjaxDieContinueException', 'something contained in $message' );
</span><span class="cx">          * &lt;/code&gt;
</span><del>-         * @param string $message 
</del><ins>+         * @param string $message
</ins><span class="cx">          */
</span><span class="cx">         public function dieHandler( $message ) {
</span><span class="cx">                 $this-&gt;_last_response .= ob_get_clean();
</span><span class="lines">@@ -142,7 +142,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Switch between user roles
</span><span class="cx">          * E.g. administrator, editor, author, contributor, subscriber
</span><del>-         * @param string $role 
</del><ins>+         * @param string $role
</ins><span class="cx">          */
</span><span class="cx">         protected function _setRole( $role ) {
</span><span class="cx">                 $post = $_POST;
</span><span class="lines">@@ -155,10 +155,10 @@
</span><span class="cx">          * Mimic the ajax handling of admin-ajax.php
</span><span class="cx">          * Capture the output via output buffering, and if there is any, store
</span><span class="cx">          * it in $this-&gt;_last_message.
</span><del>-         * @param string $action 
</del><ins>+         * @param string $action
</ins><span class="cx">          */
</span><span class="cx">         protected function _handleAjax($action) {
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Start output buffering
</span><span class="cx">                 ini_set( 'implicit_flush', false );
</span><span class="cx">                 ob_start();
</span></span></pre></div>
<a id="trunkteststest_admin_includes_miscphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_admin_includes_misc.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_admin_includes_misc.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_admin_includes_misc.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx">                         'http://wordpress.org/about/philosophy/#decisions'
</span><span class="cx">                                 =&gt; 'wordpress.org/about/philosophy/#...', // shorten to 32 if &gt; 35 after cleaning
</span><span class="cx">                 );
</span><del>-                foreach ( $tests as $k =&gt; $v ) 
</del><ins>+                foreach ( $tests as $k =&gt; $v )
</ins><span class="cx">                         $this-&gt;assertEquals( $v, url_shorten( $k ) );
</span><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkteststest_admin_includes_screenphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_admin_includes_screen.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_admin_includes_screen.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_admin_includes_screen.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx">                 // The post type wins here. convert_to_screen( $post_type ) is only relevant for meta boxes anyway.
</span><span class="cx">                 $screen = convert_to_screen( 'comments' );
</span><span class="cx">                 $this-&gt;assertEquals( $screen-&gt;base, 'post' );
</span><del>-        
</del><ins>+
</ins><span class="cx">                 // Core wins.
</span><span class="cx">                 $screen = convert_to_screen( 'edit-tags' );
</span><span class="cx">                 $this-&gt;assertEquals( $screen-&gt;base, 'edit-tags' );
</span></span></pre></div>
<a id="trunkteststest_dbphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_db.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_db.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_db.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx">          * @var array
</span><span class="cx">          */
</span><span class="cx">         protected $_queries = array();
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Set up the test fixture
</span><span class="cx">          */
</span><span class="lines">@@ -51,23 +51,23 @@
</span><span class="cx"> 
</span><span class="cx">                 // Save the current locale
</span><span class="cx">                 $current_locale = setlocale( LC_ALL, NULL );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Switch to Russian
</span><span class="cx">                 $flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
</span><span class="cx">                 if ( false === $flag )
</span><span class="cx">                         $this-&gt;markTestSkipped( 'No European languages available for testing' );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Try an update query
</span><span class="cx">                 $wpdb-&gt;suppress_errors( true );
</span><del>-                $wpdb-&gt;update( 
-                        'test_table', 
-                        array( 'float_column' =&gt; 0.7 ), 
-                        array( 'meta_id' =&gt; 5 ), 
-                        array( '%f' ), 
-                        array( '%d' ) 
</del><ins>+                $wpdb-&gt;update(
+                        'test_table',
+                        array( 'float_column' =&gt; 0.7 ),
+                        array( 'meta_id' =&gt; 5 ),
+                        array( '%f' ),
+                        array( '%d' )
</ins><span class="cx">                 );
</span><span class="cx">                 $wpdb-&gt;suppress_errors( false );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Ensure the float isn't 0,700
</span><span class="cx">                 $this-&gt;assertContains( '0.700', array_pop( $this-&gt;_queries ) );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_httpphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_http.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_http.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_http.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -219,7 +219,7 @@
</span><span class="cx">                         $this-&gt;markTestSkipped( &quot;This version of WP_HTTP doesn't support WP_HTTP::make_absolute_url()&quot; );
</span><span class="cx">                         return;
</span><span class="cx">                 }
</span><del>-        
</del><ins>+
</ins><span class="cx">                 $actual = WP_HTTP::make_absolute_url( $relative_url, $absolute_url );
</span><span class="cx">                 $this-&gt;assertEquals( $expected, $actual );
</span><span class="cx">         }
</span><span class="lines">@@ -229,18 +229,18 @@
</span><span class="cx">                 return array(
</span><span class="cx">                         array( 'http://site.com/', 'http://example.com/', 'http://site.com/' ), // Absolute URL provided
</span><span class="cx">                         array( '/location', '', '/location' ), // No current url provided
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         array( '', 'http://example.com', 'http://example.com/' ), // No location provided
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Location provided relative to site root
</span><span class="cx">                         array( '/root-relative-link.ext', 'http://example.com/', 'http://example.com/root-relative-link.ext' ),
</span><span class="cx">                         array( '/root-relative-link.ext?with=query', 'http://example.com/index.ext?query', 'http://example.com/root-relative-link.ext?with=query' ),
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Location provided relative to current file/directory
</span><span class="cx">                         array( 'relative-file.ext', 'http://example.com/', 'http://example.com/relative-file.ext' ),
</span><span class="cx">                         array( 'relative-file.ext', 'http://example.com/filename', 'http://example.com/relative-file.ext' ),
</span><span class="cx">                         array( 'relative-file.ext', 'http://example.com/directory/', 'http://example.com/directory/relative-file.ext' ),
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Location provided relative to current file/directory but in a parent directory
</span><span class="cx">                         array( '../file-in-parent.ext', 'http://example.com', 'http://example.com/file-in-parent.ext' ),
</span><span class="cx">                         array( '../file-in-parent.ext', 'http://example.com/filename', 'http://example.com/file-in-parent.ext' ),
</span><span class="lines">@@ -253,13 +253,13 @@
</span><span class="cx">                         array( '../../file-in-grand-parent.ext', 'http://example.com/directory/', 'http://example.com/file-in-grand-parent.ext' ),
</span><span class="cx">                         array( '../../file-in-grand-parent.ext', 'http://example.com/directory/filename/', 'http://example.com/file-in-grand-parent.ext' ),
</span><span class="cx">                         array( '../../file-in-grand-parent.ext', 'http://example.com/directory1/directory2/filename', 'http://example.com/file-in-grand-parent.ext' ),
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // Query strings should attach, or replace existing query string.
</span><span class="cx">                         array( '?query=string', 'http://example.com', 'http://example.com/?query=string' ),
</span><span class="cx">                         array( '?query=string', 'http://example.com/file.ext', 'http://example.com/file.ext?query=string' ),
</span><span class="cx">                         array( '?query=string', 'http://example.com/file.ext?existing=query-string', 'http://example.com/file.ext?query=string' ),
</span><span class="cx">                         array( 'otherfile.ext?query=string', 'http://example.com/file.ext?existing=query-string', 'http://example.com/otherfile.ext?query=string' ),
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         // A file with a leading dot
</span><span class="cx">                         array( '.ext', 'http://example.com/', 'http://example.com/.ext' )
</span><span class="cx">                 );
</span></span></pre></div>
<a id="trunkteststest_imagephp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_image.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_image.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_image.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -124,12 +124,12 @@
</span><span class="cx">          */
</span><span class="cx">         function test_utf8_iptc_tags() {
</span><span class="cx"> 
</span><del>-                // trilingual UTF-8 text in the ITPC caption-abstract field 
</del><ins>+                // trilingual UTF-8 text in the ITPC caption-abstract field
</ins><span class="cx">                 $out = wp_read_image_metadata(DIR_TESTDATA.'/images/test-image-iptc.jpg');
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;assertEquals('This is a comment. / Это комментарий. / Βλέπετε ένα σχόλιο.', $out['caption']);
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * wp_read_image_metadata() should false if the image file doesn't exist
</span><span class="cx">          * @return void
</span></span></pre></div>
<a id="trunkteststest_includes_balance_tagsphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_balance_tags.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_balance_tags.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_balance_tags.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx">                         $this-&gt;assertEquals( &quot;&lt;$tag /&gt;&quot;, balanceTags( &quot;&lt;$tag&gt;&quot;, true ) );
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>- 
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * If a recognized valid single tag appears unclosed, it should get self-closed
</span><span class="cx">          *
</span></span></pre></div>
<a id="trunkteststest_includes_canonicalphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_canonical.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_canonical.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_canonical.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx">                 // Already created by install defaults:
</span><span class="cx">                 // $this-&gt;factory-&gt;term-&gt;create( array( 'taxonomy' =&gt; 'category', 'name' =&gt; 'uncategorized' ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;term_ids = array();
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'import_id' =&gt; 587, 'post_title' =&gt; 'post-format-test-audio', 'post_date' =&gt; '2008-06-02 00:00:00' ) );
</span><span class="lines">@@ -52,11 +52,11 @@
</span><span class="cx">                 $this-&gt;factory-&gt;comment-&gt;create_post_comments( $post_id, 15 );
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_date' =&gt; '2008-09-05 00:00:00' ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'import_id' =&gt; 123 ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'import_id' =&gt; 1 ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'import_id' =&gt; 358 ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_type' =&gt; 'page', 'post_title' =&gt; 'sample-page' ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_type' =&gt; 'page', 'post_title' =&gt; 'about' ) );
</span><span class="cx">                 $post_id = $this-&gt;factory-&gt;post-&gt;create( array( 'post_type' =&gt; 'page', 'post_title' =&gt; 'parent-page' ) );
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;factory-&gt;term-&gt;create( array( 'taxonomy' =&gt; 'category', 'name' =&gt; 'cat-a' ) );
</span><span class="cx">                 $this-&gt;factory-&gt;term-&gt;create( array( 'taxonomy' =&gt; 'category', 'name' =&gt; 'cat-b' ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;factory-&gt;term-&gt;create( array( 'name' =&gt; 'post-formats' ) );
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -105,7 +105,7 @@
</span><span class="cx">                         $this-&gt;knownWPBug( $ticket );
</span><span class="cx"> 
</span><span class="cx">                 $ticket_ref = ($ticket &gt; 0) ? 'Ticket #' . $ticket : null;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( is_string($expected) )
</span><span class="cx">                         $expected = array('url' =&gt; $expected);
</span><span class="cx">                 elseif ( is_array($expected) &amp;&amp; !isset($expected['url']) &amp;&amp; !isset($expected['qv']) )
</span><span class="lines">@@ -359,7 +359,7 @@
</span><span class="cx">                  *      array( expected query vars to be set, same as 'qv' above )
</span><span class="cx">                  *      (string) expected redirect location
</span><span class="cx">                  * [3]: (optional) The ticket the test refers to, Can be skipped if unknown.
</span><del>-                 */                
</del><ins>+                 */
</ins><span class="cx">                 return array(
</span><span class="cx">                         array( '/?p=123', '/?p=123' ),
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_includes_classwpxmlrpcserverphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_class-wp-xmlrpc-server.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_class-wp-xmlrpc-server.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_class-wp-xmlrpc-server.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx">         function test_disabled() {
</span><span class="cx">                 $myxmlrpcserver = new wp_xmlrpc_server();
</span><span class="cx">                 $result = $myxmlrpcserver-&gt;wp_getOptions( array( 1, 'username', 'password' ) );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;assertInstanceOf( 'IXR_Error', $result );
</span><span class="cx">                 $this-&gt;assertEquals( 405, $result-&gt;code );
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkteststest_includes_formattingphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_formatting.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_formatting.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_formatting.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -169,7 +169,7 @@
</span><span class="cx">                         'blah blah http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software).)moreurl blah blah',
</span><span class="cx">                         'In his famous speech “You and Your research” (here:
</span><span class="cx">                         http://www.cs.virginia.edu/~robins/YouAndYourResearch.html)
</span><del>-                        Richard Hamming wrote about people getting more done with their doors closed, but', 
</del><ins>+                        Richard Hamming wrote about people getting more done with their doors closed, but',
</ins><span class="cx">                 );
</span><span class="cx">                 $urls_expected = array(
</span><span class="cx">                         '&lt;a href=&quot;http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)&lt;/a&gt;',
</span><span class="lines">@@ -183,7 +183,7 @@
</span><span class="cx">                         'blah blah &lt;a href=&quot;http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software)&lt;/a&gt;.)moreurl blah blah',
</span><span class="cx">                         'In his famous speech “You and Your research” (here:
</span><span class="cx">                         &lt;a href=&quot;http://www.cs.virginia.edu/~robins/YouAndYourResearch.html&quot; rel=&quot;nofollow&quot;&gt;http://www.cs.virginia.edu/~robins/YouAndYourResearch.html&lt;/a&gt;)
</span><del>-                        Richard Hamming wrote about people getting more done with their doors closed, but', 
</del><ins>+                        Richard Hamming wrote about people getting more done with their doors closed, but',
</ins><span class="cx">                 );
</span><span class="cx">                 foreach ($urls_before as $key =&gt; $url) {
</span><span class="cx">                         $this-&gt;assertEquals($urls_expected[$key], make_clickable($url));
</span><span class="lines">@@ -753,19 +753,19 @@
</span><span class="cx">          * wpautop() Should not alter the contents of &quot;&lt;pre&gt;&quot; elements
</span><span class="cx">          *
</span><span class="cx">          * @ticket 19855
</span><del>-         */        
</del><ins>+         */
</ins><span class="cx">         public function test_skip_pre_elements() {
</span><span class="cx">                 $code = file_get_contents( DIR_TESTDATA . '/formatting/sizzle.js' );
</span><span class="cx">                 $code = str_replace( &quot;\r&quot;, '', $code );
</span><span class="cx">                 $code = htmlentities( $code );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Not wrapped in &lt;p&gt; tags
</span><span class="cx">                 $str = &quot;&lt;pre&gt;$code&lt;/pre&gt;&quot;;
</span><span class="cx">                 $this-&gt;assertEquals( $str, trim( wpautop( $str ) ) );
</span><span class="cx"> 
</span><span class="cx">                 // Text before/after is wrapped in &lt;p&gt; tags
</span><span class="cx">                 $str = &quot;Look at this code\n\n&lt;pre&gt;$code&lt;/pre&gt;\n\nIsn't that cool?&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Expected text after wpautop
</span><span class="cx">                 $expected = '&lt;p&gt;Look at this code&lt;/p&gt;' . &quot;\n&lt;pre&gt;&quot; . $code . &quot;&lt;/pre&gt;\n&quot; . '&lt;p&gt;Isn\'t that cool?&lt;/p&gt;';
</span><span class="cx">                 $this-&gt;assertEquals( $expected, trim( wpautop( $str ) ) );
</span><span class="lines">@@ -775,12 +775,12 @@
</span><span class="cx">                 $expected = &quot;&lt;p&gt;Look at this code&lt;/p&gt;\n&lt;pre&gt;Line1&lt;br /&gt;Line2&lt;br&gt;Line3&lt;br/&gt;Line4\nActual Line 2\nActual Line 3&lt;/pre&gt;\n&lt;p&gt;Cool, huh?&lt;/p&gt;&quot;;
</span><span class="cx">                 $this-&gt;assertEquals( $expected, trim( wpautop( $str ) ) );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * wpautop() Should not add &lt;br/&gt; to &quot;&lt;input&gt;&quot; elements
</span><span class="cx">          *
</span><span class="cx">          * @ticket 16456
</span><del>-         */        
</del><ins>+         */
</ins><span class="cx">         public function test_skip_input_elements() {
</span><span class="cx">                 $str = 'Username: &lt;input type=&quot;text&quot; id=&quot;username&quot; name=&quot;username&quot; /&gt;&lt;br /&gt;Password: &lt;input type=&quot;password&quot; id=&quot;password1&quot; name=&quot;password1&quot; /&gt;';
</span><span class="cx">                 $this-&gt;assertEquals( &quot;&lt;p&gt;$str&lt;/p&gt;&quot;, trim( wpautop( $str ) ) );
</span><span class="lines">@@ -1457,7 +1457,7 @@
</span><span class="cx">                 $this-&gt;assertEquals( $trimmed, wp_trim_words( $text ) );
</span><span class="cx"> 
</span><span class="cx">                 $text = 'This text contains&lt;style&gt;#css { width:expression(alert(&quot;css&quot;)) }&lt;/style&gt;. It should go.';
</span><del>-                $this-&gt;assertEquals( $trimmed, wp_trim_words( $text ) );                
</del><ins>+                $this-&gt;assertEquals( $trimmed, wp_trim_words( $text ) );
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_doesnt_trim_short_text() {
</span><span class="lines">@@ -1525,7 +1525,7 @@
</span><span class="cx">                 $this-&gt;assertEquals( 'AaAaEeEeOoOoUuYy', remove_accents( 'ẪẫẴẵẼẽỄễỖỗỠỡỮữỸỹ' ) );
</span><span class="cx">                 // acute accent
</span><span class="cx">                 $this-&gt;assertEquals( 'AaAaEeOoOoUu', remove_accents( 'ẤấẮắẾếỐốỚớỨứ' ) );
</span><del>-                // dot below 
</del><ins>+                // dot below
</ins><span class="cx">                 $this-&gt;assertEquals( 'AaAaAaEeEeIiOoOoOoUuUuYy', remove_accents( 'ẠạẬậẶặẸẹỆệỊịỌọỘộỢợỤụỰựỴỵ' ) );
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_includes_functionsphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_functions.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_functions.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_functions.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -461,7 +461,7 @@
</span><span class="cx">                 foreach ( $actual as $header =&gt; $value )
</span><span class="cx">                         $this-&gt;assertEquals( $expected[ $header ], $value, $header );
</span><span class="cx">         }
</span><del>-                
</del><ins>+
</ins><span class="cx">         function test_get_file_data_cr_line_endings() {
</span><span class="cx">                 $headers = array( 'SomeHeader' =&gt; 'Some Header', 'Description' =&gt; 'Description', 'Author' =&gt; 'Author' );
</span><span class="cx">                 $actual = get_file_data( DIR_TESTDATA . '/formatting/cr-line-endings-file-header.php', $headers );
</span></span></pre></div>
<a id="trunkteststest_includes_ksesphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_kses.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_kses.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_kses.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -19,7 +19,7 @@
</span><span class="cx">                         'style' =&gt; 'color: red;',
</span><span class="cx">                         'title' =&gt; 'title',
</span><span class="cx">                 );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 foreach ( $attributes as $name =&gt; $value ) {
</span><span class="cx">                         $string = &quot;&lt;address $name='$value'&gt;1 WordPress Avenue, The Internet.&lt;/address&gt;&quot;;
</span><span class="cx">                         $this-&gt;assertEquals( $string, wp_kses( $string, $allowedposttags ) );
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">                         'name' =&gt; 'name',
</span><span class="cx">                         'target' =&gt; '_blank',
</span><span class="cx">                 );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 foreach ( $attributes as $name =&gt; $value ) {
</span><span class="cx">                         $string = &quot;&lt;a $name='$value'&gt;I link this&lt;/a&gt;&quot;;
</span><span class="cx">                         $this-&gt;assertEquals( $string, wp_kses( $string, $allowedposttags ) );
</span></span></pre></div>
<a id="trunkteststest_includes_mediaphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_media.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_media.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_media.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   function test_img_caption_shortcode_with_old_format() {
</span><del>-    $result = img_caption_shortcode( 
-      array( 'width' =&gt; 20, 'caption' =&gt; $this-&gt;caption ) 
</del><ins>+    $result = img_caption_shortcode(
+      array( 'width' =&gt; 20, 'caption' =&gt; $this-&gt;caption )
</ins><span class="cx">     );
</span><span class="cx">     $this-&gt;assertEquals( 2, preg_match_all( '/wp-caption/', $result, $_r ) );
</span><span class="cx">     $this-&gt;assertEquals( 1, preg_match_all( '/alignnone/', $result, $_r ) );
</span><span class="lines">@@ -39,8 +39,8 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   function test_img_caption_shortcode_with_old_format_id_and_align() {
</span><del>-    $result = img_caption_shortcode( 
-      array( 
</del><ins>+    $result = img_caption_shortcode(
+      array(
</ins><span class="cx">         'width' =&gt; 20,
</span><span class="cx">         'caption' =&gt; $this-&gt;caption,
</span><span class="cx">         'id' =&gt; '&quot;myId',
</span><span class="lines">@@ -53,8 +53,8 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   function test_new_img_caption_shortcode_with_html_caption() {
</span><del>-    $result = img_caption_shortcode( 
-      array( 'width' =&gt; 20, 'caption' =&gt; $this-&gt;html_content ) 
</del><ins>+    $result = img_caption_shortcode(
+      array( 'width' =&gt; 20, 'caption' =&gt; $this-&gt;html_content )
</ins><span class="cx">     );
</span><span class="cx">     $our_preg = preg_quote( $this-&gt;html_content );
</span><span class="cx"> 
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   function test_new_img_caption_shortcode_new_format() {
</span><del>-    $result = img_caption_shortcode( 
</del><ins>+    $result = img_caption_shortcode(
</ins><span class="cx">       array( 'width' =&gt; 20 ),
</span><span class="cx">       $this-&gt;img_content . $this-&gt;html_content
</span><span class="cx">     );
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> 
</span><span class="cx">   function test_new_img_caption_shortcode_new_format_and_linked_image() {
</span><span class="cx">     $linked_image = &quot;&lt;a href='#'&gt;{$this-&gt;img_content}&lt;/a&gt;&quot;;
</span><del>-    $result = img_caption_shortcode( 
</del><ins>+    $result = img_caption_shortcode(
</ins><span class="cx">       array( 'width' =&gt; 20 ),
</span><span class="cx">       $linked_image . $this-&gt;html_content
</span><span class="cx">     );
</span><span class="lines">@@ -88,7 +88,7 @@
</span><span class="cx"> 
</span><span class="cx">   function test_new_img_caption_shortcode_new_format_and_linked_image_with_newline() {
</span><span class="cx">     $linked_image = &quot;&lt;a href='#'&gt;{$this-&gt;img_content}&lt;/a&gt;&quot;;
</span><del>-    $result = img_caption_shortcode( 
</del><ins>+    $result = img_caption_shortcode(
</ins><span class="cx">       array( 'width' =&gt; 20 ),
</span><span class="cx">       $linked_image . &quot;\n\n&quot; . $this-&gt;html_content
</span><span class="cx">     );
</span></span></pre></div>
<a id="trunkteststest_includes_postphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_post.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_post.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_post.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -475,9 +475,9 @@
</span><span class="cx"> 
</span><span class="cx">         function tearDown() {
</span><span class="cx">                 // Remove all uploads.
</span><del>-                $uploads = wp_upload_dir(); 
</del><ins>+                $uploads = wp_upload_dir();
</ins><span class="cx">                 foreach ( scandir( $uploads['basedir'] ) as $file )
</span><del>-                        _rmdir( $uploads['basedir'] . '/' . $file ); 
</del><ins>+                        _rmdir( $uploads['basedir'] . '/' . $file );
</ins><span class="cx"> 
</span><span class="cx">                 parent::tearDown();
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkteststest_includes_wpscriptsphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_wp-scripts.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_wp-scripts.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_wp-scripts.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx">                 // No scripts left to print
</span><span class="cx">                 $this-&gt;assertEquals(&quot;&quot;, get_echo('wp_print_scripts'));
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Test the different protocol references in wp_enqueue_script
</span><span class="cx">          * @global WP_Scripts $wp_scripts
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx">                 // Try with an HTTPS reference
</span><span class="cx">                 wp_enqueue_script( 'jquery-https', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' );
</span><span class="cx">                 $expected  .= &quot;&lt;script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=$ver'&gt;&lt;/script&gt;\n&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Try with an automatic protocol reference (//)
</span><span class="cx">                 wp_enqueue_script( 'jquery-doubleslash', '//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' );
</span><span class="cx">                 $expected  .= &quot;&lt;script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=$ver'&gt;&lt;/script&gt;\n&quot;;
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">                 // Try with a bad protocol
</span><span class="cx">                 wp_enqueue_script( 'jquery-ftp', 'ftp://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' );
</span><span class="cx">                 $expected  .= &quot;&lt;script type='text/javascript' src='{$wp_scripts-&gt;base_url}ftp://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=$ver'&gt;&lt;/script&gt;\n&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Go!
</span><span class="cx">                 $this-&gt;assertEquals( $expected, get_echo( 'wp_print_scripts' ) );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_includes_wpstylesphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_includes_wp-styles.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_includes_wp-styles.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_includes_wp-styles.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -34,13 +34,13 @@
</span><span class="cx">                 $expected .= &quot;&lt;link rel='stylesheet' id='no-deps-version-css'  href='http://example.com?ver=1.2' type='text/css' media='all' /&gt;\n&quot;;
</span><span class="cx">                 $expected .= &quot;&lt;link rel='stylesheet' id='no-deps-null-version-css'  href='http://example.com' type='text/css' media='all' /&gt;\n&quot;;
</span><span class="cx">                 $expected .= &quot;&lt;link rel='stylesheet' id='no-deps-null-version-print-media-css'  href='http://example.com' type='text/css' media='print' /&gt;\n&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;assertEquals($expected, get_echo('wp_print_styles'));
</span><span class="cx"> 
</span><span class="cx">                 // No styles left to print
</span><span class="cx">                 $this-&gt;assertEquals(&quot;&quot;, get_echo('wp_print_styles'));
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Test the different protocol references in wp_enqueue_style
</span><span class="cx">          * @global WP_Styles $wp_styles
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx">                 // Try with an HTTPS reference
</span><span class="cx">                 wp_enqueue_style( 'reset-css-https', 'http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css' );
</span><span class="cx">                 $expected  .= &quot;&lt;link rel='stylesheet' id='reset-css-https-css'  href='http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css?ver=$ver' type='text/css' media='all' /&gt;\n&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 // Try with an automatic protocol reference (//)
</span><span class="cx">                 wp_enqueue_style( 'reset-css-doubleslash', '//yui.yahooapis.com/2.8.1/build/reset/reset-min.css' );
</span><span class="cx">                 $expected  .= &quot;&lt;link rel='stylesheet' id='reset-css-doubleslash-css'  href='//yui.yahooapis.com/2.8.1/build/reset/reset-min.css?ver=$ver' type='text/css' media='all' /&gt;\n&quot;;
</span></span></pre></div>
<a id="trunkteststest_metaphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_meta.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_meta.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_meta.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">                 $expected .= &quot;asdf\n&quot;;
</span><span class="cx">                 $expected .= &quot;foo bar\n&quot;;
</span><span class="cx">                 $expected .= &quot;foo&quot;;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $this-&gt;assertEquals($expected, strip_ws($in));
</span><span class="cx"> 
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkteststest_msphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_ms.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_ms.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_ms.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 // update the blog count cache to use get_blog_count()
</span><del>-                wp_update_network_counts(); 
</del><ins>+                wp_update_network_counts();
</ins><span class="cx">                 $this-&gt;assertEquals( 4 + 1, (int) get_blog_count() );
</span><span class="cx"> 
</span><span class="cx">                 $drop_tables = false;
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 // update the blog count cache to use get_blog_count()
</span><del>-                wp_update_network_counts(); 
</del><ins>+                wp_update_network_counts();
</ins><span class="cx">                 $this-&gt;assertEquals( 1, get_blog_count() );
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -152,7 +152,7 @@
</span><span class="cx">                 // activate the plugin sitewide
</span><span class="cx">                 activate_plugin($path, '', $network_wide = true);
</span><span class="cx">                 $active_plugins = wp_get_active_network_plugins();
</span><del>-                $this-&gt;assertEquals( Array(WP_PLUGIN_DIR . '/hello.php'), $active_plugins ); 
</del><ins>+                $this-&gt;assertEquals( Array(WP_PLUGIN_DIR . '/hello.php'), $active_plugins );
</ins><span class="cx"> 
</span><span class="cx">                 //deactivate the plugin
</span><span class="cx">                 deactivate_plugins($path);
</span><span class="lines">@@ -188,12 +188,12 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_wp_schedule_update_network_counts() {
</span><del>-                $this-&gt;assertFalse(wp_next_scheduled('update_network_counts'));        
</del><ins>+                $this-&gt;assertFalse(wp_next_scheduled('update_network_counts'));
</ins><span class="cx"> 
</span><span class="cx">                 // We can't use wp_schedule_update_network_counts() because WP_INSTALLING is set
</span><span class="cx">                 wp_schedule_event(time(), 'twicedaily', 'update_network_counts');
</span><span class="cx"> 
</span><del>-                $this-&gt;assertInternalType('int', wp_next_scheduled('update_network_counts'));        
</del><ins>+                $this-&gt;assertInternalType('int', wp_next_scheduled('update_network_counts'));
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_users_can_register_signup_filter() {
</span><span class="lines">@@ -202,13 +202,13 @@
</span><span class="cx">                 $this-&gt;assertFalse( users_can_register_signup_filter() );
</span><span class="cx"> 
</span><span class="cx">                 update_site_option('registration', 'all');
</span><del>-                $this-&gt;assertTrue( users_can_register_signup_filter() );        
</del><ins>+                $this-&gt;assertTrue( users_can_register_signup_filter() );
</ins><span class="cx"> 
</span><span class="cx">                 update_site_option('registration', 'user');
</span><span class="cx">                 $this-&gt;assertTrue( users_can_register_signup_filter() );
</span><span class="cx"> 
</span><span class="cx">                 update_site_option('registration', 'none');
</span><del>-                $this-&gt;assertFalse( users_can_register_signup_filter() );                
</del><ins>+                $this-&gt;assertFalse( users_can_register_signup_filter() );
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_get_dashboard_blog() {
</span><span class="lines">@@ -332,7 +332,7 @@
</span><span class="cx">                 $blog = get_blog_details( $blog_id );
</span><span class="cx">                 $this-&gt;assertEquals( 'example.com', $blog-&gt;domain );
</span><span class="cx">                 $this-&gt;assertEquals( 'my_path/', $blog-&gt;path );
</span><del>-                $this-&gt;assertEquals( '0', $blog-&gt;spam );        
</del><ins>+                $this-&gt;assertEquals( '0', $blog-&gt;spam );
</ins><span class="cx"> 
</span><span class="cx">                 $result = update_blog_details( $blog_id, array('domain' =&gt; 'example2.com','spam' =&gt; 1) );
</span><span class="cx">                 $this-&gt;assertTrue( $result );
</span></span></pre></div>
<a id="trunkteststest_optionphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_option.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_option.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_option.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function __return_foo() {
</span><del>-                return 'foo';        
</del><ins>+                return 'foo';
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_the_basics() {
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx">  */
</span><span class="cx"> class TestSiteOption extends WP_UnitTestCase {
</span><span class="cx">         function __return_foo() {
</span><del>-                return 'foo';        
</del><ins>+                return 'foo';
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function test_the_basics() {
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx">                 $default = 'a default';
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;assertEquals( get_site_option( $option, $default ), $default );
</span><del>-                $this-&gt;assertFalse( get_site_option( $option ) );        
</del><ins>+                $this-&gt;assertFalse( get_site_option( $option ) );
</ins><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_queryphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_query.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_query.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_query.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -239,7 +239,7 @@
</span><span class="cx">                 global $wp_query;
</span><span class="cx">                 $this-&gt;assertEquals( $page_id, $wp_query-&gt;get_queried_object()-&gt;ID );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         // FIXME: what is this for?
</span><span class="cx">         // '(about)(/[0-9]+)?/?$' =&gt; 'index.php?pagename=$matches[1]&amp;page=$matches[2]'
</span><span class="cx">         function test_pagination_of_posts_page() {
</span></span></pre></div>
<a id="trunkteststest_query_resultsphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_query_results.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_query_results.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_query_results.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cats-a-and-b', 'post_date' =&gt; '2009-01-01 00:00:00', 'post_category' =&gt; array( $cat_a, $cat_b ) ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cats-b-and-c', 'post_date' =&gt; '2009-02-01 00:00:00', 'post_category' =&gt; array( $cat_b, $cat_c ) ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cats-a-and-c', 'post_date' =&gt; '2009-03-01 00:00:00', 'post_category' =&gt; array( $cat_a, $cat_c ) ) );
</span><del>-                $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cat-a', 'post_date' =&gt; '2009-04-01 00:00:00', 'post_category' =&gt; array( $cat_a ) ) );                
</del><ins>+                $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cat-a', 'post_date' =&gt; '2009-04-01 00:00:00', 'post_category' =&gt; array( $cat_a ) ) );
</ins><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cat-b', 'post_date' =&gt; '2009-05-01 00:00:00', 'post_category' =&gt; array( $cat_b ) ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'cat-c', 'post_date' =&gt; '2009-06-01 00:00:00', 'post_category' =&gt; array( $cat_c ) ) );
</span><span class="cx">                 $this-&gt;factory-&gt;post-&gt;create( array( 'post_title' =&gt; 'lorem-ipsum', 'post_date' =&gt; '2009-07-01 00:00:00' ) );
</span></span></pre></div>
<a id="trunkteststest_shortcodephp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_shortcode.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_shortcode.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_shortcode.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">                         'foo' =&gt; 'no foo',
</span><span class="cx">                         'baz' =&gt; 'default baz',
</span><span class="cx">                 ), $atts));
</span><del>-        
</del><ins>+
</ins><span class="cx">                 return &quot;foo = {$foo}&quot;;
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_uploadsphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_uploads.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_uploads.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_uploads.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -25,9 +25,9 @@
</span><span class="cx">                 parent::tearDown();
</span><span class="cx"> 
</span><span class="cx">                 // Remove year/month folders created by wp_upload_dir().
</span><del>-                $uploads = wp_upload_dir(); 
</del><ins>+                $uploads = wp_upload_dir();
</ins><span class="cx">                 foreach ( scandir( $uploads['basedir'] ) as $file )
</span><del>-                        _rmdir( $uploads['basedir'] . '/' . $file ); 
</del><ins>+                        _rmdir( $uploads['basedir'] . '/' . $file );
</ins><span class="cx">                 _rmdir( ABSPATH . 'foo/' );
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkteststest_userphp"></a>
<div class="modfile"><h4>Modified: trunk/tests/test_user.php (902 => 903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/tests/test_user.php        2012-07-13 18:27:52 UTC (rev 902)
+++ trunk/tests/test_user.php        2012-07-16 17:24:25 UTC (rev 903)
</span><span class="lines">@@ -159,7 +159,7 @@
</span><span class="cx">                         $this-&gt;assertEquals( $value, $user-&gt;$key );
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         /**
</span><span class="cx">          * Test the magic __unset method
</span><span class="cx">          *
</span><span class="lines">@@ -187,7 +187,7 @@
</span><span class="cx">                 // Test 'ID'
</span><span class="cx">                 $this-&gt;assertNotEmpty( $user-&gt;ID );
</span><span class="cx">                 unset( $user-&gt;ID );
</span><del>-                $this-&gt;assertEmpty( $user-&gt;ID );                
</del><ins>+                $this-&gt;assertEmpty( $user-&gt;ID );
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // Test meta property magic functions for property get/set/isset.
</span></span></pre>
</div>
</div>

</body>
</html>