{"id":27,"date":"2015-11-18T21:15:17","date_gmt":"2015-11-18T21:15:17","guid":{"rendered":"http:\/\/easydigitaldownloads.com\/development\/?p=27"},"modified":"2021-12-15T15:32:31","modified_gmt":"2021-12-15T21:32:31","slug":"frontend-submissions-and-wordpress-4-4","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2015\/11\/18\/frontend-submissions-and-wordpress-4-4\/","title":{"rendered":"Frontend Submissions and WordPress 4.4"},"content":{"rendered":"<p>WordPress 4.4 is <a href=\"https:\/\/make.wordpress.org\/core\/2015\/09\/15\/enforcing-the-show_ui-argument-for-post-types\/\" target=\"_blank\" rel=\"noopener\">introducing a breaking change<\/a> related to the\u00a0<em>show_ui\u00a0<\/em>argument of the register_post_type() function. While it is a breaking change, it is an overly positive change as well because it corrects previously unexpected behavior with post types that are registered with the\u00a0<em>show_ui\u00a0<\/em>parameter set to\u00a0<em>false<\/em>.<!--more--><\/p>\n<p>This change does, however, have a negative impact on our <a href=\"https:\/\/easydigitaldownloads.com\/downloads\/frontend-submissions\/\" target=\"_blank\" rel=\"noopener\">Frontend Submissions extension<\/a>. In FES version 2.2.17 and earlier, the\u00a0<em>fes-forms\u00a0<\/em>post type was registered with\u00a0<em>show_ui\u00a0<\/em>set to\u00a0<em>false<\/em>. Because of this, the form builder pages in FES 2.2.17 and earlier will\u00a0no longer behave as expected. When attempting to access the form builders on WordPress 4.4 and greater, the following error message will be shown:<\/p>\n<p><a href=\"https:\/\/easydigitaldownloads.com\/development\/files\/2015\/11\/Screen-Shot-2015-11-18-at-2.52.17-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-28\" src=\"https:\/\/easydigitaldownloads.com\/development\/files\/2015\/11\/Screen-Shot-2015-11-18-at-2.52.17-PM-1024x326.png\" alt=\"Screen Shot 2015-11-18 at 2.52.17 PM\" width=\"722\" height=\"230\" srcset=\"https:\/\/easydigitaldownloads.com\/development\/files\/2015\/11\/Screen-Shot-2015-11-18-at-2.52.17-PM-1024x326.png 1024w, https:\/\/easydigitaldownloads.com\/development\/files\/2015\/11\/Screen-Shot-2015-11-18-at-2.52.17-PM-300x96.png 300w, https:\/\/easydigitaldownloads.com\/development\/files\/2015\/11\/Screen-Shot-2015-11-18-at-2.52.17-PM.png 1256w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>To resolve this issue, simply update to Frontend Submissions version 2.3 or later.<\/p>\n<p>For users that are unable to update to FES 2.3 or later, the following\u00a0patch may be applied to resolve the issue:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/pippinsplugins\/302cf6a961b1a6089c63.js\"><\/script><\/p>\n<p>It should be noted, however, that we strongly advise\u00a0against using this patch as a solution. The best way to resolve the issue is to update to 2.3 or later so that new features, bug fixes, and security updates can be applied as well. This patch should only be used as a last resort.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 4.4 is introducing a breaking change related to the\u00a0show_ui\u00a0argument of the register_post_type() function. While it is a breaking change, it is an overly positive change as well because it corrects previously unexpected behavior with&#8230;<\/p>\n<p class=\"continue-reading\"><a class=\"more-link\" href=\"https:\/\/easydigitaldownloads.com\/development\/2015\/11\/18\/frontend-submissions-and-wordpress-4-4\/\">Continue reading &rarr;<\/a><\/p>\n","protected":false},"author":650,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-extensions"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":2,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":1132,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/27\/revisions\/1132"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}