<!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>[21878] trunk/wp-admin: Rename div#footer to div#wpfooter in the admin.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/21878">21878</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-09-16 23:03:35 +0000 (Sun, 16 Sep 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see <a href="http://core.trac.wordpress.org/ticket/14466">#14466</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminfooterphp">trunk/wp-admin/admin-footer.php</a></li>
<li><a href="#trunkwpadmincsscolorsclassiccss">trunk/wp-admin/css/colors-classic.css</a></li>
<li><a href="#trunkwpadmincsscolorsfreshcss">trunk/wp-admin/css/colors-fresh.css</a></li>
<li><a href="#trunkwpadmincssiecss">trunk/wp-admin/css/ie.css</a></li>
<li><a href="#trunkwpadmincsswpadminrtlcss">trunk/wp-admin/css/wp-admin-rtl.css</a></li>
<li><a href="#trunkwpadmincsswpadmincss">trunk/wp-admin/css/wp-admin.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin-footer.php (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-footer.php        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/admin-footer.php        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx"> <div class="clear"></div></div><!-- wpbody -->
</span><span class="cx"> <div class="clear"></div></div><!-- wpcontent -->
</span><span class="cx">
</span><del>-<div id="footer">
</del><ins>+<div id="wpfooter">
</ins><span class="cx"> <?php do_action( 'in_admin_footer' ); ?>
</span><span class="cx"> <p id="footer-left" class="alignleft"><?php
</span><span class="cx"> echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
</span></span></pre></div>
<a id="trunkwpadmincsscolorsclassiccss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/colors-classic.css (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/colors-classic.css        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/css/colors-classic.css        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -777,7 +777,7 @@
</span><span class="cx">         color: #d54e21 !important;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         color: #777;
</span><span class="cx">         border-color: #b0c8d7;
</span><span class="cx"> }
</span><span class="lines">@@ -933,12 +933,12 @@
</span><span class="cx">         color: #174f69;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a:link,
-#footer a:visited {
</del><ins>+#wpfooter a:link,
+#wpfooter a:visited {
</ins><span class="cx">         text-decoration: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a:hover {
</del><ins>+#wpfooter a:hover {
</ins><span class="cx">         color: #000;
</span><span class="cx">         text-decoration: underline;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpadmincsscolorsfreshcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/colors-fresh.css (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/colors-fresh.css        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/css/colors-fresh.css        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -385,7 +385,7 @@
</span><span class="cx">         background-image: -o-linear-gradient(top, #fff, #eee);
</span><span class="cx">         background-image: linear-gradient(to bottom, #fff, #eee);
</span><span class="cx">         border-color: #ccc;
</span><del>-        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
</del><ins>+        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
</ins><span class="cx">         box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
</span><span class="cx">         color: #464646;
</span><span class="cx">         text-shadow: 1px 1px 0 #fff;
</span><span class="lines">@@ -414,7 +414,7 @@
</span><span class="cx">         background-image: -o-linear-gradient(top, #fff, #eee);
</span><span class="cx">         background-image: linear-gradient(to bottom, #fff, #eee);
</span><span class="cx">         border-color: #bbb;
</span><del>-        -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
</del><ins>+        -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
</ins><span class="cx">         box-shadow: 0px 1px 1px rgba(0,0,0,.1);
</span><span class="cx">         color: #000;
</span><span class="cx"> }
</span><span class="lines">@@ -437,8 +437,8 @@
</span><span class="cx">         background-image: linear-gradient(to bottom, #eee, #f9f9f9);
</span><span class="cx">         border-color: #999 #ddd #ddd #999;
</span><span class="cx">         color: #555;
</span><del>-        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
-         box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
</del><ins>+        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
+         box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .button.focus,
</span><span class="lines">@@ -464,7 +464,7 @@
</span><span class="cx">         background-image: linear-gradient(to bottom, #2a95c5, #21759b);
</span><span class="cx">         border-color: #21759b;
</span><span class="cx">         border-bottom-color: #1e6a8d;
</span><del>-        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
</del><ins>+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
</ins><span class="cx">         box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
</span><span class="cx">         color: #fff;
</span><span class="cx">         text-decoration: none;
</span><span class="lines">@@ -486,7 +486,7 @@
</span><span class="cx">         background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
</span><span class="cx">         background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
</span><span class="cx">         border-color: #1b607f;
</span><del>-        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
</del><ins>+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
</ins><span class="cx">         box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
</span><span class="cx">         color: #fff;
</span><span class="cx">         text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
</span><span class="lines">@@ -504,8 +504,8 @@
</span><span class="cx">         background-image: linear-gradient(to bottom, #21759b, #278ab7);
</span><span class="cx">         border-color: #124560 #2382ae #2382ae #124560;
</span><span class="cx">         color: rgba(255,255,255,0.95);
</span><del>-        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
-         box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
</del><ins>+        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
+         box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> input.button-primary.focus,
</span><span class="lines">@@ -771,7 +771,7 @@
</span><span class="cx">         color: #d54e21 !important;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         color: #777;
</span><span class="cx">         border-color: #dfdfdf;
</span><span class="cx"> }
</span><span class="lines">@@ -991,12 +991,12 @@
</span><span class="cx">         color: #464646;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a:link,
-#footer a:visited {
</del><ins>+#wpfooter a:link,
+#wpfooter a:visited {
</ins><span class="cx">         text-decoration: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a:hover {
</del><ins>+#wpfooter a:hover {
</ins><span class="cx">         text-decoration: underline;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincssiecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/ie.css (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/ie.css        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/css/ie.css        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -553,7 +553,7 @@
</span><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-* html #footer {
</del><ins>+* html #wpfooter {
</ins><span class="cx">         margin: 0;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincsswpadminrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin-rtl.css (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin-rtl.css        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/css/wp-admin-rtl.css        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -347,7 +347,7 @@
</span><span class="cx">         margin-right: 52px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.folded.wp-admin #footer {
</del><ins>+.folded.wp-admin #wpfooter {
</ins><span class="cx">         margin-left: 15px;
</span><span class="cx">         margin-right: 52px;
</span><span class="cx"> }
</span><span class="lines">@@ -481,7 +481,7 @@
</span><span class="cx">                 margin-right: 52px;
</span><span class="cx">         }
</span><span class="cx">
</span><del>-        .auto-fold.wp-admin #footer {
</del><ins>+        .auto-fold.wp-admin #wpfooter {
</ins><span class="cx">                 margin-left: 15px;
</span><span class="cx">                 margin-right: 52px;
</span><span class="cx">         }
</span><span class="lines">@@ -1335,12 +1335,12 @@
</span><span class="cx"> 21.0 - Admin Footer
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span><span class="cx">
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         margin-left: 20px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #wpcontent,
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         margin-right: 165px;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.css (21877 => 21878)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.css        2012-09-16 22:51:44 UTC (rev 21877)
+++ trunk/wp-admin/css/wp-admin.css        2012-09-16 23:03:35 UTC (rev 21878)
</span><span class="lines">@@ -59,12 +59,12 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #wpcontent,
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         margin-left: 165px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .folded #wpcontent,
</span><del>-.folded #footer {
</del><ins>+.folded #wpfooter {
</ins><span class="cx">         margin-left: 52px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1685,7 +1685,7 @@
</span><span class="cx"> /* Auto-folding of the admin menu */
</span><span class="cx"> @media only screen and (max-width: 900px) {
</span><span class="cx">         .auto-fold #wpcontent,
</span><del>-        .auto-fold #footer {
</del><ins>+        .auto-fold #wpfooter {
</ins><span class="cx">                 margin-left: 52px;
</span><span class="cx">         }
</span><span class="cx">
</span><span class="lines">@@ -4878,7 +4878,7 @@
</span><span class="cx"> 21.0 - Admin Footer
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span><span class="cx">
</span><del>-#footer {
</del><ins>+#wpfooter {
</ins><span class="cx">         position: absolute;
</span><span class="cx">         bottom: 0;
</span><span class="cx">         left: 0;
</span><span class="lines">@@ -4889,16 +4889,16 @@
</span><span class="cx">         border-top-style: solid;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer p {
</del><ins>+#wpfooter p {
</ins><span class="cx">         margin: 0;
</span><span class="cx">         line-height: 20px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a {
</del><ins>+#wpfooter a {
</ins><span class="cx">         text-decoration: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#footer a:hover {
</del><ins>+#wpfooter a:hover {
</ins><span class="cx">         text-decoration: underline;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>