I have tried to build own update api, with quite good success. Now I have run a problem. When I add more than one plugin, only one of them gets plugin information correctly. So only one plugin says "Compatibility with WordPress 3.9.2: 100% (according to its author)" in update and other says "Compatibility with WordPress 3.9.2: Unknown" And same goes with plugin information, only one shows tabs and contents when I click "View version details".
Each plugin has same code, expect name of functions are changed according to plugin name. The code I use can be found here: http://pastebin.com/J0ha3kXg
I have followed few tutorials (like this one http://wordpress.stackexchange.com/questions/64148/creating-a-theme-update-notification-api) and everything seem to work to point till I have two or more plugin installed on same site and they want to update.
If I change priority in add_filter( 'plugins_api', 'test_api_call', 10, 3 );
the plugin which have highest number gets its information correctly, others won't. But still when I print out results, every plugin prints its own information, so why WP doesn't show details correctly even plugins get responses correctly?
Other weird thing is that the plugin that shows its information correctly gets other plugins information in first function result, then rest will get every plugin below it and last one gets only its own information.
*Edit
Update still works, so plugins will update correctly, even they don't get version information. So only problem is that change log etc. doesn't show.