当我尝试获取WP CLI未创建的现有安装的版本号时,出现错误:
wp core version --path='/Users/plee/clients/burger_king/wp'
错误消息是
WP-CLI needs WordPress 3.7 or later to work properly. The version currently installed is .
您看到它以某种方式可以识别WordPress安装,但无法读取版本号。这是具有最新核心更新的有效安装。
是否有任何方法可以使它对WP CLI可见?