Make WordPress Core


Ignore:
Timestamp:
02/05/2015 04:18:57 AM (11 years ago)
Author:
pento
Message:

Shiny Updates: Add ajax-y updates to the plugin list page, and ajax-y updates and installs to the plugin card page.

This also includes JS architecture that can be expanded to support theme, core and language pack updates.

Props pento, ericlewis, lgladdy, adamsilverstein, DrewAPicture

See #29820

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r31200 r31333  
    2323// Clean up request URI from temporary args for screen options/paging uri's to work as expected.
    2424$_SERVER['REQUEST_URI'] = remove_query_arg(array('error', 'deleted', 'activate', 'activate-multi', 'deactivate', 'deactivate-multi', '_error_nonce'), $_SERVER['REQUEST_URI']);
     25
     26wp_enqueue_script( 'updates' );
    2527
    2628if ( $action ) {
     
    461463</form>
    462464
    463 <form method="post">
     465<form method="post" id="bulk-action-form">
    464466
    465467<input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" />
Note: See TracChangeset for help on using the changeset viewer.