{"id":19002545,"date":"2026-08-25T12:48:14","date_gmt":"2026-08-25T12:48:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cannot-update-php-files-in-theme-editor-wordpress-7-1\/"},"modified":"2026-08-25T12:48:14","modified_gmt":"2026-08-25T12:48:14","slug":"cannot-update-php-files-in-theme-editor-wordpress-7-1","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cannot-update-php-files-in-theme-editor-wordpress-7-1\/","title":{"rendered":"Cannot update php files in theme editor WordPress 7.1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Any attempt to update php theme files result in message &#8220;Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.&#8221; Other type files are updating without issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But if an a block theme is active theme editor appears in Tools menus and php theme files of other themes in this case can be successfully updated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What is this? New WordPress behavior or a bug?<\/p>\n","protected":false},"template":"","class_list":["post-19002545","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19002545","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\/19002545\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19002545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}