Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 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)

@ampt5 years ago

comment:1 @ampt5 years ago

  • Component changed from General to Upgrade/Install

comment:2 @ampt5 years ago

  • Type changed from defect (bug) to enhancement

comment:3 @ampt5 years ago

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

comment:4 @scribu5 years ago

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

@ampt5 years ago

add .patch suffix

comment:5 @dd325 years ago

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

Looks like a good idea to me.

comment:6 @dd324 years ago

  • Milestone changed from Future Release to 3.2

comment:7 @dd324 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

comment:8 @dd324 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.