开发者 |
erolsk8
simonkane |
---|---|
更新时间 | 2024年7月30日 04:21 |
捐献地址: | 去捐款 |
PHP版本: | 7.1 及以上 |
WordPress版本: | 6.6.1 |
版权: | GPLv2+ |
版权网址: | 版权信息 |
uploads
directory to determine which ones are present in the Media Library and which ones are just sitting there unused. You can then choose the files you want to import into the database, thereby including them in the Media Library.
Moreover, you can utilize FTP to upload files directly to the uploads
directory and subsequently add these files to the Media Library avoiding any file size limitations.
Disclaimers
media-sync
directory to the /wp-content/plugins/
directoryPlease try to increase max_execution_time
(and/or memory_limit
) in php.ini
on server (as described here).
Please make sure "Dry Run" option is NOT checked. This is a safety mechanism to make sure you know what you're doing, so be careful, try it first with just one file.
Please first try to turn on debugging in Settings -> Media Sync and check Network tab in Chrome DevTools to see what is going on in the background. Then report actual errors since it's hard to help without knowing the error which is causing the problem.
post_title
and guid
in attachment datawp_insert_attachment
functionmedia_sync_filter_is_scan_object_ignored
hook._msc
record in wp_postmeta
table to be able to differentiate files imported using this plugin. Could be useful to clean up the database later on.html
which is rendered directly in UI.media_sync_filter_before_update_metadata
) which can be used to customize how metadata is updated or to run additional actions after file import.media_sync_filter_is_scan_object_ignored
hook function\
) to forward slashes (/
) to fix various issues when using Windows Server.\
) vs forward slash (/
) fix for use on Windows Server.media_sync_filter_is_scan_object_ignored
which can be used to overwrite which files are ignored by default or to just skip additional files.update_plugins
to import