Make WordPress Core

Opened 16 years ago

Closed 15 years 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: Focuses:

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 16 years ago.
15546.patch (1.4 KB ) - added by SergeyBiryukov 15 years ago.

Download all attachments as: .zip

Change History (6)

@nacin
16 years ago

#1 @scribu
16 years ago

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

#2 @nacin
16 years ago

  • Milestone 3.1Future Release

#3 @SergeyBiryukov
15 years ago

  • Milestone Future Release3.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').

#4 @markjaquith
15 years ago

  • Resolutionfixed
  • Status newclosed

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

Last edited 15 years ago by markjaquith (previous) (diff)
Note: See TracTickets for help on using tickets.