{"id":3021563,"date":"2018-12-20T16:48:05","date_gmt":"2018-12-20T16:48:05","guid":{"rendered":"https:\/\/wpml.org\/?p=3021563"},"modified":"2018-12-21T08:28:19","modified_gmt":"2018-12-21T08:28:19","slug":"wpml-4-1-3-improves-performance-with-gutenberg-types-allows-to-control-gutenberg","status":"publish","type":"post","link":"https:\/\/wpml.org\/zh-hans\/changelog\/2018\/12\/wpml-4-1-3-improves-performance-with-gutenberg-types-allows-to-control-gutenberg\/","title":{"rendered":"WPML 4.1.3 Improves Performance with Gutenberg, Types Allows to Control Gutenberg"},"content":{"rendered":"<p class=\"lead\">In a quick release, just before the holidays, we updated WPML for better compatibility (and performance) with Gutenberg. If you&#8217;re looking to experiment with Gutenberg in your free time, the new Toolset Types will make it much easier.<\/p>\n<p>We are now two weeks after WordPress 5.x was initially released with the new Gutenberg editor. This time allowed us to notice a number of issues and improvements. WPML 4.1.3 addresses all these issues and makes working with Gutenberg more convenient.<\/p>\n<p>Most of the change is to how WPML sets the language. Previously, we filtered the new REST calls that Gutenberg relies on. We found that this causes compatibility problems with a number of plugins (most noticeable with Avada and Elementor). It also caused Gutenberg to run slower. We learned from this and changed the way WPML works. Now, there&#8217;s no speed impact and no room for conflicts with plugins that also filter Gutenberg actions.<\/p>\n<p>With the experience that we&#8217;ve accumulated over the last two weeks, we feel a lot more confident about using Gutenberg editor. While we still don&#8217;t recommend doing last-minute updates to production sites, there&#8217;s a much smaller chance of things breaking due to using WordPress 5.x.<\/p>\n<p>To make it easier to experiment with the new block editor, we updated <a href=\"https:\/\/toolset.com\/home\/types-manage-post-types-taxonomy-and-custom-fields\/\">Toolset Types<\/a> plugin, which you can download from your <a href=\"https:\/\/wpml.org\/account\/\">WPML account<\/a>. This update of Types allows you to <a href=\"https:\/\/toolset.com\/2018\/12\/enable-gutenberg-per-page-and-for-entire-post-types\/\">control on which types and pages to use Gutenberg<\/a>. This way, you can enable Gutenberg on any page, try it and quickly revert to the classic editor if you want.<\/p>\n<figure id=\"attachment_3021635\" aria-describedby=\"caption-attachment-3021635\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor-1024x244.png\" alt=\"\" width=\"1024\" height=\"244\" class=\"size-large wp-image-3021635\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor-1024x244.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor-150x36.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor-300x71.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor-768x183.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switching-to-block-editor.png 1092w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-3021635\" class=\"wp-caption-text\">Enable Gutenberg for any page<\/figcaption><\/figure>\n<figure id=\"attachment_3021649\" aria-describedby=\"caption-attachment-3021649\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor-1024x463.png\" alt=\"\" width=\"1024\" height=\"463\" class=\"size-large wp-image-3021649\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor-1024x463.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor-150x68.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor-300x136.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor-768x347.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/12\/switch-back-to-classic-editor.png 1053w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-3021649\" class=\"wp-caption-text\">Switch back to the classic editor without losing anything<\/figcaption><\/figure>\n<p>We hope that you have a great holidays season. Please let us know in the comments what you think and if you have any questions or suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a quick release, just before the holidays, we update [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"categories":[48],"tags":[],"class_list":["post-3021563","post","type-post","status-publish","format-standard","hentry","category-changelog"],"spectra_custom_meta":{"_subscription_coupon_product_id":["0"],"inline_featured_image":["0"],"_wpml_word_count":["307"],"_edit_lock":["1545380773:2"],"_edit_last":["2"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["1"],"_alp_processed":["1545380901"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_primary_category":["48"],"_views_template":["0"],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_oembed_d617e060b7133aea5401c0d73edbabae":["<iframe title=\"Using WPML to easily translate pages you build visually\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/AzxsHDjMA48?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_d617e060b7133aea5401c0d73edbabae":["1594645725"],"_oembed_c5805eb9f854cabdcc04201d2b76c30c":["<iframe title=\"Using WPML to translate content created with Gutenberg editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/Lw1rdlVxXQ4?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_c5805eb9f854cabdcc04201d2b76c30c":["1594645725"],"_oembed_d45e48e1af800662f1092912cdfb3725":["<iframe title=\"WPML Translation Manager Role\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/zKax_E3jRB0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_d45e48e1af800662f1092912cdfb3725":["1594645725"],"_oembed_66b65cc4963b02a06397f5195d38724a":["<iframe title=\"WPML New Media Translation\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/aUTPX7kahUs?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_66b65cc4963b02a06397f5195d38724a":["1594645725"],"_oembed_1a7aa0a619dad47a6cfdae8f8e97e437":["<iframe title=\"How to use the new WPML Advanced Translation Editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/kAaSEpjijhQ?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_1a7aa0a619dad47a6cfdae8f8e97e437":["1594645725"],"_oembed_6fb427da043bf71e85cff9f56216345b":["<iframe title=\"Using WPML to translate your pages built with Elementor.\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/uyeK177B9aM?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_6fb427da043bf71e85cff9f56216345b":["1595353024"],"_oembed_085e890236af876c824fa92e59328670":["<iframe title=\"Translating Menus in WPML\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/aFQuEGQs19c?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_085e890236af876c824fa92e59328670":["1595421009"],"_oembed_d4efa87b0e8cb39e3216e469b860b080":["<blockquote class=\"wp-embedded-content\" data-secret=\"frauS2LBgA\"><a href=\"https:\/\/wpml.org\/documentation\/theme-compatibility\/go-global-program\/\">Go-Global Program<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Go-Global Program&#8221; &#8212; WPML\" src=\"https:\/\/wpml.org\/documentation\/theme-compatibility\/go-global-program\/embed\/#?secret=frauS2LBgA\" data-secret=\"frauS2LBgA\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>"],"_oembed_time_d4efa87b0e8cb39e3216e469b860b080":["1596155082"],"_oembed_b6b58dddea390a2faa8b176dcd53d805":["<iframe title=\"How custom types and fields make it easy to manage content\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/BNu5PGG93J0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b6b58dddea390a2faa8b176dcd53d805":["1599195249"],"_oembed_6eeaaf76264d07834a5024ecc691d2d0":["<iframe title=\"Media Translation for WPML 4.0\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/8kvqMTy3r2g?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_6eeaaf76264d07834a5024ecc691d2d0":["1605554136"],"_oembed_8f4dd281fde949aaaec897e32bbedb6b":["<iframe title=\"Doing a Test Translation with Translation Services\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/ozBasV4sNCs?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_8f4dd281fde949aaaec897e32bbedb6b":["1647396048"],"_uag_css_file_name":["uag-css-3021563.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/zh-hans\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"In a quick release, just before the holidays, we update...","_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3021563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/comments?post=3021563"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3021563\/revisions"}],"predecessor-version":[{"id":3023870,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3021563\/revisions\/3023870"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=3021563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/categories?post=3021563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/tags?post=3021563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}