2718.us blog » upgrade http://2718.us/blog Miscellaneous Technological Geekery Tue, 18 May 2010 02:42:55 +0000 en hourly 1 http://wordpress.org/?v=3.0.4 Child Themes to Upgrade-Proof Your Theme Changes http://2718.us/blog/2008/07/03/child-themes-to-upgrade-proof-your-theme-changes/ http://2718.us/blog/2008/07/03/child-themes-to-upgrade-proof-your-theme-changes/#comments Fri, 04 Jul 2008 04:52:30 +0000 2718.us http://2718.us/blog/?p=47 I’ve had yet another why-didn’t-anyone-tell-me-sooner moment–child themes in WordPress.  From How To Protect Your WordPress Theme Against Upgrades (via Parent Child Themes and How I used a WordPress Child Theme To Redesign My Blog The Smart Way):

Problem: You’ve finally found a theme you like but you want to modify it. The modifications are pretty simple but what happens when you want to upgrade the theme? Do you really want to go through all those files again hunting down the changes? Don’t you wish you could just upgrade and be done with it?

So, basically, install the theme you want, create a new theme directory for you modifications, and in the style.css file, which defines the metainfo for the style, designate the original (unedited) theme as the template.  If need be, use functions.php to make more modifications.  Just note that any template files in your own version’s directory beyond style.css and functions.php will be ignored.

When it comes time to upgrade the theme, you upgrade the “parent” theme and your modifications are unchanged in their own directory.

]]>
http://2718.us/blog/2008/07/03/child-themes-to-upgrade-proof-your-theme-changes/feed/ 0
Another WordPress+bbPress Integration Gotcha http://2718.us/blog/2008/05/01/another-wordpressbbpress-integration-gotcha/ http://2718.us/blog/2008/05/01/another-wordpressbbpress-integration-gotcha/#comments Thu, 01 May 2008 21:37:29 +0000 2718.us http://2718.us/blog/?p=33 Somehow (my best guess is it happened with the database update in the WP2.5.1 upgrade), the database secret, stored as “secret” and visible on /wp-admin/options.php, changed making the logins for bbPress and WordPress clobber each other (both apps using the same cookie, but each app rewriting the cookie with its own contents, rather than recognizing the other app’s contents).  If you’re having trouble with WordPress 2.5.1 + bbPress 0.9.0.2, especially if you’ve already watched the cookies go by and are sure that both apps are using the same cookie, check your secret (in bbPress, it’s in Admin > Settings > WP Integration).

]]>
http://2718.us/blog/2008/05/01/another-wordpressbbpress-integration-gotcha/feed/ 2
WordPress 2.5.1 http://2718.us/blog/2008/04/25/wordpress-251/ http://2718.us/blog/2008/04/25/wordpress-251/#comments Fri, 25 Apr 2008 18:16:45 +0000 2718.us http://2718.us/blog/?p=29 The .1 update that many people said they were waiting for is here. (And there are reminders all over every admin page on my blog, too.)

Version 2.5.1 of WordPress is now available. It includes a number of bug fixes, performance enhancements, and one very important security fix. We recommend everyone update immediately, particularly if your blog has open registration. The vulnerability is not public but it will be shortly.

The notice also mentioned the SECRET_KEY thing that I talked about yesterday and gave a link to auto-generate the line for wp-config.php:

Since 2.5 your wp-config.php file allows a new constant called SECRET_KEY which basically is meant to introduce a little permanent randomness into the cryptographic functions used for cookies in WordPress. You can visit this link we set up to get a unique secret key for your config file. (It’s unique and random on every page load.) Having this line in your config file helps secure your blog.

Upgrading took me about 15 seconds (as usual), mostly to find the svn command in the codex again and then a few seconds to run it and a few seconds in hitting the “database upgrade” page on the site before things were all done.

]]>
http://2718.us/blog/2008/04/25/wordpress-251/feed/ 0
Can You Really Upgrade WordPress in 5 Minutes? http://2718.us/blog/2008/04/14/can-you-really-upgrade-wordpress-in-5-minutes/ http://2718.us/blog/2008/04/14/can-you-really-upgrade-wordpress-in-5-minutes/#comments Mon, 14 Apr 2008 19:59:02 +0000 2718.us http://2718.us/blog/?p=20 5 minutes is a long time for upgrading WP, as far as I’m concerned.  I think it might have taken 5 minutes total to upgrade all three of my current WP installs and check/fix plugin issues.  Mind you, I use the subversion method of upgrading.  If you have shell access and can run subversion, it is so incredibly easy to upgrade WP with it that I don’t ever want to go back to the download-unzip-upload stuff I used to do.  In a post I referenced earlier, Matt said:

Upgrade your blog to the latest WP. This shouldn’t be hard. There are plugins for it, if you’re techy use Subversion, there is the standard FTP method, and finally Media Temple, Dreamhost, and Bluehost (through SimpleScripts) all have been pretty good about having their one-click upgrade systems ready with new versions within a day or two of a release.

I’m techy, sure, but I don’t know much about subversion other than it seems to have replaced CVS and I didn’t know much of anything about CVS other than that people working on big OSS projects seemed to use it.  (Okay, I know a little more about what subversion and CVS are supposed to do, but I’ve never actually used a check-in/check-out/versioning system.)  I literally just installed subversion with the package manager on my system, then used the commands given in the WP Codex.  Not very techy-like.  Done.

]]>
http://2718.us/blog/2008/04/14/can-you-really-upgrade-wordpress-in-5-minutes/feed/ 0