Opened 6 years ago
Closed 6 years ago
#4869 closed defect (bug) (fixed)
Core update notification is displayed for all user levels
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.3 |
| Severity: | normal | Keywords: | dev-reviewed |
| Cc: |
Description
Every user of the admin panel sees the core update notification if there is an update available. It should only be displayed to users who have a sufficient capability. Not quite sure what though, maybe switch_themes?
Attachments (3)
Change History (11)
johnbillion — 6 years ago
comment:1
johnbillion — 6 years ago
Patch to only display core update notification to users with the switch_themes capability.
comment:2
johnbillion — 6 years ago
Patch for footer too. Just display the version number.
comment:3
Viper007Bond — 6 years ago
manage_options is another option.
comment:4
follow-up:
↓ 6
markjaquith — 6 years ago
What if the administrator infrequently logs in? Authors who don't have FTP/SSH access could tell the administrator of the message, hastening the upgrade. We could to the manage_options test and to unpriv'd users say "Please notify the site administrator"
comment:5
foolswisdom — 6 years ago
- Milestone set to 2.3
- Priority changed from high to normal
johnbillion — 6 years ago
Replaces 2 previous patches, Check for manage_options capability, advise unpriv'd users to notify site admin, fix indentation
comment:6
in reply to:
↑ 4
johnbillion — 6 years ago
Replying to markjaquith:
Excellent point Mark. Patch refreshed.
comment:8
markjaquith — 6 years ago
- Resolution set to fixed
- Status changed from new to closed

Only display core update notification to users with the switch_themes capability