wordpress-add-media-button-fix

WordPress Fix – Add Media Button Not Working


Hello everyone and this is a fix for a common issue in WordPress 3.5.

WordPress Fix – Add Media Button Not Working

Basically you’ve just updated your install of WordPress and bang! The Add Media button doesn’t work!  What to do?
Never fear, Carnfield is here – with a fix!

Basically you need to open your “wp-config.php” file in the root of your WordPress Install.
Search for this line:

require_once(ABSPATH . 'wp-settings.php');

And just before it add this code:

define('CONCATENATE_SCRIPTS', false );

Now your WordPress Install should be fixed!

29 Responses to “WordPress Fix – Add Media Button Not Working”

  1. Rob

    Thanks a lot for this fix, it worked. I used WP 3.5 for an entire month and the issue just decided to come out of nowhere this afternoon.

    What exactly does that line do, though? I noticed that my WYS pages all load slower, but I don’t see any other downside that’s come from this.

    Reply
  2. Petra

    Thanks so much for this tip to solve this problem. I’m not so technical (yet :-)). Can you please tell me where I can find:
    Basically you need to open your “wp-config.php” file in the root of your WordPress Install.

    I have a theme installed, i don’t know if that gives additional ‘problems’.

    Thanks again for your feedback!

    Reply
  3. Petra

    Thanks for your solution to the problem.. I’m not so technical (yet). Can you explain to me where i can find:
    Basically you need to open your “wp-config.php” file in the root of your WordPress Install.

    Thanks for the effort and reply!

    Reply
    • Web Design

      Hello Petra, you would need FTP access for this, if you try updating wordpress to a newer version it might work without this hack.

      Reply
  4. KellyAZ

    Thanks! This worked for me! No help from the WordPress forums. Can you add a note explaining why this was necessary and how it fixes the problem?

    Thanks again!
    Kelly

    Reply
  5. Tomislav

    Worked for me, but I would really like to know what did this part of code: “define(‘CONCATENATE_SCRIPTS’, false );” really do ?
    Thanks.

    Reply
  6. Royce

    Thanks for this fix, it worked! I hope it remains fixed… the WordPress support forums were totally useless. As others have also asked, if you could explain what is inherently wrong with WP3.5.1 that this fix is necessary and what the fix does, we’d appreciate it! Just trying to understand.

    Reply
    • Web Design

      Its to do with the Theme / Plugins that you are using and scripts in easy to understand terms :)

      Reply

Leave a Reply