WordPress 4.5

WordPress 4.5 was released on April 12, the update brings not many new features, but good improvements.

 

The biggest changes are:

Customizer improvements:

  • Now you can test your theme how it will look on a small device like a tablet or a smartphone.
  • Also you can upload a logo if the theme support it.
  • The changes in the Customizer are in real-time, so you can see your changes without a reload of the site.

 

Visual Editor improvements:

  • You can easier input URLs with an autocomplete function direct in the text.
  • Also new text-shortcuts were released for the Visual Editor:
    • Use `your code` to transform <code>my code</code>
    • Use --- to transform <hr />

 

Optimization of image generation:

  • The image sizes were reduced up to 50% with near identical visual quality. Now the meta-data of an image will be removed and the compression-rate is 82 instead of 90.

 

Comment Refinement

  • Better Layout for the comment content,  navigation via a text link, updated message styles and so on.
  • The comment form now enforce the maximum length of each field.

 

Security-fixes:

  • SSRF Bypass using Octal & Hexedecimal IP addresses
  • Reflected XSS on the network settings page
  • Script compression option CSRF

 

Bug-fixes:

  • Support Windows shares/DFS roots in wp_normalize_path()
  • OPTIONS request to REST API does not return correct Accept heade

 

Improvements for developer:

  • Embed templates – Embed templates were split into parts and can now be directly overridden by themes via the template hierarchy.
    • embed-{post-type}-{post_format}.php
    • embed-{post-type}.php
    • embed.php
    • wp-includes/theme-compat/embed.php
  • Script loader – Introduces wp_add_inline_script() for including inline JavaScript just like wp_add_inline_style() works for CSS.

 

A more detailed list of changes you can see here.

Don’t forget to keep your WordPress installation up to date and backup before you press the button.

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert