WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 21 months ago

#15546 closed defect (bug) (fixed)

Bailing too early hides the version number in wp-admin

Reported by: nacin Owned by:
Priority: normal Milestone: 3.3
Component: Multisite Version: 3.0
Severity: normal Keywords: has-patch commit
Cc:

Description

When running multisite, we decline to show the version number in the footer and in the right now box.

In both situations, we should still show the text -- current_user_can('update_core') is designed to whether they also get an update nag, and that should apply to multisite, too.

This is a MU-era vestige I'm strongly inclined to end. (Both functions returned false if not is_site_admin().)

Attachments (2)

15546.diff (779 bytes) - added by nacin 3 years ago.
15546.patch (1.4 KB) - added by SergeyBiryukov 22 months ago.

Download all attachments as: .zip

Change History (6)

nacin3 years ago

comment:1 scribu3 years ago

I'm wondering, should non-super-admins ever see the current version at all?

comment:2 nacin3 years ago

  • Milestone changed from 3.1 to Future Release

SergeyBiryukov22 months ago

comment:3 SergeyBiryukov22 months ago

  • Milestone changed from Future Release to 3.3

Refreshed for 3.3. Change logic in update_right_now_message() to only call get_preferred_from_update_core() if current_user_can('update_core').

comment:4 markjaquith21 months ago

  • Resolution set to fixed
  • Status changed from new to closed

More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15546

Version 0, edited 21 months ago by markjaquith (next)
Note: See TracTickets for help on using tickets.