WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #31530, comment 1


Ignore:
Timestamp:
03/05/2015 06:54:48 PM (6 years ago)
Author:
stephdau
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31530, comment 1

    v2 v3  
    77Other small difference: the `themes_api()` definition is in [source:/trunk/src/wp-admin/includes/theme.php theme.php], not [source:/trunk/src/wp-admin/includes/theme-install.php theme-install.php] and unlike `plugins_api()`, which lives in [source:/trunk/src/wp-admin/includes/plugin-install.php plugin-install.php].
    88
    9 I haven't looked into the details of the `wp_ajax_update_plugin` (aka #31529), but since it also uses code that has a theme equivalent (updates transient, `Plugin_Upgrader` vs `Theme_Upgrader`), the same is quite likely.
     9I haven't looked into the details of the `wp_ajax_update_plugin()` (aka #31529), but since it also uses code that has a theme equivalent (updates transient, `Plugin_Upgrader` vs `Theme_Upgrader`), the same is quite likely.
    1010
    1111Any thoughts on: