I’d like to announce the official release of the updated Preserve Code Formatting plugin (v2.5) for WordPress.
Preserve formatting of code for display by preventing its modification by WordPress and other plugins while retaining original whitespace and characters.
The plugin’s official homepage is located at :
This release features a fix for a long-running (and frustrating) bug where preserved code would occasionally appear garbled. This release also feature many behind-the-scenes plugin management code updates. The plugin extends support through WordPress v2.8+, but drops support for versions of WordPress older than v2.6.
Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.
Update: Plugin updated to v2.5.1
Update 2: Plugin updated to v2.5.2
Update 3: Plugin updated to v2.5.3
Update 4: Plugin updated to v2.5.4
Read comments for details of the various updates.
Read more for a detailed ChangeLog of the release.
These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.
- Fixed long-running bug that caused some preserved code to appear garbled
- Updated a lot of internal plugin management code
- Added ‘Settings’ link to plugin’s plugin listing entry
- Used plugins_url() instead of hardcoded path
- Brought admin markup in line with modern conventions
- Minor reformatting (spacing)
- Noted compatibility through WP2.8+
- Dropped support for pre-WP2.6
- Updated copyright date
- Updated screenshot
- Updated to v2.5