<!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>[13256] trunk/wp-admin: Use admin_url() for images in wp-admin,
  to allow for filtering.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13256">13256</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-02-20 21:09:49 +0000 (Sat, 20 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see <a href="http://trac.wordpress.org/ticket/12300">#12300</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminheaderphp">trunk/wp-admin/admin-header.php</a></li>
<li><a href="#trunkwpadmineditphp">trunk/wp-admin/edit.php</a></li>
<li><a href="#trunkwpadminimportlivejournalphp">trunk/wp-admin/import/livejournal.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesmediaphp">trunk/wp-admin/includes/media.php</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunkwpadminincludespluginphp">trunk/wp-admin/includes/plugin.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminincludeswidgetsphp">trunk/wp-admin/includes/widgets.php</a></li>
<li><a href="#trunkwpadminmseditphp">trunk/wp-admin/ms-edit.php</a></li>
<li><a href="#trunkwpadminpressthisphp">trunk/wp-admin/press-this.php</a></li>
<li><a href="#trunkwpadminwidgetsphp">trunk/wp-admin/widgets.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 (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-header.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/admin-header.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> }
</span><span class="cx"> ?&gt;
</span><span class="cx"> 
</span><del>-&lt;img id=&quot;header-logo&quot; src=&quot;../wp-includes/images/blank.gif&quot; alt=&quot;&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt; &lt;h1 id=&quot;site-heading&quot; &lt;?php echo $title_class ?&gt;&gt;&lt;a href=&quot;&lt;?php echo trailingslashit( get_bloginfo('url') ); ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('Visit Site') ?&gt;&quot;&gt;&lt;span id=&quot;site-title&quot;&gt;&lt;?php echo $blog_name ?&gt;&lt;/span&gt; &lt;em id=&quot;site-visit-button&quot;&gt;&lt;?php _e('Visit Site') ?&gt;&lt;/em&gt;&lt;/a&gt;&lt;?php if ( ! get_option('blog_public') ) { ?&gt; &lt;a id=&quot;privacy-on-link&quot; href=&quot;options-privacy.php&quot; title=&quot;&lt;?php esc_attr_e('Your blog is hidden from search engines') ?&gt;&quot;&gt;&lt;?php _e('Privacy On') ?&gt;&lt;/a&gt;&lt;?php } ?&gt;&lt;/h1&gt;
</del><ins>+&lt;img id=&quot;header-logo&quot; src=&quot;&lt;?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?&gt;&quot; alt=&quot;&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt; &lt;h1 id=&quot;site-heading&quot; &lt;?php echo $title_class ?&gt;&gt;&lt;a href=&quot;&lt;?php echo trailingslashit( get_bloginfo('url') ); ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('Visit Site') ?&gt;&quot;&gt;&lt;span id=&quot;site-title&quot;&gt;&lt;?php echo $blog_name ?&gt;&lt;/span&gt; &lt;em id=&quot;site-visit-button&quot;&gt;&lt;?php _e('Visit Site') ?&gt;&lt;/em&gt;&lt;/a&gt;&lt;?php if ( ! get_option('blog_public') ) { ?&gt; &lt;a id=&quot;privacy-on-link&quot; href=&quot;options-privacy.php&quot; title=&quot;&lt;?php esc_attr_e('Your blog is hidden from search engines') ?&gt;&quot;&gt;&lt;?php _e('Privacy On') ?&gt;&lt;/a&gt;&lt;?php } ?&gt;&lt;/h1&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;div id=&quot;wphead-info&quot;&gt;
</span><span class="cx"> &lt;div id=&quot;user_info&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadmineditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/edit.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -360,8 +360,8 @@
</span><span class="cx"> &lt;?php } ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;view-switch&quot;&gt;
</span><del>-        &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;../wp-includes/images/blank.gif&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;
-        &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;../wp-includes/images/blank.gif&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;
</del><ins>+        &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;
+        &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;
</ins><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminimportlivejournalphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/import/livejournal.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/import/livejournal.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/import/livejournal.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -968,7 +968,7 @@
</span><span class="cx">                                 if ( next_counter &lt;= 0 ) {
</span><span class="cx">                                         if ( jQuery( '#&lt;?php echo $id ?&gt;' ).length ) {
</span><span class="cx">                                                 jQuery( &quot;#&lt;?php echo $id ?&gt; input[type='submit']&quot; ).hide();
</span><del>-                                                str = '&lt;?php _e( &quot;Continuing&amp;#8230;&quot; ) ?&gt; &lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</del><ins>+                                                str = '&lt;?php _e( &quot;Continuing&amp;#8230;&quot; ) ?&gt; &lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</ins><span class="cx">                                                 jQuery( '#&lt;?php echo $msg ?&gt;' ).html( str );
</span><span class="cx">                                                 jQuery( '#&lt;?php echo $id ?&gt;' ).submit();
</span><span class="cx">                                                 return;
</span><span class="lines">@@ -997,7 +997,7 @@
</span><span class="cx">                                         if ( jQuery( '#&lt;?php echo $id ?&gt;' ).length ) {
</span><span class="cx">                                                 jQuery( &quot;#&lt;?php echo $id ?&gt; input[type='submit']&quot; ).hide();
</span><span class="cx">                                                 jQuery.ajaxSetup({'timeout':3600000});
</span><del>-                                                str = '&lt;?php _e( &quot;Processing next batch.&quot; ) ?&gt; &lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</del><ins>+                                                str = '&lt;?php _e( &quot;Processing next batch.&quot; ) ?&gt; &lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; id=&quot;processing&quot; align=&quot;top&quot; /&gt;';
</ins><span class="cx">                                                 jQuery( '#&lt;?php echo $msg ?&gt;' ).html( str );
</span><span class="cx">                                                 jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer',
</span><span class="cx">                                                                                                                                 'step':jQuery('#step').val(),
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/dashboard.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -424,7 +424,7 @@
</span><span class="cx">                         &lt;input type=&quot;reset&quot; value=&quot;&lt;?php esc_attr_e( 'Reset' ); ?&gt;&quot; class=&quot;button&quot; /&gt;
</span><span class="cx">                         &lt;span id=&quot;publishing-action&quot;&gt;
</span><span class="cx">                                 &lt;input type=&quot;submit&quot; name=&quot;publish&quot; id=&quot;publish&quot; accesskey=&quot;p&quot; tabindex=&quot;5&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?&gt;&quot; /&gt;
</span><del>-                                &lt;img class=&quot;waiting&quot; src=&quot;images/wpspin_light.gif&quot; /&gt;
</del><ins>+                                &lt;img class=&quot;waiting&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; /&gt;
</ins><span class="cx">                         &lt;/span&gt;
</span><span class="cx">                         &lt;br class=&quot;clear&quot; /&gt;
</span><span class="cx">                 &lt;/p&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/media.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/media.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/media.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -376,12 +376,12 @@
</span><span class="cx">         $out = '';
</span><span class="cx"> 
</span><span class="cx">         if ( $do_image )
</span><del>-                $out .= &quot;&lt;a href='{$image_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_image' class='thickbox' title='$image_title' onclick='return false;'&gt;&lt;img src='images/media-button-image.gif' alt='$image_title' /&gt;&lt;/a&gt;&quot;;
</del><ins>+                $out .= &quot;&lt;a href='{$image_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_image' class='thickbox' title='$image_title' onclick='return false;'&gt;&lt;img src='&quot; . esc_url( admin_url( 'images/media-button-image.gif' ) ) . &quot;' alt='$image_title' /&gt;&lt;/a&gt;&quot;;
</ins><span class="cx">         if ( $do_video )
</span><del>-                $out .= &quot;&lt;a href='{$video_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_video' class='thickbox' title='$video_title' onclick='return false;'&gt;&lt;img src='images/media-button-video.gif' alt='$video_title' /&gt;&lt;/a&gt;&quot;;
</del><ins>+                $out .= &quot;&lt;a href='{$video_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_video' class='thickbox' title='$video_title' onclick='return false;'&gt;&lt;img src='&quot; . esc_url( admin_url( 'images/media-button-video.gif' ) ) . &quot;' alt='$video_title' /&gt;&lt;/a&gt;&quot;;
</ins><span class="cx">         if ( $do_audio )
</span><del>-                $out .= &quot;&lt;a href='{$audio_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_audio' class='thickbox' title='$audio_title' onclick='return false;'&gt;&lt;img src='images/media-button-music.gif' alt='$audio_title' /&gt;&lt;/a&gt;&quot;;
-        $out .= &quot;&lt;a href='{$media_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_media' class='thickbox' title='$media_title' onclick='return false;'&gt;&lt;img src='images/media-button-other.gif' alt='$media_title' /&gt;&lt;/a&gt;&quot;;
</del><ins>+                $out .= &quot;&lt;a href='{$audio_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_audio' class='thickbox' title='$audio_title' onclick='return false;'&gt;&lt;img src='&quot; . esc_url( admin_url( 'images/media-button-music.gif' ) ) . &quot;' alt='$audio_title' /&gt;&lt;/a&gt;&quot;;
+        $out .= &quot;&lt;a href='{$media_upload_iframe_src}&amp;amp;TB_iframe=true' id='add_media' class='thickbox' title='$media_title' onclick='return false;'&gt;&lt;img src='&quot; . esc_url( admin_url( 'images/media-button-other.gif' ) ) . &quot;' alt='$media_title' /&gt;&lt;/a&gt;&quot;;
</ins><span class="cx"> 
</span><span class="cx">         printf($context, $out);
</span><span class="cx"> }
</span><span class="lines">@@ -1214,7 +1214,7 @@
</span><span class="cx">         $image_edit_button = '';
</span><span class="cx">         if ( gd_edit_image_support( $post-&gt;post_mime_type ) ) {
</span><span class="cx">                 $nonce = wp_create_nonce( &quot;image_editor-$post-&gt;ID&quot; );
</span><del>-                $image_edit_button = &quot;&lt;input type='button' id='imgedit-open-btn-$post-&gt;ID' onclick='imageEdit.open( $post-&gt;ID, \&quot;$nonce\&quot; )' class='button' value='&quot; . esc_attr__( 'Edit Image' ) . &quot;' /&gt; &lt;img src='images/wpspin_light.gif' class='imgedit-wait-spin' alt='' /&gt;&quot;;
</del><ins>+                $image_edit_button = &quot;&lt;input type='button' id='imgedit-open-btn-$post-&gt;ID' onclick='imageEdit.open( $post-&gt;ID, \&quot;$nonce\&quot; )' class='button' value='&quot; . esc_attr__( 'Edit Image' ) . &quot;' /&gt; &lt;img src='&quot; . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . &quot;' class='imgedit-wait-spin' alt='' /&gt;&quot;;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         $attachment_url = get_permalink( $attachment_id );
</span><span class="lines">@@ -1631,7 +1631,7 @@
</span><span class="cx">                 document.getElementById('go_button').style.color = '#bbb';
</span><span class="cx">                 if ( ! document.forms[0].src.value )
</span><span class="cx">                         document.getElementById('status_img').innerHTML = '*';
</span><del>-                else document.getElementById('status_img').innerHTML = '&lt;img src=&quot;images/no.png&quot; alt=&quot;&quot; /&gt;';
</del><ins>+                else document.getElementById('status_img').innerHTML = '&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/no.png' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;';
</ins><span class="cx">         },
</span><span class="cx"> 
</span><span class="cx">         updateImageData : function() {
</span><span class="lines">@@ -1640,7 +1640,7 @@
</span><span class="cx">                 t.width = t.preloadImg.width;
</span><span class="cx">                 t.height = t.preloadImg.height;
</span><span class="cx">                 document.getElementById('go_button').style.color = '#333';
</span><del>-                document.getElementById('status_img').innerHTML = '&lt;img src=&quot;images/yes.png&quot; alt=&quot;&quot; /&gt;';
</del><ins>+                document.getElementById('status_img').innerHTML = '&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/yes.png' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;';
</ins><span class="cx">         },
</span><span class="cx"> 
</span><span class="cx">         getImageData : function() {
</span><span class="lines">@@ -1650,7 +1650,7 @@
</span><span class="cx">                         t.resetImageData();
</span><span class="cx">                         return false;
</span><span class="cx">                 }
</span><del>-                document.getElementById('status_img').innerHTML = '&lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt;';
</del><ins>+                document.getElementById('status_img').innerHTML = '&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;';
</ins><span class="cx">                 t.preloadImg = new Image();
</span><span class="cx">                 t.preloadImg.onload = t.updateImageData;
</span><span class="cx">                 t.preloadImg.onerror = t.resetImageData;
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/meta-boxes.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -207,7 +207,7 @@
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;div id=&quot;publishing-action&quot;&gt;
</span><del>-&lt;img src=&quot;images/wpspin_light.gif&quot; id=&quot;ajax-loading&quot; style=&quot;visibility:hidden;&quot; alt=&quot;&quot; /&gt;
</del><ins>+&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; id=&quot;ajax-loading&quot; style=&quot;visibility:hidden;&quot; alt=&quot;&quot; /&gt;
</ins><span class="cx"> &lt;?php
</span><span class="cx"> if ( !in_array( $post-&gt;post_status, array('publish', 'future', 'private') ) || 0 == $post-&gt;ID ) {
</span><span class="cx">         if ( $can_publish ) :
</span><span class="lines">@@ -432,7 +432,7 @@
</span><span class="cx"> &lt;/tr&gt;&lt;/thead&gt;
</span><span class="cx"> &lt;tbody id=&quot;the-comment-list&quot; class=&quot;list:comment&quot;&gt;&lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;
</span><del>-&lt;p class=&quot;hide-if-no-js&quot;&gt;&lt;a href=&quot;#commentstatusdiv&quot; id=&quot;show-comments&quot; onclick=&quot;commentsBox.get(&lt;?php echo $total; ?&gt;);return false;&quot;&gt;&lt;?php _e('Show comments'); ?&gt;&lt;/a&gt; &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
</del><ins>+&lt;p class=&quot;hide-if-no-js&quot;&gt;&lt;a href=&quot;#commentstatusdiv&quot; id=&quot;show-comments&quot; onclick=&quot;commentsBox.get(&lt;?php echo $total; ?&gt;);return false;&quot;&gt;&lt;?php _e('Show comments'); ?&gt;&lt;/a&gt; &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
</ins><span class="cx"> &lt;?php
</span><span class="cx">         $hidden = get_hidden_meta_boxes('post');
</span><span class="cx">         if ( ! in_array('commentsdiv', $hidden) ) { ?&gt;
</span></span></pre></div>
<a id="trunkwpadminincludespluginphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/plugin.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/plugin.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/plugin.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -821,7 +821,7 @@
</span><span class="cx">                 add_action( $hookname, $function );
</span><span class="cx"> 
</span><span class="cx">         if ( empty($icon_url) ) {
</span><del>-                $icon_url = 'images/generic.png';
</del><ins>+                $icon_url = esc_url( admin_url( 'images/generic.png' ) );
</ins><span class="cx">         } elseif ( is_ssl() &amp;&amp; 0 === strpos($icon_url, 'http://') ) {
</span><span class="cx">                 $icon_url = 'https://' . substr($icon_url, 7);
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/template.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx">                 &lt;a accesskey=&quot;c&quot; href=&quot;#inline-edit&quot; title=&quot;&lt;?php _e('Cancel'); ?&gt;&quot; class=&quot;cancel button-secondary alignleft&quot;&gt;&lt;?php _e('Cancel'); ?&gt;&lt;/a&gt;
</span><span class="cx">                 &lt;?php $update_text = ( 'post_tag' == $taxonomy ) ? __( 'Update Tag' ) : __( 'Update Category' ); ?&gt;
</span><span class="cx">                 &lt;a accesskey=&quot;s&quot; href=&quot;#inline-edit&quot; title=&quot;&lt;?php echo esc_attr( $update_text ); ?&gt;&quot; class=&quot;save button-primary alignright&quot;&gt;&lt;?php echo $update_text; ?&gt;&lt;/a&gt;
</span><del>-                &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt;
</del><ins>+                &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;
</ins><span class="cx">                 &lt;span class=&quot;error&quot; style=&quot;display:none;&quot;&gt;&lt;/span&gt;
</span><span class="cx">                 &lt;?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?&gt;
</span><span class="cx">                 &lt;br class=&quot;clear&quot; /&gt;
</span><span class="lines">@@ -671,7 +671,7 @@
</span><span class="cx">                 $posts_columns['tags'] = __('Tags');
</span><span class="cx">         $post_status = !empty($_REQUEST['post_status']) ? $_REQUEST['post_status'] : 'all';
</span><span class="cx">         if ( !in_array( $post_status, array('pending', 'draft', 'future') ) &amp;&amp; ( empty($post_type) || post_type_supports($post_type, 'comments') ) )
</span><del>-                $posts_columns['comments'] = '&lt;div class=&quot;vers&quot;&gt;&lt;img alt=&quot;Comments&quot; src=&quot;images/comment-grey-bubble.png&quot; /&gt;&lt;/div&gt;';
</del><ins>+                $posts_columns['comments'] = '&lt;div class=&quot;vers&quot;&gt;&lt;img alt=&quot;Comments&quot; src=&quot;' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '&quot; /&gt;&lt;/div&gt;';
</ins><span class="cx">         $posts_columns['date'] = __('Date');
</span><span class="cx">         // @todo filter per type
</span><span class="cx">         $posts_columns = apply_filters('manage_posts_columns', $posts_columns);
</span><span class="lines">@@ -697,7 +697,7 @@
</span><span class="cx">         //$posts_columns['tags'] = _x('Tags', 'column name');
</span><span class="cx">         /* translators: column name */
</span><span class="cx">         $posts_columns['parent'] = _x('Attached to', 'column name');
</span><del>-        $posts_columns['comments'] = '&lt;div class=&quot;vers&quot;&gt;&lt;img alt=&quot;Comments&quot; src=&quot;images/comment-grey-bubble.png&quot; /&gt;&lt;/div&gt;';
</del><ins>+        $posts_columns['comments'] = '&lt;div class=&quot;vers&quot;&gt;&lt;img alt=&quot;Comments&quot; src=&quot;' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '&quot; /&gt;&lt;/div&gt;';
</ins><span class="cx">         //$posts_columns['comments'] = __('Comments');
</span><span class="cx">         /* translators: column name */
</span><span class="cx">         $posts_columns['date'] = _x('Date', 'column name');
</span><span class="lines">@@ -1165,7 +1165,7 @@
</span><span class="cx">                         $update_text = __( 'Update' );
</span><span class="cx">                         ?&gt;
</span><span class="cx">                         &lt;a accesskey=&quot;s&quot; href=&quot;#inline-edit&quot; title=&quot;&lt;?php _e('Update'); ?&gt;&quot; class=&quot;button-primary save alignright&quot;&gt;&lt;?php echo esc_attr( $update_text ); ?&gt;&lt;/a&gt;
</span><del>-                        &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt;
</del><ins>+                        &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;
</ins><span class="cx">                 &lt;?php } else {
</span><span class="cx">                         $update_text = __( 'Update' );
</span><span class="cx">                 ?&gt;
</span><span class="lines">@@ -2276,7 +2276,7 @@
</span><span class="cx">         &lt;a href=&quot;#comments-form&quot; class=&quot;save button-primary alignright&quot; tabindex=&quot;104&quot;&gt;
</span><span class="cx">         &lt;span id=&quot;savebtn&quot; style=&quot;display:none;&quot;&gt;&lt;?php _e('Update Comment'); ?&gt;&lt;/span&gt;
</span><span class="cx">         &lt;span id=&quot;replybtn&quot; style=&quot;display:none;&quot;&gt;&lt;?php _e('Submit Reply'); ?&gt;&lt;/span&gt;&lt;/a&gt;
</span><del>-        &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt;
</del><ins>+        &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;
</ins><span class="cx">         &lt;span class=&quot;error&quot; style=&quot;display:none;&quot;&gt;&lt;/span&gt;
</span><span class="cx">         &lt;br class=&quot;clear&quot; /&gt;
</span><span class="cx">         &lt;/p&gt;
</span><span class="lines">@@ -2611,7 +2611,7 @@
</span><span class="cx"> function browse_happy() {
</span><span class="cx">         $getit = __( 'WordPress recommends a better browser' );
</span><span class="cx">         echo '
</span><del>-                &lt;div id=&quot;bh&quot;&gt;&lt;a href=&quot;http://browsehappy.com/&quot; title=&quot;'.$getit.'&quot;&gt;&lt;img src=&quot;images/browse-happy.gif&quot; alt=&quot;Browse Happy&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</del><ins>+                &lt;div id=&quot;bh&quot;&gt;&lt;a href=&quot;http://browsehappy.com/&quot; title=&quot;'.$getit.'&quot;&gt;&lt;img src=&quot;' . esc_url( admin_url( 'images/browse-happy.gif' ) ) . '&quot; alt=&quot;Browse Happy&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</ins><span class="cx"> ';
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludeswidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/widgets.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/widgets.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/includes/widgets.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -202,7 +202,7 @@
</span><span class="cx">                 &lt;a class=&quot;widget-control-close&quot; href=&quot;#close&quot;&gt;&lt;?php _e('Close'); ?&gt;&lt;/a&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">                 &lt;div class=&quot;alignright&lt;?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?&gt;&quot;&gt;
</span><del>-                &lt;img src=&quot;images/wpspin_light.gif&quot; class=&quot;ajax-feedback &quot; title=&quot;&quot; alt=&quot;&quot; /&gt;
</del><ins>+                &lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; class=&quot;ajax-feedback &quot; title=&quot;&quot; alt=&quot;&quot; /&gt;
</ins><span class="cx">                 &lt;input type=&quot;submit&quot; name=&quot;savewidget&quot; class=&quot;button-primary widget-control-save&quot; value=&quot;&lt;?php esc_attr_e('Save'); ?&gt;&quot; /&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">                 &lt;br class=&quot;clear&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpadminmseditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-edit.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-edit.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/ms-edit.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -412,7 +412,7 @@
</span><span class="cx">                                 &lt;?php wp_admin_css( 'install', true ); ?&gt;
</span><span class="cx">                         &lt;/head&gt;
</span><span class="cx">                         &lt;body id=&quot;error-page&quot;&gt;
</span><del>-                                &lt;h1 id=&quot;logo&quot;&gt;&lt;img alt=&quot;WordPress&quot; src=&quot;images/wordpress-logo.png&quot; /&gt;&lt;/h1&gt;
</del><ins>+                                &lt;h1 id=&quot;logo&quot;&gt;&lt;img alt=&quot;WordPress&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wordpress-logo.png' ) ); ?&gt;&quot; /&gt;&lt;/h1&gt;
</ins><span class="cx">                                 &lt;form action='ms-edit.php?action=&lt;?php echo esc_attr( $_GET[ 'action2' ] ) ?&gt;' method='post'&gt;
</span><span class="cx">                                         &lt;input type='hidden' name='action' value='&lt;?php echo esc_attr( $_GET['action2'] ) ?&gt;' /&gt;
</span><span class="cx">                                         &lt;input type='hidden' name='id' value='&lt;?php echo esc_attr( $id ); ?&gt;' /&gt;
</span></span></pre></div>
<a id="trunkwpadminpressthisphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/press-this.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/press-this.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/press-this.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -399,7 +399,7 @@
</span><span class="cx">                                         jQuery('#waiting').hide();
</span><span class="cx">                                         jQuery('#extra-fields').show();
</span><span class="cx">                                 }
</span><del>-                                jQuery('#extra-fields').before('&lt;div id=&quot;waiting&quot;&gt;&lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; /&gt; &lt;?php echo esc_js( __( 'Loading...' ) ); ?&gt;&lt;/div&gt;');
</del><ins>+                                jQuery('#extra-fields').before('&lt;div id=&quot;waiting&quot;&gt;&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt; &lt;?php echo esc_js( __( 'Loading...' ) ); ?&gt;&lt;/div&gt;');
</ins><span class="cx"> 
</span><span class="cx">                                 if(photostorage == false) {
</span><span class="cx">                                         jQuery.ajax({
</span><span class="lines">@@ -475,7 +475,7 @@
</span><span class="cx">                                                 &lt;?php } else { ?&gt;
</span><span class="cx">                                                         &lt;br /&gt;&lt;br /&gt;&lt;input class=&quot;button-primary&quot; type=&quot;submit&quot; name=&quot;review&quot; value=&quot;&lt;?php esc_attr_e('Submit for Review') ?&gt;&quot; id=&quot;review&quot; /&gt;
</span><span class="cx">                                                 &lt;?php } ?&gt;
</span><del>-                                                &lt;img src=&quot;images/wpspin_light.gif&quot; alt=&quot;&quot; id=&quot;saving&quot; style=&quot;display:none;&quot; /&gt;
</del><ins>+                                                &lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; id=&quot;saving&quot; style=&quot;display:none;&quot; /&gt;
</ins><span class="cx">                                         &lt;/p&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><span class="lines">@@ -547,11 +547,11 @@
</span><span class="cx"> 
</span><span class="cx">                                 &lt;li id=&quot;photo_button&quot;&gt;
</span><span class="cx">                                         Add: &lt;?php if ( current_user_can('upload_files') ) { ?&gt;&lt;a title=&quot;&lt;?php _e('Insert an Image'); ?&gt;&quot; href=&quot;#&quot;&gt;
</span><del>-&lt;img alt=&quot;&lt;?php _e('Insert an Image'); ?&gt;&quot; src=&quot;images/media-button-image.gif&quot;/&gt;&lt;/a&gt;
</del><ins>+&lt;img alt=&quot;&lt;?php _e('Insert an Image'); ?&gt;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/media-button-image.gif' ) ); ?&gt;&quot;/&gt;&lt;/a&gt;
</ins><span class="cx">                                         &lt;?php } ?&gt;
</span><span class="cx">                                 &lt;/li&gt;
</span><span class="cx">                                 &lt;li id=&quot;video_button&quot;&gt;
</span><del>-                                        &lt;a title=&quot;&lt;?php _e('Embed a Video'); ?&gt;&quot; href=&quot;#&quot;&gt;&lt;img alt=&quot;&lt;?php _e('Embed a Video'); ?&gt;&quot; src=&quot;images/media-button-video.gif&quot;/&gt;&lt;/a&gt;
</del><ins>+                                        &lt;a title=&quot;&lt;?php _e('Embed a Video'); ?&gt;&quot; href=&quot;#&quot;&gt;&lt;img alt=&quot;&lt;?php _e('Embed a Video'); ?&gt;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/media-button-video.gif' ) ); ?&gt;&quot;/&gt;&lt;/a&gt;
</ins><span class="cx">                                 &lt;/li&gt;
</span><span class="cx">                                 &lt;?php if ( user_can_richedit() ) { ?&gt;
</span><span class="cx">                                 &lt;li id=&quot;switcher&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/widgets.php (13255 => 13256)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/widgets.php        2010-02-20 21:00:19 UTC (rev 13255)
+++ trunk/wp-admin/widgets.php        2010-02-20 21:09:49 UTC (rev 13256)
</span><span class="lines">@@ -363,7 +363,7 @@
</span><span class="cx">                 &lt;div class=&quot;sidebar-name&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;sidebar-name-arrow&quot;&gt;&lt;br /&gt;&lt;/div&gt;
</span><span class="cx">                 &lt;h3&gt;&lt;?php _e('Inactive Widgets'); ?&gt;
</span><del>-                &lt;span&gt;&lt;img src=&quot;images/wpspin_light.gif&quot; class=&quot;ajax-feedback&quot; title=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;
</del><ins>+                &lt;span&gt;&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; class=&quot;ajax-feedback&quot; title=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;
</ins><span class="cx">                 &lt;div class=&quot;widget-holder inactive&quot;&gt;
</span><span class="cx">                 &lt;p class=&quot;description&quot;&gt;&lt;?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?&gt;&lt;/p&gt;
</span><span class="cx">                 &lt;?php wp_list_widget_controls('wp_inactive_widgets'); ?&gt;
</span><span class="lines">@@ -385,7 +385,7 @@
</span><span class="cx">         &lt;div class=&quot;sidebar-name&quot;&gt;
</span><span class="cx">         &lt;div class=&quot;sidebar-name-arrow&quot;&gt;&lt;br /&gt;&lt;/div&gt;
</span><span class="cx">         &lt;h3&gt;&lt;?php echo esc_html( $registered_sidebar['name'] ); ?&gt;
</span><del>-        &lt;span&gt;&lt;img src=&quot;images/wpspin_dark.gif&quot; class=&quot;ajax-feedback&quot; title=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;
</del><ins>+        &lt;span&gt;&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_dark.gif' ) ); ?&gt;&quot; class=&quot;ajax-feedback&quot; title=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;
</ins><span class="cx">         &lt;?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?&gt;
</span><span class="cx">         &lt;/div&gt;
</span><span class="cx"> &lt;?php
</span></span></pre>
</div>
</div>

</body>
</html>