[wp-trac] Re: [WordPress Trac] #7372: Plugin update check running
on each pageload is slow
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 31 19:35:00 GMT 2008
#7372: Plugin update check running on each pageload is slow
--------------------------------------+-------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback |
--------------------------------------+-------------------------------------
Comment (by Otto42):
Oops. Fixed diff now attached. It'll have the plugin list if it needs it.
I don't like your idea, ryan, because you're very much limiting where it's
allowed to check. I dislike that a lot. I want it to never, ever, not
check. In your proposal, for example, what if I never visit the dashboard?
Many people don't after all, they just make bookmarks to the part of the
admin they hit the most often.
A cron job is fine, if it can *always* check synchronously as a backup.
Not just on the dashboard, but anywhere. Yes, even when you hit Write
Post. If it's time to check, then it's time to check.
The maybe_check is a good idea and I support it, as long as you hook it to
admin_init instead.
Also, call it "twicedaily" instead of "12hours". I've seen other plugins
and people appending to the cron stuff and they've all used that so far.
--
Ticket URL: <http://trac.wordpress.org/ticket/7372#comment:28>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list