WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 5 months ago

#25055 new defect (bug)

Add in_theme_update_message-$themeid action to theme update table.

Reported by: pross Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.6
Component: Themes Keywords: has-patch needs-docs
Focuses: Cc:

Description

Plugins have this action and i think themes used to as well.

This patch gets it working again.

Attachments (2)

theme.patch (670 bytes) - added by pross 8 months ago.
theme.2.patch (679 bytes) - added by pross 8 months ago.
Added $update as 2nd arg

Download all attachments as: .zip

Change History (5)

pross8 months ago

comment:1 SergeyBiryukov8 months ago

  • Component changed from Administration to Themes
  • Milestone changed from Awaiting Review to 3.7
  • Version changed from trunk to 3.6

Plugins have this action and i think themes used to as well.

They still do: tags/3.6/wp-admin/includes/update.php#L283. However, wp_theme_update_row() only runs in network admin.

For consistency with the existing instance, $update should be passed as a second argument.

pross8 months ago

Added $update as 2nd arg

comment:2 nacin7 months ago

  • Keywords needs-docs added
  • Milestone changed from 3.7 to 3.8

comment:3 nacin5 months ago

  • Milestone changed from 3.8 to Future Release

Lots changed here in 3.8. Moving to future pending a new review.

Note: See TracTickets for help on using tickets.