Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11126 closed enhancement (worksforme)

Add filter hook to update_right_now_message

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


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 6 years ago.
simple patch that adds a filter call

Download all attachments as: .zip

Change History (4)

@geraint6 years ago

simple patch that adds a filter call

comment:1 @geraint6 years ago

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

comment:2 @alexdunae6 years ago

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

comment:3 @nacin6 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.