【エラー解決】Warning: Use of undefined constant ‘WP_POST_REVISIONS’ - assumed '‘WP_POST_REVISIONS’' (this will throw an Error in a future version of PHP) in /×××/○○○

WordPressを更新するため、ついにいにしえのPHP5からPHP7にアップデートした。

その過程で出てきたエラー。
Warning: Use of undefined constant ‘WP_POST_REVISIONS’ - assumed '‘WP_POST_REVISIONS’' (this will throw an Error in a future version of PHP) in /×××/○○○.php

もうこれはとてもシンプルな話で ‘WP_POST_REVISIONS’ じゃなくて '‘WP_POST_REVISIONS’'だと推測できるから、該当箇所を書き換えてねというエラーメッセージ。どこを書き換えたらいいかはエラーメッセージの語尾にわざわざ示してくれている。

私の場合wp-config.phpの
define( ‘WP_POST_REVISIONS’ , false);
という部分を
define( '‘WP_POST_REVISIONS’', false);
に書き換えろという指示。

単純に書き換えて、上書き保存。

エラーメッセージが消える。