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

What's new in WordPress 4.7

What's new in WordPress 4.7

Scopriamo le novità della versione 4.7 di WordPress

- Guido Scialfa

WordPress Meetup Catania

March 25, 2017
Tweet

More Decks by WordPress Meetup Catania

Other Decks in Education

Transcript

  1. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa What’s new in WordPress 4.7 Vaughan
  2. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Sarah Lois Vaughan "Sassy", "The Divine One", "Sailor"
  3. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts
  4. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers
  5. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme add_theme_support ( 'custom-header', [ 'video' => true ] ); https://goo.gl/acdUA6
  6. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers Smoother Menu Builder
  7. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers Smoother Menu Builder Custom Css
  8. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers Smoother Menu Builder Custom Css
  9. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers Smoother Menu Builder Custom Css Pdf Thumbnail Previews
  10. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Core support is provided through WP_Image_Editor_Imagick and requires Imagick, ImageMagick, and Ghostscript support. When not supported, or if the generation fails, WordPress falls back to previous behavior and saves the attachment without adding image previews to meta.
  11. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Welcome to 2017 Theme Edit Shortcuts Video Headers Smoother Menu Builder Custom Css Pdf Thumbnail Previews Dashboard Language
  12. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.
  13. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Rest Api { "id": 993, "date": "2012-03-15T14:38:08", "date_gmt": "2012-03-15T21:38:08", "guid": { "rendered": "http://wptest.io/demo/?p=993" }, "modified": "2012-03-15T14:38:08", "modified_gmt": "2012-03-15T21:38:08", "slug": "template-excerpt-defined", "status": "publish", "type": "post", "link": "http://localhost/wp/blog/2012/03/15/template-excerpt-defined/", "title": { "rendered": "Template: Excerpt (Defined)" }, "content": { "rendered": "<p>This is the post content. It should be displayed in place of the user-defined excerpt in single-page views.</p>\n", "protected": false }, "excerpt": { "rendered": "<p>This is a user-defined post excerpt. It should be displayed in place of the post content in archive-index pages.</p>\n", "protected": false }, "author": 1, ….
  14. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa REST API & Privilege Escalation This privilege escalation vulnerability affects the WordPress REST API that was recently added and enabled by default on WordPress 4.7.0. One of these REST endpoints allows access (via the API) to view, edit, delete and create posts. Within this particular endpoint, a subtle bug allows visitors to edit any post on the site.
  15. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Disable WP REST API https://wordpress.org/plugins/disable-json-api/
  16. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Starter Content One of the hardest things for people setting up sites with WordPress for the first time is understanding what themes are and how a given theme can work for you.
  17. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Starter Content WordPress has supported custom page templates for over 12 years, allowing developers to create various layouts for specific pages. While this feature is very helpful, it has always been limited to the ‘page’ post type and not was not available to other post types. With WordPress 4.7, it will be.
  18. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa Custom Bulk Actions WordPress 4.7, developers can register their own bulk actions on list table screens.
  19. WordPress Meetup Catania - What’s new in WordPress 4.7 -

    Guido Scialfa WordPress 4.7 https://wordpress.org/news/2016/12/vaughan/ Rest Api https://developer.wordpress.org/rest-api/reference/ Post Type Templates https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/ Starter Content https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/