Pressing On 4.5

1f6b851a12600a18a0766baaad0d55f7?s=47 Jon Ang
April 28, 2016

Pressing On 4.5

Changes to WordPress 4.5

1f6b851a12600a18a0766baaad0d55f7?s=128

Jon Ang

April 28, 2016
Tweet

Transcript

  1. Pressing On – 4.5 WordPress Singapore

  2. [ 2 ] Jon Ang CTO & Co-founder of Wingz

    Communications @Kenshino WordPress • Core Component Maintainer • Support Team • Documentation Team • Theme Review Team • Community Team
  3. What’s changed

  4. JavaScript & CSS • Developers – jQuery, jQuery Migrate –

    Backbone – Underscore • Users – If your site breaks, it’s probably because of jQuery – look for theme & plugin updates [ 4 ]
  5. Term Edit Page • Developers – Old link looks like

    this • example.com/wp-admin/edit- tags.php?action=edit&taxonomy=post_tag&tag_ID=127 – New link looks like this • example.com/wp-admin/term.php?tag_ID=123 – Fix: Your code just needs to check for get_current_screen() properly • Users – Does not affect [ 5 ]
  6. Live Preview Selective Refresh [ 6 ] https://make.wordpress.org/c ore/2016/02/16/selective- refresh-in-the-customizer/

  7. Live Preview • Device Based Preview [ 7 ] https://make.wordpress.org/c

    ore/2016/01/28/previewing- site-responsiveness-in-the- customizer/
  8. Custom Theme Logos • Developers – You can add Custom

    Theme logos easily to the Customiser • Users – You can now expect newer themes from WordPress.org to support custom logos out of the box [ 8 ] function theme_prefix_setup() { add_theme_support( 'custom-logo' ); } add_action( 'after_setup_theme', 'theme_prefix_setup' );
  9. Image Compression • Developer – Smaller file sizes especially apparently

    if you use add_image_size() a lot • Users – Smaller file sizes means faster download – Likely encourages people to stay a little while longer at your site – Site Speed is a signal for SEO, so Google might rank you a tiny, tiny, bit better [ 9 ]
  10. Comment Template Fixes [ 10 ]

  11. wp_add_inline_script • Developer – Allows you to easily add small

    inline scripts without having to write and maintain files • Users – Less files = faster loading = better SEO = better experience [ 11 ]