Posts Tagged ‘changelog’
In this release of Simpler CSS, I’ve fixed a problem in the regular expression that would strip out all external references, breaking
background-image: url(http://example.com/image.jpg) declarations. Another issue that was fixed was a
<td> tag that wasn’t properly closed.
In this version, I’ve resolved the issue on some installs of WordPress where a correctly formatted shortcode (using
[ scribd ] on its own, as opposed to
[ scribd ]...[/ scribd ]) results in a warning message. The behaviour is unnecessary and has been removed.
[ scribd ]...[/ scribd ] too should work properly.
Note: references to the ‘scribd’ shortcode in this post were modified with added spaces in order to prevent WordPress from changing them into embeds.
I got word that the WordPress plugin directory now supports changelogs. This is great news for users, since they can now know what’s different in the new releases, right on the plugin directory site or even in their WordPress admin areas.
When I release the upcoming updates of Simpler CSS and Simpler iPaper, I will be sure to incorporate a changelog into the readme, but I will not be adding the changes from releases earlier than Simpler iPaper 1.1 and Simpler CSS 0.2b.
Version 0.2b of the Simpler CSS plugin provides new functionality.
- Default CSS setting / default text
- Cleaner cleaning
- Quotes in CSS no longer escaped
- @import and CSS comments are now stripped
A new default CSS setting shows on the options page for new users who have just discovered the custom CSS feature. By default, introductory text is shown to let users know what the plugin does. This default text can be edited in the plugin file — very useful for WordPress µ hosts.
Version 0.2b also fixes a problem where CSS properties that have quotes, such as
font-family: "Times New Roman", Georgia, serif; may be escaped by the PHP function
ENT_NOQUOTES is now used so that quotes in CSS code are not erroneously escaped.
This new plugin uses Perl regular expressions to strip out @import rules (to prevent the loading of external stylesheets — useful only for WordPress µ hosts that want to limit their users’ capabilities) and CSS comments (to reduce output size). Further filtering will be added in future versions in a way that allows them to be disabled or enabled.
(We’re skipping the 0.2 release because that one had a link to the old Simpler Plugins site, which has been switched to this blog.)
Version 0.1 of Simpler CSS was released today after the project was added to the WordPress Plugin Directory.
This is the initial version; version 0.2 will be coming within the next few days, allowing for a WordPress.com-style default message and regular expression-based filtering.
This version adds significant feature enhancements, including compatibility with the WordPress.com embed code that Scribd provides on every document page.
In this version, a new ‘scribd’ shortcode was added with the ‘key’ rather than ‘accesskey’ parameter so that one can copy the embed code without looking around for the access key.