這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Relocate Upload

外掛說明

Relocate Upload lets you specify folders, and adds a menu to the Media Library (and Edit Media admin page) that lets you switch media items between these folders and WPs default upload location.

Known Issues

When creating new folders,

螢幕擷圖

  • A simple menu switches media assets to your favourite locations. All through the magic of AJAX.
  • A simple settings page to define the folder locations.

安裝方式

  1. Upload the whole ‘relocate-upload’ folder to the plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Specify your folders in the settings page.

常見問題集

Why? What’s the point of these other folders?

Most servers are set up so that assets can only be used when referred from your own site – to stop bandwidth leeching. However folders can be set aside that don’t obey this rule – e.g. for placing images on other sites, downloading mp3s from RSS feeds and so on.

使用者評論

2020 年 11 月 12 日
you must change in plugin line 348: return preg_replace( '#(http://.*?/)[.]*?' . SERVER_DOC_ROOT . '#', $protocol . $host . '/' , $url ); in: return preg_replace( '#(https://.*?/)[.]*?' . SERVER_DOC_ROOT . '#', $protocol . $host . '/' , $url ); Because with http doesnt work. Thank you! I like the plugin very much!
2017 年 1 月 7 日
I was hesitant to use a plugin with so few active installs and not the greatest review rating, but this is exactly what I needed. It took me a little to figure out how it works. Just a note, sometimes when I first upload something it will appear to be in the folder I want, but it is actually in the default location. I have found that I just need to move it to the default location (it will fail, because that is where it already is) and them move it to the correct folder and it will be in the right spot. Give yourself time to experiment and play with this plugin and you will find out that it works!
2016 年 10 月 21 日
I received an error message: “FAIL: Unknown error occurred.”
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Relocate Upload〉的開發相關工作。

參與者

將〈Relocate Upload〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.24.1 – Tested compatibility up to WordPress Version 4.7
Added code changes thanks to Ciprian Tepes which included fixing a path issue and making it work with multisite.

0.24 – Tested compatibility up to WordPress Version 4.2.4
Fixed several path issues.
Added generic “FAIL” message instead of not reporting anything.
Create folder using WordPress “wp_mkdir_p” function and should set permissions too.

0.23 – Added drag-n-drop to reorder folders.
Changed root folder variable to WP constant ABSPATH.
* This MAY affect your folder locations – BE SURE TO CHECK THEM!
Formatted source code to be inline with WordPress standards

0.22 – Plugin officially taken over by Tim Berneman (tberneman).
Fixed problem where “remove location” button was not showing up.
* Created “images” folder and put “xit.gif” in it.
* Does NOT delete the folder or any files in it.
Folder is created if it doesn’t exist when adding new location.

0.21 – Fixed problem where folder dropdown was not showing in Media edit screen on newer versions of WordPress.

0.20 – Adopted proper ‘wp_ajax_’ action, to close off a major security issue.

0.14 – Many small fixes (check for existing files, database prefix bug fix, jquery enqueue, 2.8 media library update, path ‘fixing’).

0.11 – First tiny bug fix (no thumbnails caused an error).

0.10 – Just starting out, something to get it working.