wpgenie

Disable Drag and Drop Image Improved Plugin in WP-Admin for iOS Safari

Jul 27th, 2026
32,600
2
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.31 KB | None | 2 0
  1. <?php
  2. /**
  3.  * Plugin Name: Disable Drag and Drop Image Improved Plugin in WP-Admin for iOS Safari
  4.  * this code snippet goes to wp-content/mu-plugins/disable-drag-and-drop.php file
  5.  */
  6.  
  7. define('TARGET_PLUGIN_FILE', 'drag-drop-featured-image-improved/index.php');
  8.  
  9. // Helper function to detect iOS Safari
  10. function is_ios_safari() {
  11.     $user_agent = $_SERVER['HTTP_USER_AGENT'] ?? '';
  12.     $is_ios = (bool) preg_match('/(iPhone|iPod|iPad)/i', $user_agent);
  13.     $is_safari = (bool) preg_match('/Safari/i', $user_agent) && !preg_match('/(CriOS|FxiOS|EdgiOS|OPiOS|GSA)/i', $user_agent);
  14.  
  15.     return $is_ios && $is_safari;
  16. }
  17.  
  18. // 1. FILTER ACTIVE PLUGINS FOR BOTH FRONTEND & WP-ADMIN
  19. add_filter('option_active_plugins', function($plugins) {
  20.     if (is_ios_safari()) {
  21.         $key = array_search(TARGET_PLUGIN_FILE, $plugins);
  22.         if ($key !== false) {
  23.             unset($plugins[$key]);
  24.             $plugins = array_values($plugins); // Re-index
  25.         }
  26.     }
  27.     return $plugins;
  28. });
  29.  
  30. // 2. ADMIN DEBUG MESSAGE (Shows banner at top of WP Admin screen on iOS Safari)
  31. add_action('admin_notices', function() {
  32.     if (is_ios_safari()) {
  33.         echo '<div class="notice notice-warning"><p><strong>MU-Plugin Active:</strong> iOS Safari detected. Target plugin disabled for this session.</p></div>';
  34.     }
  35. });
Advertisement
Comments
  • yiutuyituh
    92 days
    # text 1.03 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1EaaVyJWSr4MWFyCREwVIuc8aE8hOEbCnQ5B31P5tQU0
    4.  
    5. This made me 3,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    11.  
    12.  
    13.  
    14.  
    15.  
    16.  
    17.  
    18.  
    19.  
    20.  
    21.  
    22.  
    23.  
    24.  
    25.  
    26.  
    27.  
    28.  
    29.  
    30.  
    31.  
    32. .
    33.  
    34.  
    35.  
    36.  
    37.  
    38.  
    39.  
    40.  
    41.  
    42.  
    43.  
    44.  
    45.  
    46.  
    47.  
    48.  
    49.  
    50.  
    51.  
    52.  
    53.  
    54.  
    55.  
    56.  
    57.  
    58.  
    59.  
    60.  
    61.  
    62.  
    63.  
    64.  
    65.  
    66.  
    67.  
    68.  
    69.  
    70.  
    71.  
    72. .
    73.  
    74.  
    75.  
    76.  
    77.  
    78.  
    79.  
    80.  
    81.  
    82.  
    83.  
    84.  
    85.  
    86.  
    87.  
    88.  
    89.  
    90.  
    91.  
    92.  
    93.  
    94.  
    95.  
    96.  
    97.  
    98.  
    99.  
    100.  
    101.  
    102.  
    103.  
    104.  
    105.  
    106.  
    107.  
    108.  
    109. .
  • polliocre
    79 days
    # text 0.18 KB | 0 0
    1. Did someone already use this arbitrage trick? I did it yesterday and it worked and I'm already up a few hundred.
    2.  
    3. Check the method here: pastebin.com/MuP7BqCy
    4.  
    5. DM me if you need help
Add Comment
Please, Sign In to add comment