WordPress.org

Make WordPress Core

Ticket #37233: plugin-install.patch

File plugin-install.patch, 388 bytes (added by rahulsprajapati, 5 years ago)

plugin install hide button when js is working

  • wp-admin/js/plugin-install.js

    diff --git a/wp-admin/js/plugin-install.js b/wp-admin/js/plugin-install.js
    index 8954766..fdf8a84 100644
    a b jQuery( document ).ready( function( $ ) { 
    199199                                uploadViewToggle.attr( 'aria-expanded', $body.hasClass( 'show-upload-view' ) );
    200200                        });
    201201        }
     202
     203        $( '.plugins-php #search-submit' ).hide();
    202204});