Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Do we need a scripted page to respond to update checks?

0 votes
It looks like in 1.5 the plugins will need to have a scripted page to receive and compare a current version against a latest version... if that's true, there is a bit of a problem for using github, I think... is the intention that we should have our own page set up somewhere to do the calculations?

I guess I was hoping the calculations could be done on the receiving end, with the plugin maintainers only needing something like an xml or json file with the latest version; wouldn't that be simpler?
Q2A version: 1.5b
asked Dec 16, 2011 in Plugins by NoahY
Can you not host the update check on your own website?

1 Answer

+1 vote
 
Best answer

This will all be documented properly in due course, but there's no need for a script. In the Update Check URI, link to wherever you'll store the latest version of qa-plugin.php (for plugins) or qa-styles.css for themes, or any other page containing the plugin/theme metadata in the same format. Q2A simply compares the Theme Version or Plugin Version values between the local and remote copies to determine whether an update is required.

answered Dec 16, 2011 by gidgreen
selected Dec 16, 2011 by NoahY