Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pressing On 4.5

Jon Ang
April 28, 2016

Pressing On 4.5

Changes to WordPress 4.5

Jon Ang

April 28, 2016
Tweet

More Decks by Jon Ang

Other Decks in Technology

Transcript

  1. Pressing On – 4.5
    WordPress Singapore

    View full-size slide

  2. [ 2 ]
    Jon Ang
    CTO & Co-founder of Wingz Communications
    @Kenshino
    WordPress
    • Core Component Maintainer
    • Support Team
    • Documentation Team
    • Theme Review Team
    • Community Team

    View full-size slide

  3. What’s changed

    View full-size slide

  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 ]

    View full-size slide

  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 ]

    View full-size slide

  6. Live Preview
    Selective Refresh
    [ 6 ]
    https://make.wordpress.org/c
    ore/2016/02/16/selective-
    refresh-in-the-customizer/

    View full-size slide

  7. Live Preview
    • Device Based
    Preview
    [ 7 ]
    https://make.wordpress.org/c
    ore/2016/01/28/previewing-
    site-responsiveness-in-the-
    customizer/

    View full-size slide

  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' );

    View full-size slide

  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 ]

    View full-size slide

  10. Comment Template Fixes
    [ 10 ]

    View full-size slide

  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 ]

    View full-size slide