[wp-trac] [WordPress Trac] #34617: Add filter for shiny updates

WordPress Trac noreply at wordpress.org
Sat Nov 7 19:35:33 UTC 2015


#34617: Add filter for shiny updates
-----------------------------+-----------------------------
 Reporter:  afragen          |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 If a plugin that updates via shiny updates isn't hosted in the repo the
 destination and destination names may need to be renamed. This is done via
 whatever updating code a non-dot-org hosted repo uses.

 If plugin updates are done via shiny updates the version info won't be
 found as the $result in {{{ wp_ajax_update_plugin() }}} is looking in a
 destination that has been renamed.

 Adding a filter would allow for other updaters to add the correct data to
 $result

 Use case:
 When using GitHub Updater an update will occur with shiny updates but the
 version info is replaced with an empty string. Adding a filter allows me
 to pass the corrected data to shiny updates.

 I've added a patch but I apologize if I'm not following any specific
 filter naming convention.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34617>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list