[wp-trac] [WordPress Trac] #4230: Change update-links to be wp-cron compatible

WordPress Trac wp-trac at lists.automattic.com
Mon May 7 17:08:58 GMT 2007


#4230: Change update-links to be wp-cron compatible
--------------------------+-------------------------------------------------
 Reporter:  Otto42        |       Owner:  anonymous
     Type:  enhancement   |      Status:  new      
 Priority:  low           |   Milestone:  2.4      
Component:  Optimization  |     Version:           
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 update-links.php is a file that does little other than to update the links
 link_updated times using pingomatic when it's called. However, there's
 nothing in Wordpress to run it at all. The trigger has to be external.

 With the addition of wp-cron to the 2.1 line, the update-links.php file
 should be wrapped in a function with an action hook and included into the
 main source, so that wp-cron can trigger it on some basis.

 Further suggestion: Rig the "track link update times" checkbox on
 Options->Misc to activate and deactivate this wp-cron job as needed. The
 checking timer can be set to, say, 1-2 hours or so. Add a filter to the
 timer so that it can be easily modified if needed. Or make it an option or
 something.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4230>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list