<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Business Mindhacks &#187; Wordpress upgrade</title>
	<atom:link href="http://businessmindhacks.com/post/tag/wordpress-upgrade/feed" rel="self" type="application/rss+xml" />
	<link>http://businessmindhacks.com</link>
	<description>Thinking about your business on another level.</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:52:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress 2.5.x Design Issues: Why I am staying with my 2.3.3 &#8220;Renegade&#8221;</title>
		<link>http://businessmindhacks.com/post/wordpress-25x-design-issues-why-i-am-staying-with-my-233-renegade</link>
		<comments>http://businessmindhacks.com/post/wordpress-25x-design-issues-why-i-am-staying-with-my-233-renegade#comments</comments>
		<pubDate>Sun, 29 Jun 2008 00:52:07 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[FCKEditor]]></category>
		<category><![CDATA[Matt Mullenweg]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress design]]></category>
		<category><![CDATA[Wordpress Hack]]></category>
		<category><![CDATA[Wordpress upgrade]]></category>
		<category><![CDATA[Wordpress2.3.3]]></category>
		<category><![CDATA[Wordpress2.5]]></category>
		<category><![CDATA[WYSIWIG]]></category>

		<guid isPermaLink="false">http://businessmindhacks.com/post/wordpress-25x-design-issues-why-i-am-staying-with-my-233-renegade</guid>
		<description><![CDATA[I had put off writing this post for a while, partly because I wanted to take the time and really give Wordpress 2.5 a whirl before bashing it.
For several months now I have watched the discussion on the Wordpress.org support forums &#8211; especially about the much maligned admin back-end changes, run a security &#34;back-porting&#34; experiment [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="leftimg" src="/p/wordpress_med.gif" />I had put off writing this post for a while, partly because I wanted to take the time and really give Wordpress 2.5 a whirl before bashing it.</p>
<p>For several months now I have watched the discussion on the Wordpress.org support forums &#8211; especially about the much maligned admin back-end changes, <a href="/post/wordpress-233-security-retro-fit" target="_blank">run a security &quot;back-porting&quot; experiment</a> to keep my heavily customized version of 2.3.3 viable, and put 2.5.x through its paces to see what it does and doesn&#8217;t do.</p>
<p>All along, I&#8217;ve been taking copious screen-caps to help build my case. And at least for me, the verdict is in: Wordpress 2.5.x has been largely a mistake. Here&#8217;s why:</p>
<ol>
<li>The layout and design <strong>changes to the admin backend have done preciously little to solve the problem of wasted vertical screen &quot;real-estate&quot;</strong>, even though a supposedly top-notch design firm was hired in the redesign. Not sure what they were thinking, but even though the menus were made a little more sane, I still find no real consistency in what was done.</li>
<li><strong>Several things that actually worked well for people (and especially power-users) were taken away for no apparent reason</strong>, with sometimes additional complications being caused. Yes, I&#8217;m talking about the &quot;Widgets&quot; screen, as well as the needless moving around of the &quot;post controls&quot; away from the right hand of the write screen (wasting, surprise, surprise, even more vertical screen real-estate).</li>
<li>It doesn&#8217;t truly address several of <strong>the long-standing issues with the WYSIWIG editor</strong> and the &quot;wpautop&quot; function that is at the root of these (which also happens to make Wordpress slower than it needs to be). Sorry for the arcane tech reference, but it&#8217;s necessary to remind people that Wordpress overly messing with people&#8217;s HTML has gone on far too long. The current &quot;HTML&quot; view in the write screen is now a very strange hybrid.</li>
<li>And as I&#8217;ve argued in great detail in the posts on the security back-porting experiment, <strong>none of these rather extensive design changes needed to be rolled into the same update with the much needed security updates.</strong> They could have been kept separate, allowing users to continue using 2.3.3 for the time being. If Apache is able to do this, so should Wordpress&#8230; Stop using security fears as leverage to push your feature &quot;upgrades&quot;.</li>
<li>Just for fun, along the way one of the more testy threads on the Wordpress.org forum was <a href="http://wordpress.org/support/topic/164414/page/6?replies=163#post-751978" target="_blank" rel="nofollow">closed by Mr. Wordpress Matt Mullenweg himself</a>, even though there were <a href="http://wordpress.org/support/forum/4" target="_blank" rel="nofollow">MANY, MANY</a> complaining about issues with the 2.5 admin back-end design. <strong>Listen to your power-user base every once in a while</strong>, they are the one&#8217;s evangelizing your product for you (go read some Guy Kawasaki on this issue). They are the ones that might have to live through dozens of upgrades for clients, and their often painful aftermath.</li>
</ol>
<p>OK, so let&#8217;s get into the details. Here is what my own customized Write Screen looks like, using the FCKEditor plugin and changes to the admin stylesheets and /wp-admin/menu.php.</p>
<p><span id="more-131"></span></p>
<p>(click image to enlarge in a new tab)</p>
<p><a target="_blank" href="/wordpress/wp-content/uploads/image/wp/writescreen_custom.gif"><img height="306" width="500" align="middle" alt="" src="/wordpress/wp-content/uploads/image/wp/writescreen_custom.gif" /></a></p>
<p><strong>You can see for yourself that the vertical screen real-estate is handled with &quot;respect&quot;</strong>. On a standard 15&quot; laptop screen there is no scrolling necessary for me, even though the editor textarea is a good writing size.</p>
<p>It starts with moving the Blog Name and &quot;User Account&quot; info off to the right, saving tons of space at the top. Presumably as the author, we know what our blog is called&#8230; (open-to-all user registration is a security risk that should be turned off, unless you are e.g. trying to use Wordpress as some sort of membership site hack).</p>
<p>I do have my Firefox browser optimized not to waste too much at the top with toolbars either (it&#8217;s held to about 1&quot; including tabs by customizing/decluttering/combining the toolbars), and my Windows bar is actually dragged over to the right edge of the screen.</p>
<p>But even without this one would still have a good sized editor textarea, maybe the &quot;Tags&quot; text-field would no longer be visible as it is now. The toolbars for the FCKEditor are also condensed down to the most important items BTW.</p>
<p>The point is, <strong>I can start typing without scrolling, the key controls are all within reach</strong> on the right side or at the top, and the Wordpress menu options are still within reach without scrolling as well.</p>
<p>(Notice also that I moved the &quot;Publish&quot; button away from the &quot;Save&quot; buttons to avoid accidental publishing, after all with your ping list, you really can&#8217;t take that back very well. Also, I added a &quot;Duplicate&quot; function that is the equivalent of a &quot;Save As&quot;. Comes in handy if you write posts that belong to a series with mostly the same tags, or to break up over-long drafts into two or more posts. Also handy for duplicating pages where you e.g. want to split-test elements of your sales copy, etc. etc. &quot;Save &amp; Close&quot; reliably takes you back to the &quot;posts management&quot; screen.)</p>
<p><strong>I think since 15&quot; screens are the de facto standard in portable (enough) laptops, it&#8217;s really useful to build screens for decent display on those. </strong>Yes, some people have much larger desktop screens, but one shouldn&#8217;t assume that.</p>
<p>Another issue is that text becomes harder and harder to read the wider the column size (your eyes have to move/fixate more horizontally), so going wider with the editor textarea is not helpful. I have set mine to display in roughly the same width as my posts are displayed on the blog itself.</p>
<p>Now compare the Wordpress 2.5.x write screen, I have put some free-hand notes in there to highlight the issues:</p>
<p>(click image to enlarge in a new tab)</p>
<p><a target="_blank" href="/wordpress/wp-content/uploads/wp25_writescreen_notes.gif"><img height="381" width="500" align="middle" alt="" src="/wordpress/wp-content/uploads/wp25_writescreen_notes.gif" /></a></p>
<p>It&#8217;s really quite a sight. In fact, <strong>the first thing that pops into my head whenever I see the 2.5 write screen is how empty it is:</strong> There is almost nothing in the top half of the screen! Also noticeable is that part of the menu/sub-menu was arbitrarily moved off to the right (not visible in my screen cap).</p>
<p>Settings, Plugins, and Users are now separated from the rest, even though Themes and Widgets are still under &quot;Design&quot; on the left. If that is supposed to be intuitive, good luck. First off, <strong>changing Themes should be the rarest of operations, so if anything IT should be moved out of sight. </strong>Second, aren&#8217;t Plugins part of the design in a way? Widgets and Plugins may get changed quite a bit more often for some, so if anything they should be closer at hand.</p>
<p>I am including a few other screen-caps of my set-up, just to show what the menu and some of the screens COULD be like. <span style="background-color: Yellow;">Obviously everyone is likely to have slightly different priorities and preferences. Which is exactly my point: If Wordpress wants most of its users to be happy, it might be worth considering drag-drop customizable menus. </span></p>
<p>I did my changes in /wp-admin/menu.php manually to get greater sanity. Dropped a few of those items I never use, and otherwise rearranged and renamed things as much as was quickly possible.</p>
<p>Also notice that I rearranged the posts table to sort by status first and then by &quot;Modified&quot; so that my drafts would be at the top. It&#8217;s like a post to-do list and brainstorm. (Don&#8217;t ask me what hoops I had to jump through to get the list to sort by BOTH &quot;Status&quot; descending AND by &quot;Date Modified&quot; descending combined.)</p>
<p>(click image to enlarge in a new tab)</p>
<p><a href="/wordpress/wp-content/uploads/image/wp/post_mgmt.gif" target="_blank"><img height="223" width="500" align="middle" alt="" src="/wordpress/wp-content/uploads/image/wp/post_mgmt.gif" /></a></p>
<p>To show <strong>how the old Widget screen could have been updated only slightly to make it more usable</strong>, look at this next screen-shot. None of the much-criticized new Widget screen functionality needed to be invented, it works great like this:</p>
<p>Tightened up the font-sizes/margins/padding on everything a bit, moved the Widget &quot;tray&quot; to the top, and thereby created space for easily handling up to 5 sidebars &#8211; I use different ones for the index.php, single.php, and page.php views.</p>
<p>(click image to enlarge in a new tab)</p>
<p><a href="/wordpress/wp-content/uploads/image/wp/widget_mgmt_screen.gif" target="_blank"><img height="300" width="500" align="middle" alt="" src="/wordpress/wp-content/uploads/image/wp/widget_mgmt_screen.gif" /></a></p>
<p>There are a few other design issues with 2.5, such as the &quot;Manage Posts&quot; view that will now delete posts without a pop-up warning, and a few others. But so far most of the criticism has come in response to the write/edit screen and the new Widget management screen. And frankly, I believe for good reason.</p>
<p>Until they do something to blow me away with in terms of new functionality, I am sticking to my custom &quot;2.3.3 Renegade&quot; version&#8230; can you blame me?</p>
]]></content:encoded>
			<wfw:commentRss>http://businessmindhacks.com/post/wordpress-25x-design-issues-why-i-am-staying-with-my-233-renegade/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>An Update on the Wordpress 2.3.3 Security Retro-fit Adventure</title>
		<link>http://businessmindhacks.com/post/update-on-wordpress-233-security-retro-fit</link>
		<comments>http://businessmindhacks.com/post/update-on-wordpress-233-security-retro-fit#comments</comments>
		<pubDate>Sun, 11 May 2008 01:13:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[Automattic]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hack]]></category>
		<category><![CDATA[Wordpress security]]></category>
		<category><![CDATA[Wordpress upgrade]]></category>
		<category><![CDATA[Wordpress2.5]]></category>

		<guid isPermaLink="false">http://businessmindhacks.com/post/update-on-wordpress-233-security-retro-fit</guid>
		<description><![CDATA[Just wanted to update you on a few developments with the back-porting of Wordpress 2.5.x security improvements to version 2.3.3.
First, I want to emphasize that I did this largely to show that it was possible, and that Wordpress (Automattic) should consider rolling out such security fixes for older versions as patches rather than forcing &#34;upgrades&#34; [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/p/wordpress_med.gif" class="leftimg" alt="" />Just wanted to update you on a few developments with the <a target="_blank" href="/post/wordpress-233-security-retro-fit">back-porting of Wordpress 2.5.x security improvements to version 2.3.3</a>.</p>
<p>First, I want to emphasize that I did this largely to show that it was possible, and that Wordpress (Automattic) should consider rolling out such security fixes for older versions as patches rather than forcing &quot;upgrades&quot; to entirely new iterations of Wordpress with many feature changes mixed in with such fixes.</p>
<p>First, I did move the &quot;Retro-fit&quot; to this production blog of mine that is running a customized version of 2.3.3, and things have been going fine, for the most part.</p>
<p>Here is a screen-shot of the &quot;no frills&quot; login screen that is now missing the formatting that changed with 2.5.1 (as mentioned in the prior post). Since I have the user registration turned off, this is a non-issue for me, I can easily deal with not having a &quot;pretty&quot; login screen.</p>
<p style="text-align: center;"><img alt="" style="border: 1px solid rgb(221, 221, 221); padding: 3px;" src="/p/wordpress_login.gif" /></p>
<p><span id="more-113"></span></p>
<p><strong>The only other thing that I found to not work was the AJAXed post/page/comment deletion sequence.</strong> There must be a part on the JavaScript of the sequence that blocks the &quot;delete&quot; action, returning</p>
<p style="margin-left: 40px;"><code>&quot;You don't have permission to do that.&quot;</code></p>
<p>OK, no problem. I tracked down the JavaScript function that throws the error in a few admin files that have delete links on their screens,</p>
<p style="margin-left: 40px;"><code>onclick='return deleteSomething(... );'</code></p>
<p>but the AJAX code that it calls is too labyrinthine to mess with, so I left it alone. Instead I replaced it with a simple</p>
<p style="margin-left: 40px;"><code>onClick='return(confirm(&quot;Really Delete?&quot;));'</code></p>
<p>which fixed it, but also turned off the AJAX effect of the red-then-disappearing post/page/comment. In case you&#8217;re &quot;married&quot; to that one, this wouldn&#8217;t be for you. Personally, I can easily live without it, since the only thing that might get deleted regularly are spammy comments.</p>
<p>The files that needed this change were</p>
<pre style="margin-left: 40px;">
/wp-admin/edit.php
/wp-admin/edit-post-rows.php
/wp-admin/edit-pages.php
/wp-admin/edit-comments.php
/wp-admin/includes/template.php
</pre>
<p>Now, again, I want you to <strong>keep in mind that I embarked on this adventure mostly to prove a point about the possibility of having targeted security patches for past versions supplied by Wordpress.org</strong> (even though I also did get a nice security upgrade for my highly customized 2.3.3 install out of it). Obviously if they were to supply it, it should be safer/more targeted, and a hick-up such as the delete function thing would be avoided as part of the patch.</p>
<p>Whoever their AJAX specialist is could have likely changed just 1 or 2 lines in the AJAX code itself and solved the problem for all files/screens calling it. I simply don&#8217;t have enough experience with AJAX or the overall application logic in this case to know what to change to work the improved user authentication security from 2.5.x into it.</p>
<p>Incidentally, I was playing with a 2.5.1 install to collect and make more specific my thoughts on what I feel are things wrong with 2.5.x. More on that in the next post. But what I did find is that <span style="background-color: Yellow;">2.5.x abandoned the delete confirmation pop-up entirely in the new admin interface, so that once you click the delete button at the top, if any posts/pages/comments have their checkbox checked, there is no going back!</span></p>
<p>Not what I consider a safe design. In all likelihood, you can add the above simple &quot;onClick&quot; JavaScript I devised to the button input element, though I haven&#8217;t tried it yet. I am simply unsure what their design goals were with this new admin interface. Now we have something against a pop-up preventing a possibly unwanted deletion?</p>
<p>Given that the post list might display well below the fold, it is in theory possible that someone accidentally checks one of these posts along with another desired check, then hits &#8216;Delete&#8217; with a post that wasn&#8217;t even &quot;in sight&quot; now being deleted. Not good.</p>
<h2>UPDATE:</h2>
<p>I found one more issue that was created by the back-porting, and this one was actually a bit more of a problem: The whole-sale updating of</p>
<p style="margin-left: 40px;"><code>/wp-includes/functions.php</code></p>
<p>to the 2.5.x version actually caused the blog&#8217;s feed to fail. Took me a few days to figure this out, actually found it while adding a feed button in my categories.php and search.php templates.</p>
<p>The do_feed() call in the funtions.php file in 2.5.x actually calls a whole new function</p>
<p style="margin-left: 40px;"><code>get_default_feed()</code></p>
<p>that wasn&#8217;t there in 2.3.3 and throws the error. I first tried to update all of the feed[...].php files in /wp-includes, but that just produced more errors. Instead, the solution was to replace the 6 feed related functions</p>
<p style="margin-left: 40px;"><code>do_feed_...()</code></p>
<p>in /wp-includes/functions.php with the 2.3.3 versions. Then things were back to normal.</p>
<p>By now you are probably getting the idea that <strong>this back-porting business is NOT for the casual user of Wordpress</strong>. It should be noted however that I could have been more careful in porting only those exact changes from 2.5 that had to do with the security fixes, rather than replacing whole files and hoping for the best.</p>
<p>As it turned out, it mostly worked out OK, except for the issues addressed above.</p>
<p>And of course, <span style="background-color: Yellow;">it still proves that it should be easy for Wordpress.org to make the security fixes ONLY available as a small patch file package, a &quot;Service Pack&quot; of sorts to keep the older versions running as far as security.</span></p>
<p>Notice that this is the option chosen by many Open Source projects such as the venerable Apache server that powers most of the world&#8217;s Web servers. They still support version 1.7 with critical security updates, even though they are up to version 2.2 by now.</p>
<p>Why? Because they understand that there can be significant pain associated with a forced upgrades due to security issues, especially for admins that are dealing with a large installed base.</p>
<p><strong>Maybe Wordpress/Automattic could choose to see this as well, and head in this direction. What&#8217;s considered reasonable at Apache.org might be worth considering for them too.</strong> We don&#8217;t necessarily always need the latest &quot;code poetry&quot;&#8230; but we do need critical security.</p>
<p>Food for thought.</p>
]]></content:encoded>
			<wfw:commentRss>http://businessmindhacks.com/post/update-on-wordpress-233-security-retro-fit/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.3.3 Security Retro-Fit</title>
		<link>http://businessmindhacks.com/post/wordpress-233-security-retro-fit</link>
		<comments>http://businessmindhacks.com/post/wordpress-233-security-retro-fit#comments</comments>
		<pubDate>Tue, 06 May 2008 22:04:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[Matt Mullenweg]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hack]]></category>
		<category><![CDATA[Wordpress security]]></category>
		<category><![CDATA[Wordpress upgrade]]></category>
		<category><![CDATA[Wordpress2.5]]></category>

		<guid isPermaLink="false">http://businessmindhacks.com/post/wordpress-233-security-retro-fit</guid>
		<description><![CDATA[OK, the content of this post is so important that I won&#8217;t agonize too much over whether the writing is all that smooth or not.
You may have heard any number of things in recent weeks and months about the need to upgrade to Wordpress 2.5.x because of security issues with the older versions. In fact, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/p/wordpress_med.gif" class="leftimg" alt="" />OK, the content of this post is so important that I won&#8217;t agonize too much over whether the writing is all that smooth or not.</p>
<p>You may have heard any number of things in recent weeks and months about the need to upgrade to Wordpress 2.5.x because of security issues with the older versions. In fact, it can almost sound as if some people wanted to scare you into upgrading.</p>
<p>Now there have been for a long time issues with <strong>the fact that each Wordpress &quot;update&quot; tends to be far from a smooth/pain-free operation for many people</strong>, breaking relied-upon plugins, creating issues with your (possibly custom) themes, and requiring the re-edit of any personal hacks you may have had reason to place directly into the Wordpress core distribution because some things don&#8217;t work quite right in there, and pleas to fix them are often ignored.</p>
<p>In this case however, there have also been a large number of changes to the Wordpress admin back-end, the usefulness of some of which has been judged to be questionable, or that have caused actual problems (2.5 could delete your text widgets among other things). One look at the <a rel="nofollow" target="_blank" href="http://wordpress.org/support/forum/4">Wordpress support forum</a> tells the story. I am not going to get into all of the reasons right now why I am not upgrading to 2.5.x for the foreseeable future. That is for a different post.</p>
<p>Suffice it to say that many top bloggers with an understanding of the tech issues <a href="http://twitter.com/AndyBeard/statuses/797042651" target="_blank" rel="nofollow">have said they won&#8217;t upgrade for a while</a>.</p>
<p>What is important though is that <span style="background-color: Yellow;">the security fixes that came with 2.5 should in reality be made available as small, &quot;single file copy&quot; patches for anyone deciding to stay with the older version(s) for now.</span> I have said as much on the support forum in several places, most recently on a very active &quot;2.5 backend issues&quot; thread that actually <a rel="nofollow" target="_blank" href="http://wordpress.org/support/topic/164414/page/6#post-751978">got shut down my &quot;Mr. Wordpress&quot; Matt Mullenweg himself.</a></p>
<p>Since they currently seem rather unconcerned with making these fixes available without a wholesale upgrade, I decided to take it upon myself to do so.</p>
<p>Here are the results:</p>
<p><span id="more-102"></span></p>
<p>After studying <a rel="nofollow" target="_blank" href="http://trac.wordpress.org/query?milestone=2.5&amp;order=component&amp;desc=1">the ticket records for Wordpress 2.5</a> and 2.5.1 (the very rapid release of yet another &quot;update&quot; so close to the first one should tell you that 2.5 wasn&#8217;t quite as ready for prime-time as they might have wanted you to believe), it appears obvious that the biggest security issues come from WP user registration and the way it handles passwords.</p>
<p><span style="background-color: Yellow;">As for registration, I recommend for both 2.3.3 and even the later versions that you turn it OFF in your Admin panel</span> under &quot;Options &gt; General &gt; Anyone can register&quot; (uncheck the check-box). Unless you are using Wordpress as a sort of membership site, there is really no reason that I can see for yet another registration. Just require name and email in your comment form, those get auto-filled after the first comment for most themes and in most browsers.</p>
<p>If you have multiple WP authors, Admin can add those manually in a controlled way. Else, what are those users for? Since WP isn&#8217;t designed to be e.g. an auto-responder by default, those Email addresses from registration aren&#8217;t really all that useful to you. Better to use Feedburner or other means of opt-in.</p>
<p>By the way, even 2.5 still had an issue with their user roles security, potentially <a rel="nofollow" target="_blank" href="http://trac.wordpress.org/ticket/6662">allowing &quot;less than admin&quot; type users to add other users</a>. Ooops. (Aside: The role system in Wordpress is a bit labyrinthine because the application logic for it is spread all over the place in the code.)</p>
<p>So turning this off is a good idea (if possible for your purposes). So then the only major security issue that still needs fixing is the way that passwords (for Admin, etc.) are handled in Wordpress, both in the password database and as cookies in your browser once you are logged into your Wordpress back-end. If you are interested in the deeper technical issue of this, go <a rel="nofollow" target="_blank" href="http://trac.wordpress.org/ticket/5367">here</a> and <a rel="nofollow" target="_blank" href="http://trac.wordpress.org/ticket/2394">here</a> and enjoy&#8230;</p>
<p>From studying these, <strong>I simply extracted the files that were changed for 2.5, and then proceeded to copy those, one by one, into a 2.3.3 test install</strong>. To not keep you in suspense any longer, this security retro-fit for 2.3.3 works and here are the files to update:</p>
<p>(all files can just be overwritten with the 2.5 version, any totally new 2.5 files are marked)</p>
<pre style="margin-left: 40px;">
/wp-includes/class-phpass.php (new file)
/wp-includes/compat.php
/wp-includes/functions.php
/wp-includes/media.php (new file)
/wp-includes/pluggable.php
/wp-includes/registration.php
/wp-includes/shortcodes.php (new file)
/wp-includes/user.php
/wp-includes/wp-db.php
</pre>
<pre style="margin-left: 40px;">
/wp-admin/includes/misc.php
/wp-login.php
/wp-settings.php
</pre>
<p>The there are two files that you each have to add one line each to. In</p>
<pre style="margin-left: 40px;">
/wp-includes/deprecated.php
</pre>
<p>add the line</p>
<pre style="margin-left: 40px;">
function gzip_compression() { return false; }
</pre>
<p>at the top inside of the &#8216;&lt;?php&#8217; open tag. The reason we can&#8217;t just overwrite the whole file with the 2.5 version is that it actually would try to re-declare many more functions that were deprecated in 2.5 and placed into this file.</p>
<p>Last but not least, we need to place our own &quot;secret key&quot; generation phrase into your</p>
<pre style="margin-left: 40px;">
/wp-config.php</pre>
<p>with this line:</p>
<pre style="margin-left: 40px;">
define('SECRET_KEY', 'put your secret key phrase here');
</pre>
<p>Note that the comment above this new code reads:</p>
<pre style="margin-left: 40px;">
// Change SECRET_KEY to a unique phrase.&nbsp; You won't have to remember it later,
// so make it long and complicated.
</pre>
<p>So that&#8217;s what you want to do.</p>
<p>Again, so far I have found this to work after having put my 2.3.3 test-bed blog through the paces. I run about a dozen or so standard plugins in this installation, and there APPEAR to be no adverse effects from these changes. Security should have been enhanced, which was the goal in the first place.</p>
<p>So far the only adverse effect has been that the &quot;blue shield&quot; formatting of the login screen form has gone bye-bye, likely because 2.5 wants to use it&#8217;s changed CSS to format. But since we said to turn off the user registration (and thereby login) for all but Admins and maybe collaborating authors, this shouldn&#8217;t be a concern. I might post a visuals fix for this at some later point, but right now that&#8217;s way down my listy of priorities&#8230;</p>
<p>Here again is the predictable <strong>WARNING/DISCLAIMER to only attempt this in a test install of your own first (with all of your plugins in it), OR if done to a live install, to do it during off hours and with back-ups of your old 2.3.3 files at the ready</strong> in case there are any problems.</p>
<p>Hope this has been useful to you, and that you&#8217;ll sleep better at night. If these explanations seemed too complicated many paragraphs up, PLEASE DO NOT ATTEMPT this without someone technical helping you.</p>
<h2>UPDATE:</h2>
<p><span style="background-color: Yellow;">Before proceeding with any of this, read about some of the additional issues that came up in </span><a target="_blank" href="/post/update-on-wordpress-233-security-retro-fit"><span style="background-color: Yellow;">this follow up post</span></a><span style="background-color: Yellow;">.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://businessmindhacks.com/post/wordpress-233-security-retro-fit/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

