|
UpgradeConsiderations
Things to consider before upgrading.
If you are upgrading from a version prior to 1.1, at least some minor updates to geo mashup tags will be required. See TagRefOneOne for old and new tag formats. Other considerations all have to do with Geo Mashup customizations. If you haven't created any files for Geo Mashup (aside from those it comes with), you are safe to upgrade any way you like. If you have some customizations, keep reading. If something doesn't make sense, you probably don't have to worry about it. Upgrading with CustomizationsStarting with WordPress 2.7, you can upgrade plugins automatically from the admin interface via the "upgrade automatically" and related links. This method deletes the geo-mashup directory, and any files you've created there. Here is a safe upgrade path:
That's it for upgrading. The rest of the information here relates to options and requirements for customizations. Optional Theme LocationsIf you'd rather keep Geo Mashup templates and stylesheets in your theme folder or folders, that is also an option. Copy your files to these locations in the wp-content folder, where <your-theme> is the folder of your active theme.
The files in your theme folder will be used by Geo Mashup 1.2 and later. About the Geo Mashup Custom PluginThere is a separate plugin now that provides a place for the custom.js file, and optionally any of the files above, as well as any other files you'd like to preserve. This plugin's directory, geo-mashup-custom will safely house your custom files. No new versions will be released, so automatic upgrades will never be an option, and your files will not be deleted. Geo Mashup Custom will try to copy the custom files listed above from the geo-mashup folder, but file permissions on your server may not allow this. Check that all your files are safe in the geo-mashup-custom folder. Once they are, Geo Mashup can be upgraded automatically as often as you please without touching your files. DowngradingLocations are now stored in their own table in the database. Locations from versions of Geo Mashup prior to 1.2 will be converted in an upgrade process invoked on the settings page, but the reverse is not true, so any locations saved in this version will be invisible to prior versions. Nothing is deleted, though, so you can downgrade and see your old locations. As of 1.2.1, your locations will be converted when the plugin is activated, and a log of what happened is available on the options page. Customization Name ChangesI've tried to improve the consistency of some names. In general I've avoided any renaming that would break a default installation of 1.1.3, but if you've customized your installation you may need to make some updates. CSS SelectorsSelectors use lower case and dashes now instead of underscores or mixed case in names. These changes should only affect you if you've applied custom styles to Geo Mashup output in your theme.
Custom Javascript1.1.3 installations should be okay as they are. If you have a 1.2beta1 installation and have a custom.js file, you may need to make some changes to it:
|