[wp-trac] Re: [WordPress Trac] #1476: WordPress Update Notification

WordPress Trac wp-trac at lists.automattic.com
Fri May 11 04:13:21 GMT 2007


#1476: WordPress Update Notification
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |        Owner:  rob1n   
     Type:  enhancement     |       Status:  assigned
 Priority:  normal          |    Milestone:  2.3     
Component:  Administration  |      Version:  2.1     
 Severity:  normal          |   Resolution:          
 Keywords:  update upgrade  |  
----------------------------+-----------------------------------------------
Changes (by rob1n):

  * status:  new => assigned

Comment:

 A "script."

  * WP: Load Dashboard, makes AJAX call to rpc.wordpress.org (or whatever).
 Could be run through another local PHP file to cache it in the DB, but I
 don't think it's needed. The request has GET or POST variables (probably
 GET) such as current, which has the current version.
  * RPC: Compare $_GET['current'] with the current version, most likely
 using PHP's version_compare() (if we do the RPC in PHP). If it's fine,
 then return an XML response with <status>0</status> or something. If it's
 not up to date, then <status>1</status> <latest>2.3.1</latest>
 <type>critical/major/minor</type>.
  * WP: Use JS magic to parse the XML response (I know this is doable
 somehow). Based on what's returned, show an i18ned message in the
 Dashboard alerting the user to such, and provide a download link to
 http://wp.org/latest.tar.gz and http://wp.org/latest.zip

 I'll work on this in the next few days.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1476#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list