Enable Drag and Drop on Adding Plugin Upload

Mô tả

A WordPress plugin that adds drag and drop capabilities to the plugin upload form on /wp-admin/plugin-install.php.

Features:

  • Drag and drop ZIP files directly onto the upload form
  • Visual feedback during drag operations
  • Click-to-browse functionality on the drop zone
  • Automatic file validation (ZIP files only)
  • Success/error messages for user feedback
  • Smooth animations and transitions

How It Works:

The plug-in:
* Only loads on the plug-in install page (plugin-install.php)
* Adds a visual drop zone below the upload form
* Handles drag and drop events
* Validates dropped files (must be ZIP files)
* Automatically populates the file input when a file is dropped
* Provides visual feedback during drag operations

Browser Support:

Works in all modern browsers that support the HTML5 Drag and Drop API:
* Chrome
* Firefox
* Safari
* Edge

Ảnh màn hình

  • Drag and drop interface on the plug-in upload page

Cài đặt

  1. Upload the plug-in folder to /wp-content/plugins/
  2. Activate the plug-in through the ‘Plug-ins’ menu in WordPress
  3. Navigate to Plug-ins > Add New > Upload Plug-in
  4. Drag and drop a plug-in ZIP file onto the form

Hỏi đáp

What browsers are supported?

This plug-in works in all modern browsers that support the HTML5 Drag and Drop API, including Chrome, Firefox, Safari, and Edge.

What file types can I drag and drop?

Only ZIP files are supported. The plug-in automatically validates that dropped files are ZIP archives.

Where does this plug-in work?

The drag and drop functionality only appears on the plug-in upload page (/wp-admin/plugin-install.php).

Đánh giá

26 Tháng 2, 2026
Very great for my caffeine-addled brain. I always lose track of my plugin uploads after the third or fourth file selection dialog screen. Drag and drop has (so far) reduced my repeat-uploads and missed-uploads counts to zero on new sites I’ve spun up.
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Enable Drag and Drop on Adding Plugin Upload” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.0

  • Initial release
  • Added drag and drop functionality to plug-in upload form
  • Visual feedback during drag operations
  • Automatic file validation for ZIP files
  • Click-to-browse functionality on drop zone