WordPress.org

Ready to get started?Download WordPress

Forums

Relocate Upload
[resolved] WordPress 3.5 update broken it (4 posts)

  1. htmltiger
    Member
    Posted 1 year ago #

    Please fix it as the new update to the wordpress 3.5 has changed something in there so version 0.20 it no longer relocates.

    Thanks

    http://wordpress.org/extend/plugins/relocate-upload/

  2. htmltiger
    Member
    Posted 1 year ago #

    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 )

  3. frivolio
    Member
    Posted 1 year ago #

    It works. Thanks a lot!

  4. kristinachilds
    Member
    Posted 1 year ago #

    that worked, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.