Tuesday 22 March 2016

Keeping up with the Community: WordPress 4.5 Beta 2


After a whole armada of patches released with WordPress 4.5 Beta 1 just last week, the team of developers working tirelessly on core has already come up with new patches and fixes.
In an attempt to ease the non-coders and beginners into our awesome community, here is a brief overview of major fixes and patches in the latest 4.5 Beta 2 release:

1. strip_meta() fatal error on resize in ImageMagick

There was a fatal error when users uploaded images and resized it via ImageMagick (RCIG plugin: aka, responsive images). This occurred due to incomplete meta stripping during resize.
The patch (33642) resolves this error by changing default quality from 90 to 82. Further patches added new thumbnail and image resize functions. The patch also removes all image profiles except ICC, ICM, and EXIF set as image property. 

2. “Horizontal Rule” in WYSIWYG editor (TinyMCE)

New inline patterns are being added to core. The Horizontal Rule <hr> patch is for TinyMCE text editor in WordPress.
The purpose, for those unfamiliar with this HTML tag, is to create a line break that separates content. The Horizontal rule (<hr>) has been tested on iPhone, Mac, and Chrome and behaving well.

3. “Paste as Text” notice is now dismiss-able (TinyMCE)

Another patch added to 4.5 Beta 2 makes the oft annoying “Paste as Text” warning modal permanently dismiss-able after second time. This should improve editorial workflow.
The development on this feature is now closed. It is now set to be released with WordPress 4.5.

4. Selective Refresh support enabled in core themes

This customization feature gives users the ability to preview titles and taglines while a core theme (like Twenty Eleven) is in use.
Users can now shift + click to focus on control areas and test the PHP filters which will be applicable once you publish.

All said, there are a little over 100 changes and fixes that have been made within the week since last beta release.

Endnote

The version is still under development, so it’s not meant for live or production websites.
You can do your part as a budding WordPress developer by downloading the nightly builds, downloading the beta zip, testing it yourself, and suggesting (or maybe even making) improvements.

0 comments:

Post a Comment