Make WordPress Core

Opened 8 years ago

Closed 7 years ago

Last modified 7 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 8 years ago.
update-core.15221.patch (1.4 KB) - added by ampt 8 years ago.
add .patch suffix

Download all attachments as: .zip

Change History (10)

8 years ago

#1 @ampt
8 years ago

  • Component changed from General to Upgrade/Install

#2 @ampt
8 years ago

  • Type changed from defect (bug) to enhancement

#3 @ampt
8 years ago

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

#4 @scribu
8 years ago

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

8 years ago

add .patch suffix

#5 @dd32
7 years ago

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

Looks like a good idea to me.

#6 @dd32
7 years ago

  • Milestone changed from Future Release to 3.2

#7 @dd32
7 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
7 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.