We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de664f9 commit 013ad0aCopy full SHA for 013ad0a
tests/test-cmb-rest-registered-fields.php
@@ -95,6 +95,11 @@ public function test_wp_api_installed() {
95
&& file_exists( $rest_api )
96
) {
97
require_once $rest_api;
98
+ } elseif (
99
+ ( $rest_api = '/tmp/wordpress/wp-content/plugins/rest-api/plugin.php' )
100
+ && file_exists( $rest_api )
101
+ ) {
102
+ require_once $rest_api;
103
}
104
105
$this->assertEquals( array(
0 commit comments