4.5 OMG WTF Post

This post is being written in progress as things are being added to 4.5 in the hopes it saves us time later. If you see anything that needs correcting, leave a comment and we’ll update the post content. If you have access to edit the post, leave a comment with what you changed.

This post will be the ‘non default’ part of the OMGWTFBBQ!?!?! post we do every major releaseMajor Release A set of releases or versions having the same major version number may be collectively referred to as “X.Y” -- for example version 5.2.x to refer to versions 5.2, 5.2.1, and all other versions in the 5.2. (five dot two dot) branch of that software. Major Releases often are the introduction of new major features and functionality..

THIS IS NOT THE PLACE TO ASK FOR HELP!. We’re trying to write the post, so please don’t post questions about 4.5 here 🙂 We will delete them. Go to the support forums for that please.

The About Page Trac Ticket lists a few things but what we’re looking for are the following:

  • CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Changes
  • Not a Bug
  • Known Issues

The rest of the content is under the cut:

Core Changes

Updated libraries: We updated jquery, backbone, and a couple other libraries. This may cause your browsers to render oddly. Please remember to flush your cache (browser and website/server). If you’re using Cloudflare, you may need to kick it.

REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.: There was a breaking change in the REST API that could potentially break plugins that use it. If you’re not using a pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party to connect with the APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways., don’t worry. If you are, check out the Core Post on the subject.

Not a Bug

The following features changed behavior.

Linking in Posts: The link interface has changed. Now it’s a smaller, inline tool that does a better search. Just start typing in your existing post title, and it will show up. If you miss the old interface, click the gear icon.

Formatting Shortcuts: We already had lists and headings. Now we’ve included horizontal lines and code too. Your text magically changing is intentional.

Image Quality: Yes, we changed it. It shouldn’t impact most people, but we’re trying to make WordPress render faster. If you happen to be a photoblogger and desperately need it back, please check out the following plugins

  • https://wordpress.org/plugins/wp-resized-image-quality/
  • https://wordpress.org/plugins/jpg-image-qualitycompression/

You can, of course, add code like this to your site, however we think most people would like that slider more than guesswork. Just change 100 to the percentage you’d like to render as:

add_filter(‘jpeg_quality’, function($arg){return 100;});

The old setting was 90 and the new is 82. (Please read the proposal to fully understand the research and decision.)

Embedding WordPress: You can now embed a front page of a WordPress site in another WordPress site.

The following features are new, but may not show up on all sites.

Custom Logo: This feature is only available on themes that have implemented it. If you don’t see it, check out TwentySixteen.

Known Issues

  • When using the code formatting shortcut a race condition (i.e. things happening at the same time) may occur that prevents the text from converting as intended. (See ticket #36459)