Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15221 closed enhancement (fixed)

Add custom upgrade action to update-core.php

Reported by: ampt Owned by:
Milestone: 3.2 Priority: normal
Severity: minor Version:
Component: Upgrade/Install Keywords: has-patch 3.2-early
Focuses: Cc:


Allow plugins to hook into /wp-admin/update-core.php. This also fixes #14456.

Attachments (2)

update-core.15221 (1.4 KB) - added by ampt 5 years ago.
update-core.15221.patch (1.4 KB) - added by ampt 5 years ago.
add .patch suffix

Download all attachments as: .zip

Change History (10)

5 years ago

#1 @ampt
5 years ago

  • Component changed from General to Upgrade/Install

#2 @ampt
5 years ago

  • Type changed from defect (bug) to enhancement

#3 @ampt
5 years ago

  • Keywords has-patch added
  • Severity changed from normal to minor

#4 @scribu
5 years ago

You should end your patches with .patch or .diff so that syntax highlighting kicks in.

5 years ago

add .patch suffix

#5 @dd32
5 years ago

  • Keywords 3.2-early added
  • Milestone changed from Awaiting Review to Future Release

Looks like a good idea to me.

#6 @dd32
5 years ago

  • Milestone changed from Future Release to 3.2

#7 @dd32
5 years ago

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

(In [17589]) Allow plugins to hook into /wp-admin/update-core.php. Props ampt. Fixes #15221

#8 @dd32
5 years ago

I changed the hook name slightly to fit in alongside the one in update.php

Note: See TracTickets for help on using tickets.