[NSFW] After updating the Pugin not works any more
-
hi man after thanking you about this nice plugin
…….
the problem is after update i think you did a few changes like := 2.0.0 (2020-12-16) = * <code>[Removed]</code> Filter <code>webpc_uploads_path</code> * <code>[Removed]</code> Filter <code>webpc_uploads_webp</code> * <code>[Removed]</code> Filter <code>webpc_uploads_dir</code> * <code>[Removed]</code> Filter <code>webpc_uploads_root</code> * <code>[Changed]</code> Error messages in administration panel * <code>[Added]</code> Image loading mode: <code>Pass Thru</code> (without rewrites in .htacces files or Nginx configuration) * <code>[Added]</code> Filter <code>webpc_dir_name</code> to change default directory paths * <code>[Added]</code> Filter <code>webpc_site_root</code> to change path for root installation directory of WordPress * <code>[Added]</code> Filter <code>webpc_site_url</code> to change Site URL of WordPress
and my old settings in founction.php are :
add_filter('webpc_uploads_root', function($path) { return ABSPATH; }); add_filter('webpc_uploads_path', function($path) { return 'site/assets/uploads'; }); add_filter('webpc_uploads_webp', function($path) { return 'site/assets/uploads-webpc'; }); add_filter('webpc_uploads_prefix', function($prefix) { return '/home/'; });
so now my wp-content folder is called site/assests
what i have to do after the new update ?
my website info
website: example.com
wordpress dir : example.com/home
wp-content dir changed to :example.com/home/site/assests
uploads dir is :example.com/home/site/assests/uploads
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[NSFW] After updating the Pugin not works any more’ is closed to new replies.