WordPressã®ãREST APIãç¡å¹ã«ãããããã«ã以ä¸ã®ããã«ãrest_enabledãã使ã£ã¦ããæ¹ãããã£ãããã¨æãã¾ãã add_filter( 'rest_enabled', '__return_false' );ã¨ããã§ãWordPress4.7.0ããã¯ãrest_enabledãã使ããã¨ã¯éæ¨å¥¨ã¨ãããããã§ã以ä¸ã®ãããªNoticeã¨ã©ã¼ã表示ãããããã«ãªã£ã¦ãã¾ããã Notice: rest_enabled ã®ä½¿ç¨ã¯ãã¼ã¸ã§ã³ 4.7.0 ãã<strong>éæ¨å¥¨</strong>ã«ãªã£ã¦ãã¾ã! 代ããã« rest_authentication_errors ã使ã£ã¦ãã ããã The REST API can no longer be completely disabled, the rest_authentication_errors can

{{#tags}}- {{label}}
{{/tags}}