Day 65: Plugin Update Server

This has been taking a lot longer than I wanted, but I finally got back to the WordPress plugin idea. I go the update server pretty close to be done.

I then started hacking up the plugin itself to tie into the update server. I did get a little lucky. The plugin seems to have be used with a premium service that offers updates and license management.

The code is still in there, but commented out to not be run. In order to get my update server in there, I just had to uncomment out the code, and then update that code.

Since the WordPress plugins follow a standard, there wasn’t much work required. I just needed the call to the remote server to be a call to my server and not the one the plugin was made to work with.

I did find an issue with my implementation that caused the description of the plugin to come back blank. I had my sample plugin enabled that I originally made with the update server, and it was working fine, though.

It took more than I would have liked to figure out that the sample plugin was overwriting all other descriptions, so even though it work, it was breaking the rest. When I disabled that plugin, this one started to work.

It’s unlikely I would have two plugins installed in anyone’s WordPress site, but still, it’s a pretty horrible setup that requires only 1 plugin of mine to be installed otherwise the rest break.

I got that issue figured out and everything was working as expected. Tomorrow, I plan on getting the license server completed and integrated to finally get this product launched.