• As many of you know there is a error with Media Uploads. Here is a simple fix:

    1. Go to /your_wp_dir/wp-content/plugins/elegance-modal-box/ and open elegance-modal-admin.php.
    2. Change all <?= to <?php echo AND all <? to <?php.
    3. Save file and close.
    4. Open elegance-modal.php.
    5. Find function em_admin_scripts( $hook_suffix ) { near line 25.
    6. Add after:

    if($hook_suffix !== 'toplevel_page_elegance-modal'){
    	return false;
    }

    PS. As I look into Elegance Modal Box’s code I can see that it is really poorly written. Will try to write something on my own.

    https://www.ads-software.com/plugins/elegance-modal-box/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Perfect. Thank you

    sethbutler

    (@sethbutler)

    Hello Simivar,

    This worked like a charm! Thank you so much for the bug fix to fix the media uploads error.

    Do you think the fix will be adapted in the next plugin software update release?

    Cheers
    Seth

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HOW TO FIX Media Uploads error’ is closed to new replies.