Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter htmltiger

    (@htmltiger)

    Never mind, I have fixed it by editing the following block

    { if ( strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media.php”)===false )

    and replace it with

    { if ( strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/post-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/post.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media.php”)===false )

    It works. Thanks a lot!

    that worked, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress 3.5 update broken it’ is closed to new replies.