{"id":16780942,"date":"2023-05-30T19:55:41","date_gmt":"2023-05-30T19:55:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/change-in-disable-behavior-after-update\/"},"modified":"2023-05-30T19:55:41","modified_gmt":"2023-05-30T19:55:41","slug":"change-in-disable-behavior-after-update","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/change-in-disable-behavior-after-update\/","title":{"rendered":"Change in disable behavior after update"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi! My site uses a check for if (has_nav_menu( &#8216;menu-name&#8217; )) as part of the theme (it changes the layout on pages with no section menu). With v 1.2.0 of this app, that check returns false on pages where I&#8217;ve set the Disable Menu condition. But with v 1.2.1, that check now returns true on those same pages. Is that an intentional change?<\/p>\n","protected":false},"template":"","class_list":["post-16780942","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16780942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16780942\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16780942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}