Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#11126 closed enhancement (worksforme)

Add filter hook to update_right_now_message

Reported by: geraint's profile geraint Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:

Description

Hi I'd like a filter to be added to the core function update_right_now_message()

Problem: Currently I'm managing/maintaining several sites via svn, which can be broken by users hitting the update now button and using the automatic update.

Both, the top update nag and the footer nag are added via filter/action so its easy to overload the message in a plug-in, however the nag in the right-now widget is included directly.

Solution: By adding a filter to the update_right_now_message()
function the rightnow message will be accessible to plugins site administrators without having to hack the core.

Attachments (1)

11126.patch (684 bytes) - added by geraint 15 years ago.
simple patch that adds a filter call

Download all attachments as: .zip

Change History (4)

@geraint
15 years ago

simple patch that adds a filter call

#1 @geraint
15 years ago

  • Cc geraint added
  • Keywords has-patch added; update rightnow filter removed

#2 @alexdunae
15 years ago

You might want to look into the Disable WordPress Core Update plugin.

#3 @nacin
14 years ago

  • Milestone Unassigned deleted
  • Resolution set to worksforme
  • Status changed from new to closed

You can simply remove the capability update_core. Think that one might be new in 3.0.

Note: See TracTickets for help on using tickets.