Firefox 1.5 Beta 1 is now available for download.
This is the first Beta release of the next major Firefox upgrade, which is due to be released sometime later this year. (Not bad considering that 1.0 was launched in November 2004.)
This isn’t the final release of Firefox 1.5, it is the Beta 1 version, still in the development stage and has been made available for testing purposes only. A quick test as to whether you think you should download and install it: if you think you are a geek, then yes. If you have trouble finding how to open a graphics file in Lotus WordPro, then you’d be better sticking with Firefox 1.0.6.
I’m a bit of a geek! So I’ve downloaded and installed Firefox 1.5 Beta 1. I’m impressed with it so far. It feels much faster (but that could also have something to do with my having very few extensions installed). I like the drag-and-drop rearrangement of tabs feature. It supposedly has better support for web standards (always a good thing in my book), and has a new button: “Report Broken Web Site” which reports web sites that are not working in Firefox so that Mozilla can work with their web designers to iron out any problems.
A couple of improvements I would like to see.
- I would like the option for new tabs to automatically open with my Home page. This is available as an extension for 1.0.x, but I’d like to see it built in.
- I really like the “tab x” extension, which allows you to close tabs quickly by clicking on the ‘x’ that appears in the top-right of each tab. That would make a great built-in feature.
But apart from those, and the fact that most 1.0.x extensions won’t work with 1.5, it’s a pretty good browser.
WordPress 1.5.2 now available for download from the WordPress website.
Upgrading from a previous incarnation of version 1.5 is simply a case of backing up the MySQL database, backing up the current WordPress installation, deleting everything apart from \wp-content and wp-config.php, and then uploading the new files. That’s it.
WordPress 1.5.2 contains a number of security fixes, bug fixes, and a new “Save and Continue Editing” button for Pages (although I’ve just noticed that this is only available once you have actually created a new page, which I guess makes sense).
I love WordPress. It’s simple to install, use, develop, and upgrade.
Something that annoys me a little about WordPress — that has changed between v.1.2 and the latest v.1.5 — is the code it automatically generates for uploaded image files.
When you Upload a file WordPress automatically generates the XHTML code for you, so that you can simply copy and paste it into a post or page, for example:
<img src='https://www.garethjmsaunders.co.uk/wp-content/image.jpg' alt='Description of image here' />
But you will notice that it has surrounded the URL and alt description with single quotation marks (') rather than double ("). I'm a fan of double-quotation marks here. So I've made a simple hack to the upload code:
How to hack upload.php
Here's how to change the code in your WordPress 1.5 installation to ensure that it will always give you double-quotation marks (") in the auto-generated XHTML code:
- The code for uploading files is contained in the file
wp-admin/upload.php within your WordPress installation.
- Open the file in your text editor of choice (I prefer 1st Page 2000) and scroll down to about line 202
- There you will see the following lines of code:
$piece_of_code = "<img src='" . get_settings('fileupload_url') ."/$img1_name' alt='$imgdesc' />";
$piece_of_code = "<a href='". get_settings('fileupload_url') . "/$img1_name' title='$imgdesc'>$imgdesc</a>";
- Simply replace these lines with the following:
$piece_of_code = "<img src=\"" . get_settings('fileupload_url') ."/$img1_name\" alt=\"$imgdesc\" />";
$piece_of_code = "<a href=\"". get_settings('fileupload_url') . "/$img1_name\" title=\"$imgdesc\">$imgdesc</a>";
- You will notice the subtle alteration of escaped quotation marks (\") replacing the previous single quotation marks ('). The backslash before the quote tells PHP to regard the quotation mark as a text character rather than as part of the syntax of the code.
- Now save this file, and upload it (no pun intended) to your WordPress installation.
- that's it!