0 ) { foreach ( $matches as $match ) { $execute = str_ireplace( 'ABSPATH', 'TMPABSPATH', $match[0] ); $execute = str_ireplace( '__FILE__', "'" . __DIR__ . '/../../../../wp-config.php' . "'", $execute ); eval( $execute ); if ( file_exists( TMPABSPATH . 'wp-load.php' ) ) { include_once TMPABSPATH . 'wp-load.php'; $included = true; break; } } } } // phpcs:enable if ( ! $included ) { exit( 'Unsupported WordPress setup' ); }