[wp-trac] Re: [WordPress Trac] #7875: consolidate plugin/theme/core
upgrade/install functions
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 20 12:27:17 GMT 2009
#7875: consolidate plugin/theme/core upgrade/install functions
----------------------------+-----------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: task (blessed) | Status: new
Priority: high | Milestone: 2.8
Component: Administration | Version: 2.7
Severity: major | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
Comment(by DD32):
> but... I thought that update_core, update_plugins, and update_themes
were built around the same idea
Yeah, They are, But when you actually look at what causes each to expire,
and what they actually check from the input, and what parts of the input
need to be passed to the API, etc. It quickly becomes very little common
code.
The HTTP Api and *_transient() takes care of major parts, other than that
its just input selection, error checking, and setting when the update
check is called(cron)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7875#comment:46>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list