jeremyclark13 / automatic-theme-plugin-update

Self hosted plugin and theme update scripts
http://clark-technet.com/2010/12/wordpress-self-hosted-plugin-update-api
548 stars 147 forks source link

Multisite $checked_data->checked[$pluginname] empty #28

Open Stefan39 opened 11 years ago

Stefan39 commented 11 years ago

I don't know why, but on a multisite installation a plugin (activate not networkwide, only on a blog into the multisite) the update-check-object $checked_data is everytime empty.

if i make: var_dump($checked_data)

the result is: object(stdClass)#4568 (1) { ["last_checked"]=> int(1378304830) }

What's going wrong here?

jeremyclark13 commented 11 years ago

Is the testing code still enabled. If it is it will cause the object to be empty every page load.

Stefan39 commented 11 years ago

Ok, but if i test it before on a single wordpress install (without multisite) it will show me my plugin to update it. On multisite comes nothing. I don't know whats going wrong here.

jeremyclark13 commented 11 years ago

I can't remember but I think unless the plugin is network activated the update code isn't ran. I'll have to double check this.

Stefan39 commented 11 years ago

I have activate the Plugin into a Multisite on one blog only (not networkwide and not into the other blogs) and i have tested again now.. nothing message comes for the plugin ;(

Stefan39 commented 11 years ago

Ok, i can confirm now, that's the Script will work too into multiblog, but sometimes there need more than one day as normal blog-install (on 2nd day the update-notice comes). So i think, this issue can closed ;)