#5928 closed defect (bug) (wontfix)
Version Check takes place on Init, Use admin_init instead?
| Reported by: | DD32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
At present the WordPress version update takes place on the init hook.
While i know its not a regularly called check, It makes more sense for it to only be run when a user is actually IN the admin area to see the latest updates.
Attachments (1)
Change History (7)
#2
follow-up:
↓ 6
@
19 years ago
- Resolution fixed
- Status closed → reopened
This should be reverted, it was done so when an update was found we could do something like email the admin.
#6
in reply to: ↑ 2
@
19 years ago
Replying to matt:
it was done so when an update was found we could do something like email the admin.
Thats fair enough.
Perhaps a hook should be added so that plugins can hook into that instead then. (if thats done, make sure it hooks into init with a late priority, so that plugins that register on the init action can hook) - just food for thought.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6921]) Do version check on admin_init. Props DD32. fixes #5928