WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 9 months ago

#40006 new enhancement

$response var in comments not an array but an object

Reported by: davidmosterd Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch needs-testing
Focuses: docs Cc:

Description

In the file wp-admin/includes/update.php there is an action do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); . The comments declares $response as an array but its and object containing the plugin data. The list of plugin data also seems somewhat incomplete. But I'm unsure if all fields I see are always present. The property "tested" seems useful to add at least.

Attachments (1)

40006.diff (1.0 KB) - added by davidmosterd 9 months ago.
A Git to SVN patch that I hoped that worked :)

Download all attachments as: .zip

Change History (3)

@davidmosterd
9 months ago

A Git to SVN patch that I hoped that worked :)

#1 @davidmosterd
9 months ago

  • Keywords has-patch added

#2 @johnbillion
9 months ago

  • Component changed from Comments to Upgrade/Install
  • Keywords needs-testing added
  • Version trunk deleted
Note: See TracTickets for help on using tickets.